[Pdns-dev] Re: [patch] ldapbackend ipv6 fix

bert hubert ahu at ds9a.nl
Thu Oct 23 21:38:35 CEST 2003


On Sun, Oct 19, 2003 at 08:01:00PM +0200, Norbert Sendetzky wrote:

> Attached you find a diff which fixes ipv6 reverse lookups if 
> ldap-disable-ptrrecord is enabled. The new file utils.hh contains now 
> all ip transformation functions.

Applied, thanks.

Btw:
+  else if( parts.size() == 34 && len > 9 && (qesc.substr( len - 9, 9 ) == ".ip6.arpa" ) )   // IPv6 reverse lookups

This looks pretty fragile!


-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-dev mailing list