D-Link DWS-1008 CLI Manual 158
show ip dns
Displays the DNS servers the switch is configured to use.
Syntax: show ip dns
Defaults: None.
Access: All.
Examples: The following command displays the DNS information:
DWS-1008# show ip dns
Domain Name: example.com
DNS Status: enabled
IP Address Type
-------------------------------------
10.1.1.1 PRIMARY
10.1.1.2 SECONDARY
10.1.2.1 SECONDARY
The table below describes the fields in this display.
Field Description
Domain Name Default domain name configured on the switch
DNS Status Status of the switch’s DNS client:
• Enabled
• Disabled
IP Address IP address of the DNS server
Type Server type:
• PRIMARY
• SECONDARY
See Also:
• clear ip dns domain
• clear ip dns server
• set ip dns
• set ip dns domain
• set ip dns server