[Pdns-users] pdns4 and ALIAS record on remote server

Brian Candler b.candler at pobox.com
Sat Jun 8 08:52:50 UTC 2019


On 07/06/2019 21:58, Bill James wrote:
> I'm trying to get ALIAS records to work.
> I think I set it up as stated here: 
> https://doc.powerdns.com/authoritative/guides/alias.html
> The problem I have is if the ALIAS record points to something local to 
> that auth server it works fine. If it points to something resolved by 
> a different dns server it doesn't work.
>
> I'm no expert, but I thought with pdns4 the auth server doesn't 
> handler recursion, pdns-recursor does. So I don't understand how adding
> resolver=[::1]:5300
> expand-alias=yes
>
> to pdns.conf can work if auth server can't lookup external records?
> You can't add this to recursor.conf.
>
> I must be missing something. Any suggestions?

What you are missing is that with the configuration above, pdns-recursor 
must be running on the same box, and configured to listen to requests on 
port 5300 (instead of the default 53).

Alternatively, you can point to any other working resolver, even

resolver=8.8.8.8

(although if you have pdns-recursor running on a nearby box, you should 
probably use that instead)



More information about the Pdns-users mailing list