Technical article 110272

After upgrading from a system running BIND 4.9 to one running BIND 8.1, the complete zone will not load.

OpenServer 5.0.5UnixWare 7.1.0

Written · Last revised

Problem

After upgrading my system from one running BIND 4.9 to a system running BIND 8.1, the complete zone will not load.

Cause

A possible cause may be that there are underscores ("_") in one or
more of the host names noted in the master zone file.  The underscore
character is not considered a valid character in BIND 8.1.  An
'nslookup' of the host fails with:
*** localhost can't find host_1.sco.com: Non-existent host/domain

A check of /usr/adm/syslog might include entries like:

Jun 3 10:01:38 scosysv named[5350]: owner name "host_1.sco.com" IN (primary) is invalid - rejecting Jun 3 10:01:38 scosysv named[5350]: sco.com.hosts:9: owner name error Jun 3 10:01:38 scosysv named[5350]: sco.com.hosts:9: Database error (A) Jun 3 10:01:38 scosysv named[5350]: master zone "sco.com" (IN) rejected due to errors (serial 199901010)

Solution

There are two possible solutions for this problem:

Solution #1

Remove any underscores in host names noted in the master zone files, increment the serial number, and restart named.

A successful zone load should look similar to this:

Jun 3 10:14:38 scosysv named[5418]: master zone "sco.com" (IN) loaded (serial 199801011)

Solution #2
The server can check domain names based upon their expected client
contexts.  In the "options" statement in /etc/named.conf
(OpenServer) or /etc/inet/named.conf (UnixWare), "check-names"
can be set to either fail, warn, or ignore when inconsistencies
in names are detected, for example, in master zone files.  See
named.conf(SFF) man pages for the correct syntax.  The default
is "check-names master fail", and thus the errors in /usr/adm/syslog.

Setting "check-names master warn" would allow the complete zone to be loaded but a resulting warning message would be noted in /usr/adm/syslog:

Jun 3 10:27:06 scosysv named[5503]: owner name "host_1.sco.com" IN (primary) is invalid - proceeding anyway

Setting "check-names master ignore" would result in a successful zone load with no error or warning messages as noted in Solution #1, above.

See also

man page named.conf(SFF)
RFC952 (ftp://ftp.isi.edu/in-notes/rfd952.txt)
NOTE:     This Technical Article was kindly submitted by:
Authorized Support Center, ESS
email: support@esshelp.com

From the Xinuos technical article database, record 110272. Reproduced with permission. The original is at www.sco.com/ta/110272, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.