DNS checker doesn't report version

Bug #338655 reported by Ole Martin Bjørndalen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Ole Martin Bjørndalen

Bug Description

The DNS checker has code to request the server version, but it is commented because it breaks on non-bind servers.
The code is:

ver = d.req(name="version.bind",qclass="chaos", qtype='txt').answers

The checker should just try the query, and just set version to '' if it fails (perhaps writing a warning to the error log.)

Alternatively, the query could be made optional with either an 'queryversion=yes|no' style argument, something like 'versionname=version.bind' or maybe 'servertype=bind'. This seems a little over the top, though.

The DNS checker uses a bundled version of pydns which is modified to allow chaos class queries. The version.bind query will not work with the standard version of pydns.

Changed in nav:
assignee: nobody → olemb
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
importance: Undecided → Medium
milestone: none → 3.5.7
status: New → Fix Committed
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.