| 1 |
$Id: CHANGES,v 1.11 1997/10/06 13:27:37 barr Exp barr $ |
| 2 |
|
| 3 |
Version 2.0.2 |
| 4 |
|
| 5 |
Silly bug in output, SOA= was listing the domain, not the master. |
| 6 |
Reported by Jeff Miller <[email protected]>. |
| 7 |
|
| 8 |
dnswalk now checks to see that target of MX, CNAME and NS are a hostname, |
| 9 |
not an IP addr. |
| 10 |
|
| 11 |
Version 2.0.1 |
| 12 |
|
| 13 |
Regexp bug in 'makereports' script. (chopped off last charcter of |
| 14 |
contact address). |
| 15 |
|
| 16 |
Version 2.0.0 (beta) |
| 17 |
|
| 18 |
Ported to Net::DNS. Now no longer relies on 'dig'. Some less-used |
| 19 |
error messages removed, such as the 'double domain' check. |
| 20 |
|
| 21 |
dnswalk now no longer saves zone transferrs to local files, due to |
| 22 |
the fact that dnswalk no longer uses 'dig'. The zone transfer itself |
| 23 |
doesn't take that long -- mostly it's CPU time churning on what comes |
| 24 |
in. I may add it back if there's enough demand (using the "Storage" |
| 25 |
perl package, like what is used by the Net::DNS package's examples) |
| 26 |
|
| 27 |
Added 'WARN', 'FAIL', and 'BAD' prefixes to error messages, to indicate |
| 28 |
some level of 'badness' associated with a particular message. Makes |
| 29 |
machine parsing easier, as well as human interpreting. ('FAIL' |
| 30 |
was called 'ERROR' before beta release). |
| 31 |
|
| 32 |
dnswalk now exits with a return code equal to the number of 'BAD' things |
| 33 |
found. (from an request by Dave Crocker) |
| 34 |
|
| 35 |
dnswalk (with -F fascist checking) no longer gives A record warnings |
| 36 |
with hosts like "neptune" and "neptune-le0" (it treats them as the |
| 37 |
same host). Formerly it would warn that A record for neptune-le0 |
| 38 |
"points to" neptune. (this is a common situation with multi-homed |
| 39 |
hosts, where A records pointing just to individual interfaces are used). |
| 40 |
Anything "host-something" is treated the same as "host". (request |
| 41 |
from David Nelson <[email protected]>) |
| 42 |
|
| 43 |
perform some rudimentary checks on SOA contact field. (99% of |
| 44 |
the time the error is someone forgetting you have to replace the |
| 45 |
"@" sign in the email address with a ".".) |
| 46 |
|
| 47 |
Reformatted the code to be a bit more readable. |
| 48 |
|
| 49 |
Version 1.8.3 |
| 50 |
Miscellaneous fixes, getautservers(). Condensed code. |
| 51 |
|
| 52 |
Hack added to ignore RFC 1101 netmasks encoding. |
| 53 |
|
| 54 |
Assigning $1 wasn't working, use local variable. Patch from Mark |
| 55 |
Andrews <[email protected]>. |
| 56 |
|
| 57 |
New Perl script "makereports" included to take output and generate |
| 58 |
reports for each hostmaster for the problems within his/her zone. |
| 59 |
|
| 60 |
Suggestion by [email protected] (Mark Andrews) to only |
| 61 |
check for invalid characters on A or MX records. I could probably |
| 62 |
do two-level checking, one for 1033 compliance on all records |
| 63 |
and 1035 compliance on mail-able names (A and MX). However |
| 64 |
this is a reasonable compromise for now. |
| 65 |
|
| 66 |
Version 1.8.2 |
| 67 |
Fixed spelling errors and shoddy syntax in getauthservers(), from |
| 68 |
Jost Krieger <[email protected]> |
| 69 |
|
| 70 |
Accounted for Solaris's broken gethostbyname() which includes trailing |
| 71 |
dots in retuned name. |
| 72 |
|
| 73 |
Minor fixes in lame delegation checking, and getauthservers(). |
| 74 |
|
| 75 |
Version 1.8.1 |
| 76 |
One-line fix to remove reference to non-existent parameter to getmaster(). |
| 77 |
Reported by [email protected] (Stefan Petri). |
| 78 |
|
| 79 |
Version 1.8 |
| 80 |
Typos, documentation corrections, additions to TIPS as well as |
| 81 |
stuff for TODO from Piete Brooks <[email protected]>. |
| 82 |
|
| 83 |
Patch from Thorsten Lockert <[email protected]>: remove directory |
| 84 |
if zone transfer fails. |
| 85 |
|
| 86 |
Fixed getauthservers() routine. Sometimes had list of servers |
| 87 |
which contained each server listed twice. Also fixed it to |
| 88 |
use the 'master server' field of the SOA record as a 'hint' |
| 89 |
to which server to check first. |
| 90 |
|
| 91 |
Fixed typo in dot-death checking. Error message forgot \n. |
| 92 |
|
| 93 |
Added -D flag to set base directory for saved axfr files. |
| 94 |
|
| 95 |
Version 1.7 |
| 96 |
Added "_" to list of invalid characters in a hostname. (Painful |
| 97 |
because we have hundreds of PCs and Macs here with one.) Can |
| 98 |
now be supressed with '-i' option (whew). |
| 99 |
|
| 100 |
Fixed wildcard RR's being marked as having invalid characters. |
| 101 |
(Thanks to Paul Turner <[email protected]> for reporting it) |
| 102 |
|
| 103 |
Changed how the return codes for gethostby*() routines were being |
| 104 |
checked. Added caveat in README about herror(). Thanks to Bill Fenner |
| 105 |
|
| 106 |
Suppresses duplicate error message per zone. Idea from Paul Turner. |
| 107 |
|
| 108 |
Checks for dom.ain.dom.ain. in data, in case someone forgot the |
| 109 |
trailing '.'. |
| 110 |
|
| 111 |
Finally added a man page. Trimmed out redundant information |
| 112 |
from the README file. |
| 113 |
|
| 114 |
Version 1.6 |
| 115 |
removed -c switch, since I thought it would work a long time ago, but |
| 116 |
later found out it could never be made to work. Well, it could, just |
| 117 |
not very nicely. (nor efficiently) |
| 118 |
|
| 119 |
Fixed bug with parsing of dig output. Newer dig has slightly different |
| 120 |
output, causing serial numbers to not be pulled out. |
| 121 |
|
| 122 |
Changed the do-dnswalk script to use exec > logfile instead of |
| 123 |
redirecting every invocation to a logfile. Idea from Dan Ehrlich. |
| 124 |
|
| 125 |
Fixed problem with dnswalk using old list of subdomains in axfr file, |
| 126 |
ignoring the new zone transfer if it was needed. |
| 127 |
|
| 128 |
Accounted for annoying behavior of new dig to print duplicate SOA's. |
| 129 |
|
| 130 |
Documented nameserver error reporting. |
| 131 |
|
| 132 |
Version 1.5 |
| 133 |
|
| 134 |
added -F switch. This performs "fascist" checking. For every A record, |
| 135 |
it checks to see that it actually points to the canonical name listed |
| 136 |
for the PTR and reports mismatches. Try this switch at least once to see |
| 137 |
what kind of things pop up. (You may be surprised) |
| 138 |
|
| 139 |
added -m switch. Performs check on zone only if it has been modified |
| 140 |
(serial number changed) since the previous run. |
| 141 |
|
| 142 |
changed format of messages to be shorter and more precise. (and hopefully |
| 143 |
easier to read) Read the README section for a full description. |
| 144 |
|
| 145 |
warns if a zone has only one authoratative nameserver |
| 146 |
*** in later versions of 1.3, not posted here, but available for ftp, |
| 147 |
there was a bad bug which caused erroneous warnings about having only |
| 148 |
one nameserver. (was using the wrong variable) |
| 149 |
|
| 150 |
reports any errors listed in dig zone transfer output. (usually |
| 151 |
caused by a corrupted zone file, or invalid syntax in data; for example |
| 152 |
only one field in an HINFO record.) |
| 153 |
|
| 154 |
now reports any resolver errors from gethostbyname and gethostbyaddr. |
| 155 |
(for example, a server timeout, connection refused, etc) |
| 156 |
|
| 157 |
sorts output by zone (correctly -- some versions of 1.3 didn't quite do |
| 158 |
this right) |
| 159 |
|
| 160 |
displays server of authority and zone contact for each zone it checks. |
| 161 |
|
| 162 |
I've now included a 'do-dnswalk' script that is an example wrapper |
| 163 |
that I use around dnswalk to turn on status debugging and put the |
| 164 |
results in a log file. Salt to taste. |