C613-50631-01 Rev A Command Reference for IE340 Series 938
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
DOMAIN NAME SERVICE (DNS) COMMANDS
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 ip name-server command.
It is possible to configure the DNS client to use the DNS relay to resolve domain
lookups originating from the device itself. This configuration may be preferred, as
the DNS relay provides additional functionality that is not available in the DNS
client, such as caching, a configurable timeout length, and other options.
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 [via-relay]
no ip domain-lookup
Mode Global Configuration
Usage notes The client is enabled by default. However, it does not attempt DNS inquiries unless
there is a DNS server configured.
Examples To enable the DNS client on your device, use the following commands:
awplus# configure terminal
awplus(config)# ip domain-lookup
To configure the DNS client to perform resolution via the DNS relay, use the
following commands:
awplus# configure terminal
awplus(config)# ip domain-lookup via-relay
awplus(config)# ip dns forwarding
To disable the DNS client on your device, use the following commands:
awplus# configure terminal
awplus(config)# no ip domain-lookup
Parameter Description
via-relay Perform resolution via DNS relay