When we access a website, the web server checks it with the DNS Resolver, a built-in component in operating systems. It translates the domain name to its IP address and do the domain name-IP mapping on different databases until it is found.
Functions of DNS include caching and redundancy. DNS resolvers store the answers they get from other DNS servers. Those are added in a cache, an internal database. When you access a same website again, it does not need to look up the host again. Caching and redundancy help DNS to respond faster to queries.
Zone File
Zone file is a part of configuring a DNS server. It describes a DNS zone and contains list of all the hosts in the domain and their corresponding IP address. Here are its parts:
- SOA (Start of Authority) - states that this server is authoritative for the specific domain.
- NS (Name Server) - specifies the name server to use to look up a domain
- MX (Mail Exchange) - specifies mail server/s for the domain
- A (A record) - used for linking FQDN to an IP address
- CNAME (Canonical Name) - assigns aliases to existing A records
- PTR - reveres map IP addresses to an FQDN
| forward zone file |
| reverse zone file |
| named.conf.local |
I needed some patience to make this work.
![]() |
| pinging |
References:
- http://technet.microsoft.com/en-us/network/bb629410.aspx
- http://www.inetdaemon.com/tutorials/internet/dns/servers/caching.shtml
- http://www.hansenonline.net/networking/zonefile.html

No comments:
Post a Comment