[Pdns-users] Correct incantation of followCNAMERecords and follupDomain
Otto Moerbeek
otto at drijf.net
Tue Mar 24 16:57:54 UTC 2026
On Tue, Mar 24, 2026 at 04:54:14PM +0000, Scott Holder wrote:
>
>
> > On Mar 24, 2026, at 11:39 AM, Otto Moerbeek <otto at drijf.net> wrote:
> >
> >> <snip>
> >
> > https://docs.powerdns.com/recursor/lua-scripting/hooks.html#example-script
> > shows an example. I believe it should also work in postresolve.
> >
> > Looking a bit more, it seems the docs are wrong. followCNAMERecords
> > picks up the target from the answers (potentially added by Lua code).
> > followupDomain does not play a role.
> >
> > If that does not help, can you show us the Lua code you are using. Do
> > the logs show anything?
> >
> > -Otto
> >
>
> Ah hah, I ran across that example and thought I’d tried it, but maybe not. Or I still did it wrong.
>
> In any case, I removed the followup domainDomain and just set the followCNAMERecords and it’s working perfectly now. Docs are definitely a little unclear.
>
> Thanks!
>
> Scott H.
Good! I'll update the docs soon.
-Otto
More information about the Pdns-users
mailing list