[Pdns-users] my pdns does'nt use my recursor
Bill Yuan
bycn82 at gmail.com
Sun Mar 17 14:20:53 UTC 2013
finally copy all the files into my linux, now the recursor can trigger
the lua script already,
but is still did not return the correct result for the nxdomains, I
have a function like below, no matter what domain it is , i just
always return a ip for it , but the function is not working properly!
function nxdomain ( remoteip, domain, qtype )
return 0, {
{qtype="1", content="1.2.3.4", ttl=3600, place="1"},
}
end
On Sun, Mar 17, 2013 at 4:44 PM, Bill Yuan <bycn82 at gmail.com> wrote:
> Sorry , I just found actually it is using the 2.2.2.2 , It is not
> working properly because 2.2.2.2 is an public ip which located in
> France.
>
>
>
> On Sun, Mar 17, 2013 at 10:24 AM, Bill Yuan <bycn82 at gmail.com> wrote:
>> hi
>> I configured two ip addresses on my local linux for pdns, 1.1.1.1 for
>> the pdns, and 2.2.2.2 for it's recursor.
>>
>> and I have another laptop using xp,
>>
>> I found when dns set to 1.1.1.1, my xp laptop can resolve the local
>> domain which configured in the pdns,
>>
>> when dns set to 2.2.2.2 , my xp laptop can resole the domain like
>> www.google.com,
>>
>> So that means the pdns and the recursor are working.
>>
>> But when i set the dns to 1.1.1.1 and quering www.google.com it will fail,
>>
>> So it there any way to check why the pdns did not invoke my recursor?
>>
>>
>> I have configured "recursor=2.2.2.2:53" in the pdns.conf
More information about the Pdns-users
mailing list