name issue

Andris Kalnozols andris at hpl.hp.com
Wed Aug 1 23:36:21 UTC 2001


> 
> How can I allow _ into hosts? As i'm picking up a heap of errors from hosts
> that have it in, and im unable to do a lookup on them obviously because
> named is rejecting them.
> 
> Aug  2 10:58:55 dns01ftc named[7160]: owner name
> "c2924mjt_1.bellsouth.co.nz" IN (primary) is invalid - rejecting
> Aug  2 10:58:55 dns01ftc named[7160]: db.bellsouth:282: owner name error
> Aug  2 10:58:55 dns01ftc named[7160]: db.bellsouth:282: Database error near
> (a)

Method 1:  Modify BIND 8's default name checking from 'fail'
	   to 'warn', e.g.,
	   
	   options {
                    ...
                    check-names master warn; 

Method 2:  Get the underscores out of your canonical names.  If your
           infrastructure expects to find such domain names, put the
           underscores into CNAMEs instead, e.g.,

           c292mjt-1.bellsouth.co.nz.   A       x.x.x.x
           c292mjt_1.bellsouth.co.nz.   CNAME   c292mjt-1.bellsouth.co.nz.

The second method is better because your DNS data will interoperate
with the Internet with fewer problems.

Andris Kalnozols
Hewlett-Packard Laboratories
andris at hpl.hp.com



More information about the bind-users mailing list