How to configure DNS BIND to work locally on one computer?

Posted by user619656 on Super User See other posts from Super User or by user619656
Published on 2011-02-16T13:06:28Z Indexed on 2011/02/16 15:27 UTC
Read the original article Hit count: 188

Filed under:
|

I want to do some changes to the BIND source code. In order to test those changes I want to be able to post queries to my local BIND server and for it to use only the local zone files.
I know how to make the zone files and somewhat the named.conf file but what should i put in /etc/resolv.conf?

In resolv.conf currently there is the line
nameserver 192.168.0.1
witch i guess is my router IP address and the queries go through the router to my ISP.

I want those queries to go to the local BIND server and to look for answers in the zone files i provided.

Is there a way for this using resolf.conf file or should i do something else?

© Super User or respective owner

Related posts about dns

Related posts about bind