DNS Concepts
DNS Configuration: Example
- Host name resolution uses the gethostbyname family of library calls.
- These calls do a configurable search of name space providers, typically including:
- Local /etc/hosts file
- DNS service
- Other directory services such as NIS or LDAP
- DNS traffic is sent as UDP packets, usually to port 53.
- A query may ask for particular types of record, or all records for a name.
- Name resolution for Ipv4 uses A records for addresses, and CNAME records for aliases that must be re-resolved.
DNS Configuration: Example
- The following is assumed about the environment:
- The cluster subdomain is cluster01.us.example.com.
- The address GNS will listen on is 10.228.212.2 port 53.
- The address for the new DNS server is 10.228.212.3.
- The parent name servers are M.N.P.Q and W.X.Y.Z.
- A summary of the steps is shown as follows:
- As root, install the BIND (DNS) rpm: # rpm –Ivh bind-9.2.4-30.rpm
- Configure delegation in /etc/named.conf.
- Populate the cache file: $ dig . ns > /var/named/db.cache
- Populate /var/named/db.127.0.0 to handle reverse lookups.
- Start the name service (named): # /etc/init.d/named start
- Modify /etc/resolv.conf on all nodes.
No comments:
Post a Comment