Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 23:48:22 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        opentrax@email.com
Cc:        andre.albsmeier@mchp.siemens.de, freebsd-bugs@FreeBSD.ORG
Subject:   Re: misc/22980: Strange behaviour in domain name resolution!!
Message-ID:  <20001121234822.A467@ringworld.oblivion.bg>
In-Reply-To: <200011212134.NAA00476@spammie.svbug.com>; from opentrax@email.com on Tue, Nov 21, 2000 at 01:34:02PM -0800
References:  <200011210650.WAA42253@freefall.freebsd.org> <200011212134.NAA00476@spammie.svbug.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 21, 2000 at 01:34:02PM -0800, opentrax@email.com wrote:
[snip]
> >  > >Maybe removing the illegal underscore might help. You could use
> >  > >a '-' instead of the '_'.
> >  > 
> >  > But THAT is the real name of the server.
> >  
> >  Well, I didn't doubt that it is the real name. But the
> >  name is illegal since it contains an underscore. I don't
> >  know if this causes the problem.
> >  
> >  > That is not my server.
> >  > Also, the name resolution doesn't fail on a Linux or a Solaris machine!
> >  
> >  That doesn't mean they are correct.
> >  
> Yes, there is an RFC for this also.
> Does anyone remember the RFC off hand and where to get it?

Tried looking?  A search for 'domain name' in the RFC index of www.faqs.org
turned up RFC 883 pretty quickly.. and there:

Appendix 1 - Domain Name Syntax Specification

   The preferred syntax of domain names is given by the following BNF
   rules.  Adherence to this syntax will result in fewer problems with
   many applications that use domain names (e.g., mail, TELNET).  Note
   that some applications use domain names containing binary information
   and hence do not follow this syntax.

      <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

   Note that while upper and lower case letters are allowed in domain
   names no significance is attached to the case.  That is, two names
   with the same spelling but different case are to be treated as if
   identical.

   The labels must follow the rules for ARPANET host names.  They must
   start with a letter, end with a letter or digit, and have as interior
   characters only letters, digits, and hyphen.  There are also some
   restrictions on the length.  Labels must be 63 characters or less.

The last paragraph pretty much says it all, for those too lazy to read BNF ;)

G'luck,
Peter

-- 
This sentence is false.


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




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