Configuring DNS Proxy in SMF

Use the following configuration to configure the DNS proxy feature for SMF.


configure 
   profile dns-proxy 
      timeout integer 
      query-type { ipv4v6 | ipv4 | ipv6 } 
      servers string  
      ip string  
      port integer 
      priority integer 
      protocol { tcp | udp } 
      commit 

NOTES:

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

  • timeout integer : Specifies the client timeout value.

  • query-type : Specifies the DNS query type.

  • servers string : Specifies the name of the DNS server. For example, serv1.

  • ip string : Specifies the IP address of the DNS server.

  • port integer : Specifies the priority of the DNS server.

  • protocol : Specifies the protocol of the DNS server.

  • commit : Saves the configuration.

The following is an example configuration where two DNS servers, serv1 and serv2, are configured:


show running-config profile dns-proxy profile1 
   query-type ipv4  
   timeout 5 
   servers serv1  
   ip 10.105.227.227 
   port 53  
   protocol tcp 
   priority 1 
   exit 
      servers serv2  
      ip 10.105.227.228  
      port 20  
      protocol udp  
      priority 2  
      exit 
exit