From owner-freebsd-questions Mon Mar 13 13:59: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aranea.de (dialin12.niederdorfelden.aranea.net [212.101.36.12]) by hub.freebsd.org (Postfix) with ESMTP id 9A86837BD8B for ; Mon, 13 Mar 2000 13:58:54 -0800 (PST) (envelope-from Robert.Eckardt@aranea.de) Received: (from roberte@localhost) by aranea.de (8.9.3/8.9.3) id WAA01750 for questions@freebsd.org; Mon, 13 Mar 2000 22:58:52 +0100 (CET) (envelope-from roberte) From: Robert Eckardt Message-Id: <200003132158.WAA01750@aranea.de> Subject: _ in hostnames To: questions@freebsd.org Date: Mon, 13 Mar 2000 22:58:52 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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