legal hostnames in zone files

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Mon Feb 12 22:44:58 UTC 2001


	The actually the RFC which defines what is legal in a
	hostname is RFC 952.  RFC 1123 extended the syntax to allow
	leading digits.

	You can store many things in the DNS.  Hostnames are just one
	thing that is stored.

	Mark

> 
> RFC1034, 3.5 seems to indicate that underscores are not in the permissible se
> t.
> 
> D
> 
> 
> At 11:20 AM -0500 2/12/01, Borgia Joe A Contr AFRL/IFOS wrote:
> >Is it possible to have hostnames with underscores in the zone files? I'm
> >testing
> >8.2.3, and it seems to be having trouble loading zones with hostnames that
> >have underscores. When I take the underscores out, it seems to load okay.
> >But domain-wide, I have 287 systems with underscores in the hostname. It
> >would
> >suck to have to touch all these boxes and change them just to suit 8.2.3.
> >
> >Still...if I have to....<sigh>. It just seems like I'm missing something.
> >
> >Feb  9 12:21:32 pinky named[11633]: Zone "UNITY.RL.AF.MIL" (file
> >/usr/local/domain/domain.unity): No de
> >fault TTL ($TTL <value>) set, using SOA minimum instead
> >Feb  9 12:21:32 pinky named[11633]: owner name "NOCTEST_180.UNITY.RL.AF.MIL"
> >IN (primary) is invalid -
> >rejecting
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:226:
> >owner name error
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:226:
> >Database error near (A)
> >Feb  9 12:21:32 pinky named[11633]: owner name "NOCTEST_182.UNITY.RL.AF.MIL"
> >IN (primary) is invalid -
> >rejecting
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:228:
> >owner name error
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:228:
> >Database error near (A)
> >Feb  9 12:21:32 pinky named[11633]: owner name "NOCTEST_183.UNITY.RL.AF.MIL"
> >IN (primary) is invalid -
> >rejecting
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:230:
> >owner name error
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:230:
> >Database error near (A)
> >Feb  9 12:21:32 pinky named[11633]: owner name "SANDRA_LEE.UNITY.RL.AF.MIL"
> >IN (primary) is invalid - r
> >ejecting
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:253:
> >owner name error
> >Feb  9 12:21:32 pinky named[11633]: /usr/local/domain/domain.unity:253:
> >Database error near (A)
> >Feb  9 12:21:32 pinky named[11633]: master zone "UNITY.RL.AF.MIL" (IN)
> >rejected due to errors (serial 2
> >001020702
> 
> -- 
> +---------------------+-----------------------------------------+
> | dredd at megacity.org  | "Conan! What is best in life?"          |
> |  Derek J. Balling   | "To crush your enemies, see them        |
> |                     |    driven before you, and to hear the   |
> |                     |    lamentation of their women!"         |
> +---------------------+-----------------------------------------+
> 
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com


More information about the bind-users mailing list