Configuring DNS Proxy

Use the following sample configuration to configure the DNS Proxy feature for SMF.

config 
   profile dns-proxy 
      cache-ttl dns_response_ttl_value 
      query-type { ipv4v6 | ipv4 | ipv6 } 
      randomize-answers 
      round-robin-answers 
      servers dns_server_name 
         ip server_ip_address 
         port server_port 
         priority server_priority 
         protocol { tcp | udp } 
      timeout dns_timeout_value 
      commit 

NOTES:

  • profile dns-proxy : Enter the DNS Proxy Configuration mode.

  • cache-ttl dns_response_ttl_value : Specify the TTL value of DNS responses in cache, in seconds. dns_response_ttl_value must be an integer in the range of 60-86400.

  • query-type : Specify the DNS query type.

  • randomize-answers : Enable DNS for fetching addresses by the randomized selection method.

  • round-robin-answers : Enable DNS for fetching addresses by the round-robin selection method.

  • servers dns_server_name : Specify the name of the DNS server. For example, serv1.

    • ip server_ip_address : Specify the IP address of the DNS server.

    • port server_port : Specify the port of the DNS server.

      server_port must be an integer in the range of 1-65535.

    • priority server_priority : Specify the priority of the DNS server.

      server_priority must be an integer in the range of 1-100.

    • protocol : Specify the protocol type for the DNS server as TCP or UDP.

  • timeout dns_timeout_value : Specify the DNS timeout value, in milliseconds.

    dns_timeout_value must be an integer.

  • commit : Saves the configuration.