[Pdns-users] Delegation of subdomain

bert hubert bert.hubert at powerdns.com
Wed Feb 7 11:05:22 UTC 2018


Hi Jakob,

We no longer support the 'recursor=' setting because it is very tricky.

You may want to read https://doc.powerdns.com/authoritative/guides/recursion.html
which offers help on how to achieve your goals in other ways.

Good luck!

	Bert

On Wed, Feb 07, 2018 at 11:54:13AM +0100, Jakob Lenfers wrote:
> Hi,
> 
> I'm trying to delegate a subdomain to another DNS server, in my case a
> samba4 AD. My pdns runs as authorative server on  0.0.0.0:53, the
> recursor runs on 127.0.0.1:5300 and is included via
> 'recursor=127.0.0.1:5300' in pdns' config.
> 
> I have the following entries set:
> | bss.example.com. 3600 IN  NS      barva.example.com.
> | barva.example.com. 3600 IN A      10.20.30.40
> 
> And in the recursor config I've set:
> "forward-zones=bss.example.com=10.20.30.40"
> 
> But only when I query the recursor directly (example below), I'm getting
> the expected answer. When I query the master on :53, I only get a
> pointer to the new authorative NS.
> 
> | # dig -t SRV _gc._tcp.bss.example.com @localhost
> |
> | ; <<>> DiG 9.10.3-P4-Ubuntu <<>> -t SRV _gc._tcp.bss.example.com
> @localhost
> | ;; global options: +cmd
> | ;; Got answer:
> | ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49362
> | ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 2
> | ;; WARNING: recursion requested but not available
> |
> | ;; OPT PSEUDOSECTION:
> | ; EDNS: version: 0, flags:; udp: 1680
> | ;; QUESTION SECTION:
> | ;_gc._tcp.bss.example.com.        IN SRV
> |
> | ;; AUTHORITY SECTION:
> | bss.example.com. 3600 IN  NS      barva.example.com.
> |
> | ;; ADDITIONAL SECTION:
> | barva.example.com. 3600 IN A      10.20.30.40
> 
> 
> | # dig -p 5300 -t SRV _gc._tcp.bss.example.com @localhost
> | ; <<>> DiG 9.10.3-P4-Ubuntu <<>> -p 5300 -t SRV
> _gc._tcp.bss.example.com @localhost
> | ;; global options: +cmd
> | ;; Got answer:
> | ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43772
> | ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
> |
> | ;; OPT PSEUDOSECTION:
> | ; EDNS: version: 0, flags:; udp: 4096
> | ;; QUESTION SECTION:
> | ;_gc._tcp.bss.example.com.        IN SRV
> |
> | ;; ANSWER SECTION:
> | _gc._tcp.bss.example.com. 26 IN SRV 0 100 3268 barva.bss.example.com.
> 
> Any ideas how to solve this?
> 
> Thanks in advance,
> Jakob
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users


More information about the Pdns-users mailing list