Domain Name Service (DNS):
Domain Name Service (DNS) resolves hostnames.
If you have a DNS server on your network, you need to add a few commands to make DNS name resolution work:
=> The first command is ip domain-lookup, which is turned on by default. It needs to be entered only if you previously turned it off (with the no ip domain-lookup command). The command can be used without the hyphen as well (ip domain lookup).
=> The second command is ip name-server. This sets the IP address of the DNS server. You can enter the IP addresses of up to six servers.
=> The last command is ip domain-name. Although this command is optional, it really should be set. It appends the domain name to the hostname you type in. Since DNS uses a fully qualified domain name (FQDN) system, you must have a full DNS name, in the form domain.com.
Domain Name Service (DNS) resolves hostnames.
If you have a DNS server on your network, you need to add a few commands to make DNS name resolution work:
=> The first command is ip domain-lookup, which is turned on by default. It needs to be entered only if you previously turned it off (with the no ip domain-lookup command). The command can be used without the hyphen as well (ip domain lookup).
=> The second command is ip name-server. This sets the IP address of the DNS server. You can enter the IP addresses of up to six servers.
=> The last command is ip domain-name. Although this command is optional, it really should be set. It appends the domain name to the hostname you type in. Since DNS uses a fully qualified domain name (FQDN) system, you must have a full DNS name, in the form domain.com.
No comments:
Post a Comment