User Manual

Chapter 5
IPv4/IPv6 common setting
5.1 DNS client
5.1.1 Set DNS lookup function
[Syntax]
ip domain-lookup
no ip domain-lookup
[Initial value]
ip domain-lookup
[Input mode]
global configuration mode
[Description]
Enables the DNS lookup function.
If this command is executed with the "no" syntax, the function is disabled.
[Note]
When the no ip domain-lookup command is executed, it disables only the settings of the ip domain-name, ip domain-list,
and ip name-server commands; it does not disable the list of found domains obtained from the DHCP server by the ip address
dhcp command, or the DNS server IP address.
[Example]
Enable the DNS lookup function.
SWP1(config)#ip domain-lookup
5.1.2 Set default domain name
[Syntax]
ip domain-name name
no ip domain-name name
[Parameter]
name : Domain name (maximum 255 characters)
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Specifies the default domain name used for DNS queries.
If this command is executed with the "no" syntax, the default domain name is deleted.
[Note]
If the ip address dhcp command was used to obtain the default domain name from the DHCP server, the setting of this
command takes priority.
[Example]
Set the default domain name to "example.com".
SWP1(config)#ip domain-name example.com
5.1.3 Show default domain name
[Syntax]
show ip domain-name
Command Reference | IPv4/IPv6 common setting | 55