<div dir="ltr"><div><div><div>Hi Klaus,<br></div>thank you very much for your answer. It seems interesting indeed. <br><br></div>To proceed this way, I understand I will have to:<br>- rely on the authoritative server instead of the recursor<br>- create a zone for every specific DNS entry I am "mangling": I understand ALIAS works only for zone apex entries...<br><br></div>Marco<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 15, 2018 at 9:59 AM, Klaus Darilion <span dir="ltr"><<a href="mailto:klaus.mailinglists@pernau.at" target="_blank">klaus.mailinglists@pernau.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What about the "ALIAS" record in PowerDNS? Then the authoritative PDNS<br>
will use the configured resolver, which may be able to resolve the<br>
second domain.<br>
<br>
regards<br>
<span class="HOEnZb"><font color="#888888">Klaus<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
Am 26.02.2018 um 18:41 schrieb Marco Pizzoli:<br>
> Hi Aleksandr,<br>
> thanks for the prompt answer, but unfortunately no...<br>
> The second domain (sld2.tld2) is not solvable by that client.<br>
><br>
> The only solution would be to duplicate the A record, but I don't want to<br>
> "split" the objects so to have them unrelated to each other.<br>
><br>
> Marco<br>
><br>
> On Mon, Feb 26, 2018 at 6:36 PM, Aleksandr Rogozin <<a href="mailto:arogozin@squarespace.com">arogozin@squarespace.com</a><br>
>> wrote:<br>
><br>
>> Hey Marco,<br>
>><br>
>> Would creating cname www1.sld1.tld1. to www2.sld2.tld2. satisfy the<br>
>> requirement?<br>
>><br>
>> Best Regards,<br>
>><br>
>> On Mon, Feb 26, 2018 at 12:33 PM, Marco Pizzoli <<a href="mailto:marco.pizzoli@gmail.com">marco.pizzoli@gmail.com</a>><br>
>> wrote:<br>
>><br>
>>> Hi all,<br>
>>> I am new to PowerDNS and I have a very special use-case. I hope that the<br>
>>> flexibility of PowerDNS can help me out...<br>
>>><br>
>>> Please confirm if this scenario can be solved in either way.<br>
>>><br>
>>> I have a client asking my server for www1.sld1.tld1.<br>
>>> I need to:<br>
>>> - incercept this specific request: this specific qname<br>
>>> - change the requested name to www2.sld2.tld2<br>
>>> - forward this modified request to a specific upstream DNS server<br>
>>> - provide the answered IP to the requestor<br>
>>><br>
>>> Is this possible? Maybe even using some LUA magic...?<br>
>>><br>
>>> Thanks in advance for your help<br>
>>> Marco<br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> Pdns-users mailing list<br>
>>> <a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.<wbr>com</a><br>
>>> <a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/<wbr>mailman/listinfo/pdns-users</a><br>
>>><br>
>>><br>
>><br>
><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Pdns-users mailing list<br>
> <a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.<wbr>com</a><br>
> <a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/<wbr>mailman/listinfo/pdns-users</a><br>
><br>
______________________________<wbr>_________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.<wbr>com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/<wbr>mailman/listinfo/pdns-users</a><br>
</div></div></blockquote></div><br></div>