On Tue, Jan 25, 2011 at 01:29:22PM +0100, Jesus arteche wrote: > Hi, > > > Now I have a debian server, and a bind installed working as a local > dns(cache), with 3 zones...it work the next way: > > - One a petition occurs, it check the domain asked > - if teh domain is a zone configured in the local dns, it solve it in local > - If it's not a zone, it forward the petition to a external dns(google) > > What I want to change is the sequence...I mean: > > - Bind received a petition. > - it forward outside, for all domains. > - And if it doesn't receive an answer, it checks the zones of the local dns > and if it finds it solve it. > > Can it possible to make??? do you know how?? > I think you can just set up /etc/resolv.conf to look like this:
nameserver 88.23.32.12 # the IP address of the internet-based DNS server nameserver 192.168.7.1 # the IP address of your local DNS server You can pass that info to all clients in your /etc/dhcpd.conf file like this: option domain-name-servers 88.23.32.12 192.168.7.1; -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110125195319.ga15...@aurora.owens.net