profile dns-proxy servers

Configures DNS server parameters.

Command Mode

Exec > Global Configuration (config) > DNS Proxy Configuration (config-dns-proxy)

Syntax

servers dns_server_name [ ip dns_server_ip_address | port dns_server_port_number | priority dns_server_priority | protocol dns_server_protocol ] 

ip dns_server_ip_address

Specify the IP address of the DNS server.

Must be a string in the ipv4-address pattern. For information on the ipv4-address pattern, see the Input Pattern Types chapter.

-Or-

Must be a string in the ipv6-address pattern. For information on the ipv6-address pattern, see the Input Pattern Types chapter.

port dns_server_port_number

Specify the port number of the DNS server.

Must be an integer in the range of 1-65535.

priority dns_server_priority

Specify the priority for the DNS server.

Must be an integer in the range of 1-100.

protocol dns_server_protocol

Specify the protocol type for the DNS server.

Must be one of the following:

  • tcp

  • udp

Default Value: tcp.

servers dns_server_name

Specify the name of the DNS server.

Must be a string.

Usage Guidelines

Use this command to configure the DNS server parameters.