Module 4 - DNS
Module 4 - DNS
Computer names
A host name is a user-friendly name that is associated with a host’s IP address and identifies it as a
TCP/IP host.
A host name can be no more than 255 characters in length, and must contain only alphanumeric
characters, periods, and hyphens.
A host name is an alias or a fully qualified domain name (FQDN).
Note: An alias is a single name associated with an IP address, and
the host name combines an alias with a domain name to create the FQDN.
The elements of the name include periods as separators.
Applications use the structured FQDN on the Internet.
An example of an FQDN is payroll.contoso.com.
A NetBIOS name is a nonhierarchical name that some older apps use.
A 16-character NetBIOS name identifies a NetBIOS resource on a network.
A NetBIOS name represents a single computer or a group of computers.
NetBIOS uses the first 15 characters for a specific computer’s name and the final sixteenth character
to identify a resource or service on that computer.
An example of a NetBIOS name is NYC-SVR2[20h].
Overview of DNS
o DNS is a service that manages the resolution of host names to IP addresses.
o Microsoft provides a DNS Server role on Windows Server 2012 R2 that you can use to
resolve host names in your organization.
o Typically, you will deploy multiple DNS servers in your organization to help improve both
the performance and the reliability of name resolution.
o Note: The Internet uses a single DNS namespace with multiple root servers.
o To participate in the Internet DNS namespace, you must register a domain name with a
DNS registrar.
o This ensures that no two organizations attempt to use the same domain name.
Structure of DNS
o The DNS namespace consists of a hierarchy of domains and subdomains. A DNS zone is a
specific portion of that namespace that resides on a DNS server in a zone file. DNS uses
both forward and reverse lookup zones to satisfy name resolution requests.
Note: Alternately, you can use the Windows PowerShell cmdlet Clear-DnsClientCache.
2. Attempt to verify connectivity to a remote host by using its IP address. This helps you
identify whether the issue is due to name resolution. You can use the Ping command or the
test-connection Windows PowerShell cmdlet. If the Ping command succeeds with the IP
address but fails by the host name, the problem is with name resolution.
Note: Remember that the remote host must allow inbound ICMP echo packets through its
firewall for this test to be viable.
3. Attempt to verify connectivity to the remote host by its host name, by using the FQDN
followed by a period. For example, type the following command at the command prompt:
Test-connection LON-cl1.adatum.com
Note: You also can use the Windows PowerShell cmdlet Get-DnsClientCache.
8. Remove the entry that you added to the Hosts file, and then clear the resolver cache once
more. At the command prompt, type the following command, and then examine the contents of
the filename.txt file to identify the failed stage in name resolution: NSLookup.exe –d2
LON-cl1.adatum.com. \> filename.txt The Windows PowerShell equivalent
command is: Resolve-dnsname lon-cl1.adatum.com. \> filename.txt