Ticket #154 (closed defect: wontfix)

Opened 6 years ago

Last modified 5 years ago

Patch for more lenient zone parsing

Reported by: anon Owned by: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords:
Cc: matti@…

Description

If there's a malformed IP entry in the database, PowerDNS drops the question. By itself this wouldn't be bad, but it also breaks AXFR transfers of the said zone. I think one malformed entry in the zone should not break the whole zone.

The attached patch (applies to 2.9.21) serves malformed IP addresses as '255.255.255.255' and also logs an error telling what the problem record is.

Attachments

pdns_ip_parser.patch Download (1.7 KB) - added by anon 6 years ago.

Change History

Changed 6 years ago by anon

Changed 5 years ago by ahu

  • status changed from new to closed
  • resolution set to wontfix

If it breaks you should really notice, and not silently fix it. (is my philosophy)

Note: See TracTickets for help on using tickets.