Hi,

We are moving from PDNS R2.9.22 to R3.1. I see a difference in the Qtype
sent by PDNS to the backend threads. In version R2.9.22 it use to be ANY
(255) for a domain name but in R3.1, I notice that the qtype getting sent is
2 (NS). Has this interface changed in R3.1? Is there any setting by which I
can revert back to the earlier interface?

Thanks,
Seema


On 8/21/12 8:42 PM, "Seema Datar" <[email protected]> wrote:

> Thanks Ruben.
> 
> -Seema
> 
> 
> On 8/21/12 3:30 PM, "[email protected]"
> <[email protected]> wrote:
> 
>> Send Pdns-dev mailing list submissions to
>> [email protected]
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>> or, via email, send a message with subject or body 'help' to
>> [email protected]
>> 
>> You can reach the person managing the list at
>> [email protected]
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Pdns-dev digest..."
>> 
>> 
>> Today's Topics:
>> 
>>    1. Question regarding PDNS testing (Seema Datar)
>>    2. Re: Question regarding PDNS testing (Ruben d'Arco)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Tue, 21 Aug 2012 11:20:26 +0530
>> From: Seema Datar <[email protected]>
>> Subject: [Pdns-dev] Question regarding PDNS testing
>> To: "[email protected]"
>> <[email protected]>, "[email protected]"
>> <[email protected]>
>> Message-ID: <cc591f7a.36a6b%[email protected]>
>> Content-Type: text/plain; charset="windows-1252"
>> 
>> Hi,
>> 
>> I am trying to write the backend implementation for PDNS 3.1. I have
>> implemented the 4 methods ? list, get, getSOA and lookup.  The lookup
>> implementation I could test using the dig command on my pdns installation.
>> However, I had a question on how I can test the getSOA, list and get
>> implementations without writing unit tests for them. Will they get invoked on
>> providing certain dig options?
>> 
>> Thanks,
>> Seema
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: 
>> 
<http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20120821/b4c94956>>
/
>> attachment.html>
>> 
>> ------------------------------
>> 
>> Message: 2
>> Date: Tue, 21 Aug 2012 08:14:50 +0200
>> From: Ruben d'Arco <[email protected]>
>> Subject: Re: [Pdns-dev] Question regarding PDNS testing
>> To: [email protected]
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=utf-8
>> 
>> Hi Seema,
>> 
>> If you get the correct result with dig, your lookup(), get() and getSOA() are
>> working.
>> You do not have to implement getSOA as the ueberbackend has a default
>> implementation which uses lookup() and get() to retrieve the same
>> information.
>> 
>> The list() is used for AXFR, so a dig AXFR will trigger that.
>> 
>> You might also want to consider having a look at the regression-tests folder
>> in the source tree. The start-test-stop script can easily be extended to
>> support your backend. I've used this for the tinydnsbackend and it works
>> wonders to validate that the backend is operating correctly.
>> 
>> Kind regards,
>> Ruben
>> 
>> On Tue, Aug 21, 2012 at 11:20:26AM +0530, Seema Datar wrote:
>>> Hi,
>>> 
>>> I am trying to write the backend implementation for PDNS 3.1. I have
>>> implemented the 4 methods ? list, get, getSOA and lookup.  The lookup
>>> implementation I could test using the dig command on my pdns installation.
>>> However, I had a question on how I can test the getSOA, list and get
>>> implementations without writing unit tests for them. Will they get invoked
>>> on
>>> providing certain dig options?
>>> 
>>> Thanks,
>>> Seema
>> 
>>> _______________________________________________
>>> Pdns-dev mailing list
>>> [email protected]
>>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>> 
>> 
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Pdns-dev mailing list
>> [email protected]
>> http://mailman.powerdns.com/mailman/listinfo/pdns-dev
>> 
>> 
>> End of Pdns-dev Digest, Vol 104, Issue 6
>> ****************************************
> 

_______________________________________________
Pdns-dev mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-dev

Reply via email to