[Pdns-users] Dynamic mangling and forward of DNS queries

Marco Pizzoli marco.pizzoli at gmail.com
Thu Mar 15 11:44:24 UTC 2018


Hi Klaus,
thank you very much for your answer. It seems interesting indeed.

To proceed this way, I understand I will have to:
- rely on the authoritative server instead of the recursor
- create a zone for every specific DNS entry I am "mangling": I understand
ALIAS works only for zone apex entries...

Marco


On Thu, Mar 15, 2018 at 9:59 AM, Klaus Darilion <
klaus.mailinglists at pernau.at> wrote:

> What about the "ALIAS" record in PowerDNS? Then the authoritative PDNS
> will use the configured resolver, which may be able to resolve the
> second domain.
>
> regards
> Klaus
>
> Am 26.02.2018 um 18:41 schrieb Marco Pizzoli:
> > Hi Aleksandr,
> > thanks for the prompt answer, but unfortunately no...
> > The second domain (sld2.tld2) is not solvable by that client.
> >
> > The only solution would be to duplicate the A record, but I don't want to
> > "split" the objects so to have them unrelated to each other.
> >
> > Marco
> >
> > On Mon, Feb 26, 2018 at 6:36 PM, Aleksandr Rogozin <
> arogozin at squarespace.com
> >> wrote:
> >
> >> Hey Marco,
> >>
> >> Would creating cname www1.sld1.tld1. to www2.sld2.tld2. satisfy the
> >> requirement?
> >>
> >> Best Regards,
> >>
> >> On Mon, Feb 26, 2018 at 12:33 PM, Marco Pizzoli <
> marco.pizzoli at gmail.com>
> >> wrote:
> >>
> >>> Hi all,
> >>> I am new to PowerDNS and I have a very special use-case. I hope that
> the
> >>> flexibility of PowerDNS can help me out...
> >>>
> >>> Please confirm if this scenario can be solved in either way.
> >>>
> >>> I have a client asking my server for www1.sld1.tld1.
> >>> I need to:
> >>> - incercept this specific request: this specific qname
> >>> - change the requested name to www2.sld2.tld2
> >>> - forward this modified request to a specific upstream DNS server
> >>> - provide the answered IP to the requestor
> >>>
> >>> Is this possible? Maybe even using some LUA magic...?
> >>>
> >>> Thanks in advance for your help
> >>> Marco
> >>>
> >>> _______________________________________________
> >>> Pdns-users mailing list
> >>> Pdns-users at mailman.powerdns.com
> >>> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> >>>
> >>>
> >>
> >
> >
> >
> > _______________________________________________
> > Pdns-users mailing list
> > Pdns-users at mailman.powerdns.com
> > https://mailman.powerdns.com/mailman/listinfo/pdns-users
> >
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20180315/a8be195e/attachment.html>


More information about the Pdns-users mailing list