For DHCP clients, the DNS server‘s IP address maps the hostname to an IP address. DHCP clients use the DNS server‘s IP address based on the order (sequence) configured.
dns-server [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}
dns-server [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}
[<IP>|<HOST-ALIAS -NAME>] |
Configures the primary DNS server, using one of the following options:
Note: A maximum of 8 DNS server‘s can be configured.
To enable redirection of DNS queries to OpenDNS it is necessary that the
DNS server IP addresses provided here should point to the OpenDNS
resolver (208.67.220.220 or 208.67.222.222). OpenDNS is a proxy DNS
server that provides additional functionality, such as Web filtering,
reporting, and performance enhancements in addition to DNS services. When
configured on a WLAN, DNS queries from wireless clients are redirected to
OpenDNS. The following example illustrates the
configuration:
dhcp-server-policy dhcppolicy dhcp-pool dhcppool network 192.168.1.0/24 address range 192.168.1.160 192.168.1.200 default-router 192.168.1.105 dns-server 208.67.220.220 Note, the above example shows the OpenDNS server as being 208.67.2202.220. The alternative IP address 208.67.222.222 can also be used. For more information on the entire configuration that needs to be done to integrate WiNG access point, controllers, and service platform with OpenDNS , see opendns. |
{<IP1>|<HOST-ALIAS- NAME1>} |
Optional. Configures the secondary DNS server, using one of the following options:
Note: A
network host alias maps a name to a single network
host. For example, ‘alias host $HOST 1.1.1.100‘. In
this example the host alias is ‘$HOST‘ and it maps to
a single host ‘1.1.1.100‘. For more information, see
alias.
|
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#dns-server 192.168.13.19
nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#show context dhcp-pool testPool address 192.168.13.4 class dhcpclass1 ddns server 192.168.13.9 ddns domainname WID ddns multiple-user-class bootfile test.txt default-router 192.168.13.8 192.168.13.9 dns-server 192.168.13.19 nx9500-6C8809(config-dhcp-policy-test-pool-testPool)#
no |
Removes DNS server settings |