I would like to set up DNS server(bind) on debian. Which will forward all queries to google, except the queries to reverse DNS for specified zone.

I would like to respond queries for group of hosts named "clients" on my server, and all the others queries relay to google DNS.

How to specific this configuration in named.conf.options file ? Where did I make a mistake?

here's my syntax:

acl clients {; ##example ip

options {
        directory "/var/cache/bind";
         recursion yes;
         allow-query { clients; };

         forwarders {

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };

        zone "clients" {
        type master;
        forward no;




  • 1
    Really not sure what you are trying to do here, but zone blocks don't belong inside the options block. – Zoredache Oct 17 '16 at 20:15
  • Not sure, but it could be that constructing a db, and a zone, files for the required specified zone, is your 1st step. And then using views to limit the private zone to your clients. If this is indeed a possible solution, I hope you will post here all the details. – nh4c Oct 17 '16 at 23:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.