Yes, by setting the domain type to native (that stops automatic axfrs) and
then from cron:
pdns_control --secret="mysecret" --remote-address=127.0.0.1 retrieve
DOMAINNAME

I was unable to get the local control socket /var/run/pdns.controlsocket to
work, i.e. with:
pdns_control retrieve DOMAINNAME
(although socket-dir=/var/run in pdns.conf the socket is not being created).

Thanks for the tips.

Sean


2009/3/20 Nils Breunese (Lemonbit) <[email protected]>

> Sean Boran wrote:
>
>  I wend looking for commandline options that would allow me to do a zone
>> transfer, on demand from cron.
>> But I found nothing. I also browsed the source, but didn't see any such
>> tools.
>> Have I missed something?
>>
>
> pdns_control?
> http://downloads.powerdns.com/documentation/html/pdns-internals.html#PDNSCONTROL
>
> Nils Breunese.
>
>
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to