Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 22:58:52 +0100 (CET)
From:      Robert Eckardt <Robert.Eckardt@aranea.de>
To:        questions@freebsd.org
Subject:   _ in hostnames
Message-ID:  <200003132158.WAA01750@aranea.de>

next in thread | raw e-mail | index | archive | help
Hi,

unfortunately I have lots of hostnames with `_' in them (like "dfsnfs1_0").

I tricked named to serve those names (check-name ignore) and nslookup resolves
the correct address.
However programs (like telnet, ping, ...) return "Unknown server error".
I assume this is caused by res_hnok() in /usr/src/contrib/bind/lib/resolv/res_comp.c
(Replacing "_" by "-" is not an option for some thousand hostnames. :-)

Is there an "official" way to convince the resolver to work with "_" ?

(This is with FreeBSD-3.2-R, FreeBSD-3.3-R and BIND-8.1)
Besides, NT4 has no problems with "_".


Ciao,
Robert

-- 
    Dr. Robert Eckardt          Robert.Eckardt@Robert-Eckardt.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003132158.WAA01750>