Split DNS issue

David Hekimian davidh at aqueduct.com
Thu Apr 25 16:34:23 UTC 2002


I'm trying to setup a split DNS server. My internal clients are on
10.254.0.0/16.

I would like to have my users query this DNS server and have it return
responses for "aqdev.com" which is an internal only zone and for
"buyalps.com" which is an external zone.

My problem is, I get no response from the DNS server when I query for
"www.buyalps.com" from a machine on the 10.254.0.0/16 network.


What am I doing wrong?


Also, when I set trace to >0, I don't get anything in /var/named/debug file.
Am I setting up my debug channel wrong?

- David






// generated by named-bootconf.pl

options { directory "/var/named";
};
logging { channel log_file {file "/var/named/named"; print-time yes;
};
          channel default_debug {file "/var/named/debug"; print-time yes;
};
          category general { log_file; };
          category default { log_file; };
};

controls { inet * allow { any; } keys { "rndckey"; };                   };
key "rndckey" { algorithm hmac-md5; secret "*deleted*";  };

//Internal View

view "internal" {
        match-clients { 10.254.0.0/16; };
        recursion yes;

zone "1.254.10.in-addr.arpa"    { type master;  file
"internal/1.254.10.in-addr.arpa.dns";                      };
zone "aqa.com"                  { type master;  file "internal/aqa.com.dns";
allow-update { none ;}; };
zone "aqdev.com"                { type master;  file
"internal/aqdev.com.dns";          allow-update { none ;}; };
zone "aqueduct.com"             { type master;  file
"internal/aqueduct.com.dns";       allow-update { none ;}; };
zone "aqueductqa.com"           { type master;  file
"internal/aqueductqa.com.dns";     allow-update { none ;}; };
zone "aqueductdev.com"          { type master;  file
"internal/aqueductdev.com.dns";    allow-update { none ;}; };
zone "buynow.com"               { type master;  file
"internal/buynow.com.dns";         allow-update { none ;}; };
zone "buynowqa.com"             { type master;  file
"internal/buynowqa.com.dns";       allow-update { none ;}; };

};


//External View

view "external" {
        match-clients { any; };
        recursion yes;

zone "."                                { type hint;    file "named.ca";
};
zone "0.0.127.in-addr.arpa"             { type master;  file "named.local";
};
zone "160.67.209.in-addr.arpa"          { type master;  file
"primary/160.67.209.in-addr.arpa.dns";     };
zone "0/24.102.39.216.in-addr.arpa"     { type master;  file
"primary/102.39.216.in-addr.arpa.dns";     };
zone "0.142.204.65.in-addr.arpa"        { type master;  file
"primary/0.142.204.65.in-addr.arpa.dns";   };
zone "aqueduct.com"                     { type master;  file
"primary/aqueduct.com.dns";                };
zone "aquaduct.com"                     { type master;  file
"primary/aqueduct.com.dns";                };
zone "buyalliedtelesynnow.com"          { type master;  file
"primary/buyalliedtelesynnow.com.dns";     };
zone "buyalps.com"                      { type master;  file
"primary/buyalps.com.dns";                 };
zone "buyasante.com"                    { type master;  file
"primary/buyasante.com.dns";               };
zone "buyati.com"                       { type master;  file
"primary/buyati.com.dns";                  };
zone "buydynamo.com"                    { type master;  file
"primary/buydynamo.com.dns";               };
zone "buyfcpa.com"                      { type master;  file
"primary/buyfcpa.com.dns";                 };


};


More information about the bind-users mailing list