Chapter4 - DNS
Chapter4 - DNS
COURSE
Network Technology
NetBIOS NetBIOS
While FQDNs (Fully qualified domain name ) The 16th character is reserved to identify the functionality (service) that
are the preferred method for identifying computers on networks today, is installed on the registered network device.
NetBIOS to identify systems on a network, and many apps still
support NetBIOS.
\\server1\data Cmd>
5/42
/50 6/42
/50
NetBIOS NetBIOS
7/42
/50 8/42
/50
NetBIOS
To configure a Windows Server computer as a WINS server, you must
install and configure the WINS Server feature.
9/42
/50 10
13/42
/50 14/42
/50
Step 4:
If the ISP DNS server has recently resolved and The .com DNS server will not contain the IP address for the
placed the result in its DNS cache, computer in its zone
It returns the result immediately to the client computer (called an But will reply with the IP address of a DNS server for the
recursive query) microsoft.com zone.
15/42
/50 16/42
/50
DNS Lookup Process
Recursive Iterative query DNS Lookup Process
query
Step 5: Step 6:
The ISP DNS server then contacts The DNS server for the microsoft.com
the DNS server for the domain contains a resource record
microsoft.com zone and repeats that lists the IP address for the
the forward lookup request for computer and
(another Iterative query returns this IP address to the ISP DNS
iterative query). server.
17/42
/50 18/42
/50
21/42
/50 22/42
/50
DNS Lookup Process (in an organization) DNS Lookup Process (in an organization)
Forwarding
Step 1: Step 3:
The client computer first checks its If it does not, the organization
DNS cache to see if the IP address DNS server relays the forward
for was lookup request to ISP DNS server.
previously resolved. If the ISP DNS server contains
the IP address for Forwarder
in cache, it
Step 2:
returns the result immediately
If not available, sending a forward lookup request for to the client computer.
to the organization DNS server listed in network
interface properties. Step 4:
If the organization DNS server contains the IP address for If it does not, the ISP DNS server contacts a DNS server for the .com
in its DNS cache from a previous lookup, it top-level zone and repeats the forward lookup request for
returns the result immediately to the client computer. docs.microsoft.com.
23/42
/50 24/42
/50
DNS Lookup Process (in an organization) DNS Lookup Process (in an organization)
Step 5: Step 7:
The .com DNS server replies with The DNS server for the
the IP address of a DNS server for domain returns
the microsoft.com zone. the IP address for the
computer
to the ISP DNS server
Step 6:
The ISP DNS server then contacts the DNS server for the
microsoft.com zone and repeats the forward lookup request for Step 8
docs.microsoft.com. The ISP DNS server caches the result for future use and then relays it
to the organization DNS server
25/42
/50 26/42
/50
DNS Lookup Process (in an organization) DNS Lookup Process (in an organization)
Step 9: In some environments, an organization DNS server may relay requests
The organization DNS server also to other organization DNS servers before those requests are relayed to
caches the result for future use an ISP DNS server.
and then relays it to the client
computer
Relaying requests to other organization DNS servers increases the
likelihood that a lookup is resolved quickly using an entry in the DNS
cache on a DNS server in the organization.
Step 10: Consequently, having multiple default forwarders in an organization
provides faster name resolution.
The client computer then caches the result for future use before
connecting to the IP address of the docs.microsoft.com Web server.
27/42
/50 28/42
/50
Authoritative DNS Server Types Authoritative DNS Server Types
Each zone typically has more than one authoritative DNS server to In Step 5, the DNS server will reply with the IP addresses of the
ensure that names can be resolved if one server is unavailable. primary and secondary DNS servers for .
The ISP DNS server will then contact the first IP address in Step 6 or
Primary DNS server: The first DNS server in a zone. the second IP address if no response is received from the first IP
o Contains a read-write copy of a zone file that stores resource address.
records for the zone.
Zone transfer: New resource records are added to the primary DNS
server, and secondary DNS servers periodically copy the new records
from the primary DNS server.
29/42
/50 30/42
/50
31/42
/50 32/42
/50
Accessing DNS Servers in Other Organizations Accessing DNS Servers in Other Organizations
When an Active Directory domain is implemented, most organizations However, there are times when one organization may need to resolve
choose to use a domain name that is not registered with the top-level FQDNs for another Active Directory zone, and vice versa.
DNS servers on the Internet. For example, in order to create a trust relationship between two
E.g., domain1.local Active Directory domains in different organizations.
o The DNS servers in
each organization must
be able to resolve the
FQDNs for the other
Active
Directory zone.
35/42
/50 36
Resource Records Resource Records
Host records can also be used to perform load balancing of services on For example, that you have two identically configured Web servers
the network using a feature of DNS called round robin. (with IP addresses of 172.16.0.61 and 172.16.0.62) that you would like
clients to access using the FQDN server1.domainX.com.
You can create two A records for the FQDN server1.domainX.com.
First A record associates server1.domainX.com with 172.16.0.61,
Second A record associates server1.domainX.com with 172.16.0.62.
When the first client computer performs a forward lookup of
server1.domainX.com, the DNS server will return both IP addresses
(172.16.0.61 and 172.16.0.62), and the client will contact the first IP
address returned (172.16.0.61).
When the second client computer performs a forward lookup of
server1.domainX.com, the DNS server will rotate the order of both IP
addresses (172.16.0.62 and 172.16.0.61) before returning them to the
client to ensure that the second client contacts 172.16.0.62.
37/42
/50 38/42
/50
DNS Client2 = ?
192.168.2.46 = ?
ClientC
ClientA
ClientB
41/42
/50 42/42
/50