[Pdns-users] powerdns recursor and dns prefix
Alfred B. M. Cordero
otto-pilot at hushmail.com
Fri Jun 17 19:40:41 UTC 2011
On Fri, 17 Jun 2011 12:30:22 -0700 Konstantine Karosanidze
<k.qarosanidze at co.ge> wrote:
>Problem is following: all my clients get dns prefix from dhcp,
>lets say :
>domain.com
>
>and i see some requests to dns like: google.com.domain.com that
>does not
>resolv and it's correct that it does not resolve.
>
>I understand that it happens because windows machine ads prefix to
>requested
>domain, but is there any possibility to overcome this problem?
You could use lua to fix this.
In lua, remove the dns prefix, then query.
Store the dns prefixes in a file if you have more than
just domain.com and they change or add new ones.
More information about the Pdns-users
mailing list