how to list ALL zones of my master server

Sam Pointer sam.pointer at hpdsoftware.com
Thu Sep 26 16:33:34 UTC 2002


try:

--- master -------------------------------
zone "foo.com" in {
        type master;
        file "db.foo.com";
--- master -------------------------------


--- slave --------------------------------
zone "foo.com" in {
        type slave;
        file "bak.foo.com";
        masters { 111.111.111.111; };
--- slave --------------------------------

-----Original Message-----
From: I=F1aki Mart=EDnez [mailto:sysadmin at hostalia.com]
Sent: 26 September 2002 15:17
To: Saad Kadhi
Cc: bind-users
Subject: Re: how to list ALL zones of my master server





HI!!!

> >  So i wonder if there is a "magic" solution to do this
automatic......
> I cannot think of such magic in the standard BIND distribution. But
you can do
> it yourself pretty easily. To get you started, here is one way to do
it:

 Ok.... i have something similar........

 But i need some script to use in the slave server (without using ftp,
ssh,scp, etc)......

 Now i am implementing something so:

 1) master: get all zones
 2) master: send zones to the slave (via scp)
 3) slave: check new zones
 4) slave: update slave server.





This email and any attachments are strictly confidential and are =
intended
solely for the addressee. If you are not the intended recipient you =
must
not disclose, forward, copy or take any action in reliance on this =
message
or its attachments. If you have received this email in error please =
notify
the sender as soon as possible and delete it from your computer =
systems.
Any views or opinions presented are solely those of the author and do =
not
necessarily reflect those of HPD Software Limited or its affiliates.

 At present the integrity of email across the internet cannot be =
guaranteed
and messages sent via this medium are potentially at risk.  All =
liability
is excluded to the extent permitted by law for any claims arising as a =
re-
sult of the use of this medium to transmit information by or to=20
HPD Software Limited or its affiliates.




More information about the bind-users mailing list