Date: Fri, 13 Aug 1999 00:59:04 +0300 From: Evren Yurtesen <yurtesen@ispro.net.tr> To: Bill Fumerola <billf@jade.chc-chimes.com> Cc: Michael Mannsberger <mannsber@starmedia.net>, freebsd-hackers@FreeBSD.ORG Subject: Re:(2) hey Message-ID: <37B343A8.A94CD343@ispro.net.tr> References: <Pine.BSF.4.10.9908121608270.99851-100000@jade.chc-chimes.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, I am the person who has this problem. The RFCs does not explicitly say that we should not use underscore character as far as I understood. But it suggests which characters we should use. Also in RFC1033 it says (well the status of this one is UNKNOWN though) ----------------------------------------------------------------------------- The domain system allows a label to contain any 8-bit character. Although the domain system has no restrictions, other protocols such as SMTP do have name restrictions. Because of other protocol restrictions, only the following characters are recommended for use in a host name (besides the dot separator): "A-Z", "a-z", "0-9", dash and underscore ----------------------------------------------------------------------------- So Solaris does the right thing by understanding underscore I guess. Since it is not forbidden to use it in hostnames. http://www.crynwr.com/crynwr/rfc1035/rfc1035.html#2.3.1. ----------------------------------------------------------------------------- For example, when naming a mail domain, the user should satisfy both the rules of this memo and those in RFC-822. When creating a new host name, the old rules for HOSTS.TXT should be followed. This avoids problems when old software is converted to use domain names. The following syntax will result in fewer problems with many applications that use domain names (e.g., mail, TELNET). <domain> ::= <subdomain> | " " <subdomain> ::= <label> | <subdomain> "." <label> <label> ::= <letter> [ [ <ldh-str> ] <let-dig> ] <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str> <let-dig-hyp> ::= <let-dig> | "-" <let-dig> ::= <letter> | <digit> <letter> ::= any one of the 52 alphabetic characters A through Z in upper case and a through z in lower case <digit> ::= any one of the ten digits 0 through 9 ----------------------------------------------------------------------------- BTW. I could not really understand this explanation in RFC1035. This is very cryptic for me :( Thanks for the help Evren Yurtesen yurtesen@ispro.net.tr Bill Fumerola wrote: > > On Thu, 12 Aug 1999, Michael Mannsberger wrote: > > > ping www.atayatirim.com.tr works under Sun but not in FreeBSD - why? > > FreeBSD doesn't like "_" in a URL!!!!!!!! > > Uhm, that's a hostname, but yes, FreeBSD doesn't like it. Windows is > okay with it, however. > > http://www.crynwr.com/crynwr/rfc1035/rfc1035.html#2.3.1. > However explains why this hostname is not allowed. FreeBSD is not violating > RFC. > > -- > - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - > - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org - > > hawk% ping wam_notes.internal.chc-chimes.com > ping: cannot resolve wam_notes.internal.chc-chimes.com: Unknown server error > hawk% dig wam_notes.internal.chc-chimes.com |grep notes > ; <<>> DiG 8.1 <<>> wam_notes.internal.chc-chimes.com > ;; wam_notes.internal.chc-chimes.com, type = A, class = IN > wam_notes.internal.chc-chimes.com. 1D IN CNAME notes.internal.chc-chimes.com. > notes.internal.chc-chimes.com. 1D IN A 172.16.81.245 > > It should be noted that the dns server that my workstation queried is running > FreeBSD and has no trouble _serving_ hostnames with an underscore. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B343A8.A94CD343>