Basic DNS and Resolver Configuration


DNS (Domain Name System), configuration starts by configuring the resolver.   by default the daemon will load the /etc/resolver.conf file, If it does not exist, it will use the local system.


  • named, must be run, If you do not have a /etc/resolver.conf 
  • creating a /etc/resolver.conf is a must even, IF you run named on a localhost
  • this is for the Linux Client
  • is not applicable on Pocket PC or WinCE terminals, it is not needed

Resolver Configuration

 

nameserver address 

   up ot (3) IP address of a name server can be accepted

domain domainname 

   domain named of the local named lookup

search searchlist 

   this command defines a list of domains, that are used to expand a hostname before it is send to the server

options 

   other parameters set to provide better control over certain cases

    • no-check-names - allows (_) underscore to be part of the domain name

Sample resolver.conf file

 

  $ cat /etc/resolver.conf

  search swan.foobirds.org  foobirds.org

  nameserver 172.16.12.1

  nameserver 172.16.5.1


  Lightweight Resolver (lwresd)

   - design for IPv6 (128 bit-IP addressing)