Date: Mon, 13 Mar 2000 21:04:35 -0800 From: Doug Barton <DougB@simplenet.com> To: Robert Eckardt <Robert.Eckardt@aranea.de> Cc: questions@freebsd.org Subject: Re: _ in hostnames Message-ID: <38CDC863.CCF06A8A@simplenet.com> References: <200003132158.WAA01750@aranea.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Eckardt wrote: > > 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 "_" ? Don't perpetuate a kludge. Fix your zones. -- "Welcome to the desert of the real." - Laurence Fishburne as Morpheus, "The Matrix" 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?38CDC863.CCF06A8A>