Set up slave DNS

Michael Kjorling michael at kjorling.com
Tue Mar 5 17:24:37 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi K,

Just set up server B as an ordinary slave for domainA.com and server A
as a slave for domainB.com:

	// on server A
	zone "domainb.com" {
		type slave;
		masters { ip.of.server.b; };
		file "domainb.com.db";
	};

	// on server B
	zone "domaina.com" {
		type slave;
		masters { ip.of.server.a; };
		file "domaina.com.db";
	};


Michael Kjörling


On Mar 5 2002 15:07 -0000, K wrote:

> I have 2 DNS servers.  Server A needs to be the master for domainA.com and
> server B needs to be master for domainB.com and all subdomains of
> domainB.com.  New subdomains of domainB.com are created once every couple of
> days (or whenever someone signs up for hosting under it).
>
> Now the thing is, how do I let these 2 DNS servers sync up with each other?
> I've looked around the net for Bind docs on how to set up a slave dns server
> that performs zone transfers of all the primary DNS server's zone files.
> Can someone help me with the exact directive needed?

- -- 
Michael Kjörling  --  Programmer/Network administrator  ^..^
Internet: michael at kjorling.com -- FidoNet: 2:204/254.4   \/
PGP: 95f1 074d 336d f8f0 f297 6a5b 2aa3 7bfd 8a70 e33e

``And indeed people sometimes speak of man's "bestial" cruelty, but
this is very unfair and insulting to the beasts: a beast can never be
so cruel as a man, so ingeniously, so artistically cruel.''
(Ivan Karamazov, in Dostoyevsky's 'The Brothers Karamazov')

*** Spammers: see http://michael.kjorling.com/spam ***
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public key is at http://michael.kjorling.com/contact/pgp.html

iD8DBQE8hP9XKqN7/Ypw4z4RAv12AJ9k2EosiWOUpVfXSsy724ldVfbXtACgkqKD
qH13q+xMzojo+92rgF1lgug=
=Hvk6
-----END PGP SIGNATURE-----




More information about the bind-users mailing list