[Pdns-users] Re: AXFR's in powerdns

Christof Meerwald cmeerw at web.de
Thu May 1 20:07:33 UTC 2003


On Sat, 5 Apr 2003 20:06:22 +0200, bert hubert wrote:
> On Fri, Mar 21, 2003 at 08:01:16PM +0000, Andrew Mulholland wrote:
>> can I request that if its not difficult, maybe change this to
>> automatically assume disable-axfr=yes IF allow-axfr-ips is defined
>> unless otherwise specified in the configuration.
> I've just changed this in my tree, will be in 2.9.8.

I have updated to 2.9.8 and it currently allows axfrs from everywhere even
if I have disable-axfr=yes and allow-axfr-ips set.

Seems like your "fix" messed it up.

Hmm, I guess tcpreceiver.cc, line 249 should be changed to:

if(!arg().mustDo("disable-axfr") && arg()["allow-axfr-ips"].empty())
  // default is 'everybody can do axfr'
  return true;


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw at jabber.at
mailto cmeerw at web.de


More information about the Pdns-users mailing list