Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

push zones to slaves

2 views
Skip to first unread message

jac...@free.fr

unread,
May 15, 2005, 9:01:50 AM5/15/05
to
Hi,

I'm in the process of setting up a named master+slave servers.
I was wondering if there was _any_ way to push the zones to the slave ?
I know the default behaviour is that the slave pull the updated zones
from the master, but in my configuration, the master server will be in a
subnet not accessible from the outside.
Thanks in advance.

Antoine


jac...@free.fr

unread,
May 15, 2005, 2:42:08 PM5/15/05
to
Selon Ketil Froyn <ke...@froyn.name>:
> rsync -e ssh /path/to/zonefile remote:/path/to/zonefile && \
> ssh remote "rndc reload"

This was the solution I was thinking about, thanks for confirming it :)

> You'll have to configure the slave so that it thinks it is a master for
> the zone. That can be a little confusing, but should work fine.

Hum... ok, it looks like a non-standard way to do things but I'll give it a try,
thanks.

Antoine


Ketil Froyn

unread,
May 15, 2005, 12:20:39 PM5/15/05
to
jac...@free.fr wrote:

> I'm in the process of setting up a named master+slave servers.
> I was wondering if there was _any_ way to push the zones to the slave ?

Of course. Instead of relying on the AXFR or IXFR protocols, you can do
something like this when the zone has been modified:

rsync -e ssh /path/to/zonefile remote:/path/to/zonefile && \
ssh remote "rndc reload"

You'll have to configure the slave so that it thinks it is a master for

the zone. That can be a little confusing, but should work fine.

Ketil Froyn
ke...@froyn.name
http://ketil.froyn.name/


Antoine Jacoutot

unread,
May 15, 2005, 5:55:49 AM5/15/05
to
Hi,

I'm in the process of setting up a named master+slave servers.
I was wondering if there was _any_ way to push the zones to the slave ?

David Botham

unread,
May 18, 2005, 8:22:58 AM5/18/05
to

Use Notify. It is not a push, but, it will trigger the zone transfer very
quickly.


hth,


Dave...


> Thanks in advance.
>
> Antoine
>
>

0 new messages