[Pdns-users] My SOA lookup is calling lookup fn. instead of getSOA fn.

bert hubert bert.hubert at powerdns.com
Thu Aug 20 07:24:40 UTC 2015


Sumit,

Double check your getSOA prototype is *exactly* identical to the getSOA in
DNSBackend! Otherwise the parent class getSOA will get called, which will
call lookup for you.

Also, could we move this discussion to pdns-dev at mailman.powerdns.com?

Thanks!

	Bert

On Thu, Aug 20, 2015 at 12:51:38PM +0530, sumit sharma wrote:
> Hi,
> 
> Ever since i rebased my branch & updated my backend to use the new APIs, my
> SOA lookups are going to
> 
> void lookup(const QType &type, const DNSName &qname, DNSPacket *pkt_p, int
> zoneId)
> instead of
> 
> bool getSOA(const string &name, SOAData &soadata, DNSPacket *p = 0)
> 
> I have made the changes to fix the compiler errors. Is there something else
> pending to do so that the SOA call goes to my getSOA fn.
> 
> Thanks,
> Sumit

> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users





More information about the Pdns-users mailing list