<div dir="ltr"><div>Thanks for response.</div><div>Putting in another dns server's ip does work for resolving aliases not hosted by this dns server.</div><div>But then that would mean we can't use aliases pointing to same server. <br></div><div>I changed it to "resolver=127.0.0.1" and it seems to be working now as I expected.  :-)</div><div>(pdns-recursor is port 53, pdns auth is 5300)<br></div><div><br></div><div>Thank you.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 8, 2019 at 1:53 AM Brian Candler <<a href="mailto:b.candler@pobox.com">b.candler@pobox.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 07/06/2019 21:58, Bill James wrote:<br>
> I'm trying to get ALIAS records to work.<br>
> I think I set it up as stated here: <br>
> <a href="https://doc.powerdns.com/authoritative/guides/alias.html" rel="noreferrer" target="_blank">https://doc.powerdns.com/authoritative/guides/alias.html</a><br>
> The problem I have is if the ALIAS record points to something local to <br>
> that auth server it works fine. If it points to something resolved by <br>
> a different dns server it doesn't work.<br>
><br>
> I'm no expert, but I thought with pdns4 the auth server doesn't <br>
> handler recursion, pdns-recursor does. So I don't understand how adding<br>
> resolver=[::1]:5300<br>
> expand-alias=yes<br>
><br>
> to pdns.conf can work if auth server can't lookup external records?<br>
> You can't add this to recursor.conf.<br>
><br>
> I must be missing something. Any suggestions?<br>
<br>
What you are missing is that with the configuration above, pdns-recursor <br>
must be running on the same box, and configured to listen to requests on <br>
port 5300 (instead of the default 53).<br>
<br>
Alternatively, you can point to any other working resolver, even<br>
<br>
resolver=8.8.8.8<br>
<br>
(although if you have pdns-recursor running on a nearby box, you should <br>
probably use that instead)<br>
<br>
</blockquote></div>