<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 25/03/2021 21:49, Chhavi Mittal
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOy0CCFw=9OGiw6Et5wCN20kLZ31XMNy-1evQG4s81rE=aOfZw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Hello,<input name="virtru-metadata" type="hidden"
value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"persistentProtection":false,"expandedWatermarking":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"1","compose-window":{"secure":false}}">
<div><br>
</div>
<div>This ALIAS approach is exactly what I was looking for.
Thank you for sharing it.! I tried to set it up and now have
both pdns authoritative and recursor servers running on my
host and I have added following entries in my DB but when I
try to do 'dig' on '<a href="http://example.net"
moz-do-not-send="true">example.net</a>' to get the
recursor to return me IP address of the alias its not
returning anything at all.</div>
<div>I am also attaching my pdns and recursor config. Please
check what is wrong.</div>
<br>
</div>
</div>
</blockquote>
<p>The target of the ALIAS record must actually resolve, and you
must point pdns-authoritative at a resolver which is able to
resolve it.<br>
</p>
<p>If you're using the fake data from the guide
<a class="moz-txt-link-rfc2396E" href="https://doc.powerdns.com/authoritative/guides/alias.html"><https://doc.powerdns.com/authoritative/guides/alias.html></a>,
with exactly "example.net" and "mywebapp.paas-provider.net", then
it won't work, because "mywebapp.paas-provider.net" doesn't
resolve in the real DNS.</p>
<p>$ dig mywebapp.paas-provider.net | grep status:<br>
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id:
3044<br>
</p>
<p>You could make it work, but to do so you'd have to set up your
own recursor with a forwarding rule that forwards
"mywebapp.paas-provider.net" back to your authoritative server,
ignoring the delegation (or lack of it) in the public DNS.<br>
</p>
<p>I suggest you try first using something you know resolves, like
"<a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a>" as the target of the ALIAS record.<br>
</p>
<p>If you are using different data, then we can't help you, because
you haven't shown your actual data. See:<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/">https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/</a></p>
<br>
</body>
</html>