legal hostnames in zone files

Derek J. Balling dredd at megacity.org
Mon Feb 12 17:34:48 UTC 2001


RFC1034, 3.5 seems to indicate that underscores are not in the permissible set.

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!"         |
+---------------------+-----------------------------------------+


More information about the bind-users mailing list