F3215-HP Load Balancing Module Network Management Command Reference-6PW101

141
undo dns server [ ip-address ]
In interface view:
dns server ip-address
undo dns server ip-address
Default
No DNS server is specified.
Views
System view, interface view
Default command level
2: System level
Parameters
ip-address: IPv4 address of the DNS server.
Usage guidelines
You can configure a maximum of six DNS servers, including those with IPv6 addresses, in system view,
and a maximum of six DNS servers on all interfaces of a device.
A DNS server configured in system view has a higher priority than one configured in interface view. A
DNS server configured earlier has a higher priority than one configured later in the same view. A DNS
server manually configured has a higher priority than one dynamically obtained through DHCP.
Executing the undo dns server command in system view removes all DNS servers configured in system
view and interface view. Executing the undo dns server ip-address command in system view or interface
view removes the specified DNS server in system view or interface view.
Examples
# Specify the DNS server 172.16.1.1 in system view.
<Sysname> system-view
[Sysname] dns server 172.16.1.1
Related commands
display dns server
dns source-interface
Use dns source-interface to specify the source interface for DNS packets.
Use undo dns source-interface to restore the default.
Syntax
dns source-interface interface-type interface-number
undo dns source-interface
Default
No source interface for DNS packets is specified. The device uses the primary IP address of the output
interface of the matching route as the source IP address of a DNS request.
Views
System view