Monday, March 10, 2014

How to configure DNS for Grid Infrastructure GNS


DNS Concepts

  • 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: 

  1. As root, install the BIND (DNS) rpm: # rpm –Ivh bind-9.2.4-30.rpm
  2. Configure delegation in /etc/named.conf.
  3. Populate the cache file: $ dig . ns > /var/named/db.cache
  4. Populate /var/named/db.127.0.0 to handle reverse lookups.
  5. Start the name service (named): # /etc/init.d/named start
  6. Modify /etc/resolv.conf on all nodes. 
Videos (Download and save and then Play)

How to configure DNS for Grid Infrastructure GNS



No comments:

Post a Comment