From owner-freebsd-stable Tue Mar 25 11:55:33 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E222F37B401 for ; Tue, 25 Mar 2003 11:55:29 -0800 (PST) Received: from tamu-relay.tamu.edu (smtp-relay.tamu.edu [165.91.143.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1449B43F85 for ; Tue, 25 Mar 2003 11:55:29 -0800 (PST) (envelope-from daved@nostrum.com) Received: from nostrum.com (vpn-0002.tamulink.tamu.edu [165.91.47.2]) by tamu-relay.tamu.edu (8.12.8/8.12.8) with ESMTP id h2PJtLoS052756; Tue, 25 Mar 2003 13:55:25 -0600 (CST) Date: Tue, 25 Mar 2003 13:55:24 -0600 Subject: Re: Resolver Issues (non valid hostname characters) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: "Marius Strom" , To: "Ken Menzel" From: David J Duchscher In-Reply-To: <086701c2f2ed$1f7ecd90$e1db7bd1@kenxp> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) X-Spam-Status: No, hits=-11.8 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_APPLEMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Try pinging this 'dont_work.net.tamu.edu'. Then try doing a nslookup or dig on the name. You will find that in /usr/src/lib/libc/net/res_comp.c at line 133 in the function res_hnok() the code that restricts DNS queries to RFC 952. DaveD On Tuesday, March 25, 2003, at 10:39 AM, Ken Menzel wrote: > hi, > I am not sure where you think freebsd needs support for underscores in > the resolver. > freebsd2# hostname -s free_bsd2 > freebsd2# hostname > free_bsd2.icarz.com > freebsd2#vi /etc/hosts (edit host file here adding new name) > freebsd2# ping free_bsd2 > PING free_bsd2.icarz.com (207.99.22.11): 56 data bytes > 64 bytes from 207.99.22.11: icmp_seq=0 ttl=64 time=0.128 ms > freebsd2# su > free_bsd2# > > If you are having trouble with bind try 'check-names ignore;' > zone "_msdcs.icarz.com" { > type master; > file "_msdcs.icarz.com.db"; > allow-update { dmcs; 127.0.0.1; }; > check-names ignore; > }; > > If that is not what you mean please be more specific. > Best of luck, hope this helps. > Ken > > ----- Original Message ----- > From: "Marius Strom" > To: "David J Duchscher" > Cc: > Sent: Tuesday, March 25, 2003 10:59 AM > Subject: Re: Resolver Issues (non valid hostname characters) > > >> FWIW, I've been having trouble with domains that in particular have > '_' >> in the hostname. >> >> I know it violates RFC952, but lots of people are using them now, > for >> good or bad. How about a compile-time flag to allow a "looser" >> adherence to the RFC? (Yeah, I know this would likely be gross, and > thus >> I'll defer to people who are more familiar with FreeBSD internals > here) >> >> On Mon, 24 Mar 2003, Dave Duchscher wrote: >>> It seems that the use of invalid characters in hostnames is > cropping >>> up more and more. Besides complaining to the offending site which >>> often doesn't work, I was wondering if these restrictions on > FreeBSD >>> should be re-examined. At this time, it seems that many OSes are > no >>> longer enforcing this requirement or never have. In my case, I am >>> running into a hostnames with an underscore character in the name. > It >>> seems that Linux, MacOS X, Solaris and Windows all allow this > hostname >>> to resolve but FreeBSD, as well as the other *BSD, reject it. > Should >>> FreeBSD follow suit? >>> >>> DaveD >>> >>> >>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>> with "unsubscribe freebsd-stable" in the body of the message >>> >> >> -- >> > /-------------------------------------------------> >> Marius Strom | Always carry a short length of fibre-optic > cable. >> Professional Geek | If you get lost, then you can drop it on > the >> System/Network Admin | ground, wait 10 minutes, and ask the > backhoe >> http://www.marius.org/ | operator how to get back to civilization. >> \-------------| Alan Frame > |----------------------> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-stable" in the body of the message >> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message