Overview
- Hierarchical
- Dot used as a searator
- Right-most component is the top-most domain
- Top-level domain: .edu, .gov, .mil, .com, .arpa, .org, .net + the
country domains (.uk, .de, .no, .il, etc...), and the new .us
hierarchy
- FQDN: eeunix.ee.usm.maine.edu vs. relative name eeunix (relative to
a default domain, in this case ee.usm.maine.edu)
-
Zone
-
A zone is part of the name space ( such as ee.usm.maine.edu or
bbn.com delegated to a single server: If a nameserver is listed at the
internic (or a higher level nameserver as authoritative for parot of the
name space, and it has full data on that part of the name space then it
is authoritative for that zone.
Domain
-
A domain is also part of the name space, but it may covers
several zones. (maine.maine.edu is a domain that covers both the
usm.maine.edu and the caps.maine.edu zones)

- Top two levels delegated from the NIC
- Third level and lower delegated by the site controlling the next
higher domain. For Example,
.edu - controlled by the NIC
.maine.edu - delegated byt the NIC to named.caps.maine.edu
.usmacs.maine.edu - delegated by named.caps.maine.edu to csir1.usmacs.maine.edu
- The DNS Server
- Answers DNS Queries sent by resolvers
- Listens at UDP and TCP port 53
- UDP for routine queries
- TCP used for zone transfers
- Configurations
- Caching-only: relies on other name servers for authoritative answers
- Primary: Contains the writable authoritative copy for the zones that it is primary for
- Secondary: Contains mirror copy of the data from a primary nameserver. No updates take place here, used to provide redundancy

- Boot file (named.boot): general named configuration parameters
- Root cache (named.ca): cache containing root domain name server names and addresses
- Loopback entry (named.local): Used to locally resolve loopback address
- Forward mappings (hosts.db): File mapping host names to IP addresses
- Reverse mappings (hosts.rev): file mapping IP addresses to names
- All these files except for named.boot are defined in the named.boot file, and can be set locally.
- Primary
- Data loaded from a file.
- One primary server per zone.
- Secondary
- Data transferred from a primary server.
- Data may be stored in a file.
- Checks every refresh period with the primary, looking for changes.
- Might have many secondaries per zone
- SOA: Start of Authority, Marks the begining of a zone's data,
defines default parameters for a zone.
- NS: Name Server, Identifies domain's name servers.
- A: Address, Converts host namess to IP addresses.
- PTR: Pointer, Converts IP Addresses to host names.
- MX: Mail Exchanger, Identifies where to send mail for a given domain
name.
- CNAME: Cannonical Name, Defines a host alias.
@ IN SOA eeunix.ee.usm.maine.edu postmaster.ee.usm.maine.edu (
1995061403 ; Serial
300 ; Refresh - 5 Minutes
60 ; Retry - 1 minute
1209600 ; Expire - 2 Weeks
43200) ; Minimum - 12 Hours
- A SOA record starts every zone file.
- Contains the name of the Primary Domain Server
- Technical contact for domain
- Note the '.' instead of '@'
- Should be someone who can fix DNS problems, or a usefull
mail alias.
- Serial (or version) number:
- Must incease whenever a zone changes
- Used by secondary servers to detect zone changes.
- Try to avoid using version numbers like 1.3, 1.3...
- A usefull convention is YYYYMMDD##
- Every nameserver contacts a root server upon startup.
- If you restart named when you are "off the network", things will NOT
work properly