Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] [SLIGHTLY OT] Machine Names


On Mon, Oct 09, 2000 at 09:57:27AM +1100, Peter Rundle wrote:
> >Something to keep in mind is that underscore (ie, _ ) is technically not
> >a valid character in DNS, and thus should probably be avoided in hostnames.
> 
> Not only just technically not valid, if you are using BIND (standard Linux
> named) then an underscore in a hostname will cause the name server to become
> non-authorative for the zone that the host is in. In technical terms this is
> "a bad thing".

Putting "check-names warn;"  or "check-names ignore;" in the relevant
section in your named.conf will get around this.
(I'd recommend using "warn" so you don't miss something more critical in
your zonefile).