![]() | ![]() |
All BIND 4.9 and later name servers ignore any " out of zone" resource records in a zone data file. So if you cram PTR records for all your in-addr.arpa zones into one file and load it with a single zone statement or primary directive, the name server ignores all the records not in the named zone. And that, of course, means loads of missing PTR records and failed gethostbyaddr( ) calls.
BIND does log that it's ignoring the records in syslog. The messages look like this in BIND 9:
And like this in BIND 8:Sep 26 13:48:19 terminator named[21960]: dns_master_load: db.movie.edu:16: ignoring out-of-zone data
The solution is to use one zone data file and one zone statement or primary directive per zone.Jan 7 13:58:01 terminator named[231]: db.movie.edu:16: data "hp.com" outside zone "movie.edu" (ignored) Jan 7 13:58:01 terminator named[231]: db.movie.edu:17: data "hp.com" outside zone "movie.edu" (ignored)