OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

3.1.1. resolv.conf


The first step in testing BIND9 is to add the nameserver's IP Address to a hosts resolver. The Primary nameserver should be configured as well as another host to double check things. Refer to Section 1.3.1, “DNS Client Configuration” [p. 44] for details on adding nameserver addresses to your network clients, and afterwards check that the file /etc/resolv.conf contains (for this example):


nameserver 192.168.1.10

nameserver 192.168.1.11


Nameservers that listen at 127.* are responsible for adding their own IP addresses to resolv.conf (using resolvconf). This is done via the file /etc/default/bind9 by changing the line RESOLVCONF=no to RESOLVCONF=yes.


image

You should also add the IP Address of the Secondary nameserver in case the Primary becomes unavailable.


Top OS Cloud Computing at OnWorks: