C613-50170-01 Rev B
Command Reference for x510 Series
826
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
D
OMAIN
N
AME
S
ERVICE
(DNS) C
OMMANDS
IP
DOMAIN
-
LOOKUP
ip domain-lookup
Overview
This command enables the DNS client on your device. This allows you to use
domain names instead of IP addresses in commands. The DNS client resolves the
domain name into an IP address by sending a DNS inquiry to a DNS server,
specified with the
The
no
variant of this command disables the DNS client. The client will not attempt
to resolve domain names. You must use IP addresses to specify hosts in
commands.
Syntax
ip domain-lookup
no ip domain-lookup
Mode
Global Configuration
Usage
The client is enabled by default. However, it does not attempt DNS inquiries unless
there is a DNS server configured.
If you are using DNS Relay (see the command
), you must have IP
domain lookup enabled.
Examples
To enable the DNS client on your device, use the following commands:
awplus#
configure terminal
awplus(config)#
ip domain-lookup
To disable the DNS client on your device, use the following commands:
awplus#
configure terminal
awplus(config)#
no ip domain-lookup
Related
Commands