child domians dif ip

RYAN vAN GINNEKEN rmvg at shaw.ca
Fri May 14 00:11:17 UTC 2004


Just a little confused as how to set up a child domian on a seperate ip 
address.  Example I have the domian computerking.ca with a name server 
running on it this machine resides at ip 68.xx.xx.xx.  Now i have setup 
another  machine accross town and want it to be 
shoemasters.computerking.ca it also has bind running and is all setup to 
be shoemasters.computerking.ca but for some reason it is not working.  
What am i missing is it a record somewhere or is it in my named.conf 
file  have included my conf files please help.

Server: ns1.kloth.net Address: 213.133.98.149#53 ** server can't find 
shoemasters.computerking.ca.: NXDOMAIN

I have set up my named.conf files like this on the 
shoemasters.computerking.ca machine

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

                zone "shoemasters.computerking.ca" {
                type master;
                file "pz/db.shoemasters.computerking.ca.external";
                };

                zone "231.144.68.in-addr.arpa" {
                type master;
                file "pz/db.68.144.231";
                };

                zone "computerking.ca" {
                type slave;
                file "sz/db.computerking.ca.external";
                masters { 68.146.233.221; };
                };

                zone "233.146.68.in-addr.arpa" {
                type slave;
                file "sz/db.68.146.233";
                masters { 68.146.233.221; };
                };

                zone "highcoup.ca" {
                type slave;
                file "sz/db.higcoup.ca.external";
                masters { 198.53.146.238; };
                };

                zone "146.53.198.in-addr.arpa" {
                type slave;
                file "sz/db.higcoup.ca.external";
                masters { 198.53.146.238; };
                };

                zone "146.53.198.in-addr.arpa" {
                type slave;
                file "sz/db.198.53.146";
                masters { 198.53.146.238; };
                };

                zone "." in {
                type hint;
                file "db.cache";
                };

};
//=============================================================================
// end of file

This is the comptuterking.ca machines named.conf

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

                zone "computerking.ca" {
                type master;
                file "pz/db.computerking.ca.external";
                };

                zone "233.146.68.in-addr.arpa" {
                type master;
                file "pz/db.68.146.233";
                };

                zone "highcoup.ca" {
                type slave;
                file "sz/db.higcoup.ca.external";
                masters { 198.53.146.238; };
                };

                zone "146.53.198.in-addr.arpa" {
                type slave;
                file "sz/db.198.53.146";
                masters { 198.53.146.238; };
                };

                zone "." in {
                type hint;
                file "db.cache";
                };

};
//=============================================================================
// end of file




More information about the bind-users mailing list