[Pdns-users] bind-backend: slave zone, master on non-standard port

Peter van Dijk peter.van.dijk at netherlabs.nl
Mon Nov 10 12:38:10 UTC 2014


Hello Laszlo,

On 05 Nov 2014, at 18:16 , Laszlo Toth <laszlo.toth at linguamatics.com> wrote:

> I'm trying to configure master-slave mode in bind backend. Everything looks fine but it should work on non-standard ports also.
> 
> Slave config:
> 
> zone "zone.local" in {
>        type slave;
>        file "/etc/pdns/bind-backend/named.zone.local";
>        masters { 192.168.1.1 port 1234; };
>        forwarders {};
> };
> 
> With this I get syntax error. If I remove 'port 1234' it's fine however according to the docs I found this syntax is valid. Is there any restriction regarding the masters configuration directive? I'm using version 3.4.0 from Epel on CentOS 7.

PowerDNS does not support the ‘port’ syntax used by BIND. Feel free to file a feature request for it at https://github.com/PowerDNS/pdns/issues/new !

What does work with the bindbackend, as far as I know, is this syntax:

	masters { 1.2.3.4:5678; };

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/





More information about the Pdns-users mailing list