Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 2003 11:57:55 +0400
From:      "Vadim A. Umanski" <umanski@panferova.net.ru>
To:        Mário Freitas <sub_0@netcabo.pt>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re[2]: misc/54189: DNS resolver should resolve hostnames with underscores
Message-ID:  <151605688.20030719115755@panferova.net.ru>
In-Reply-To: <1058576063.1430.20.camel@suzy.unbreakable.homeunix.org>
References:  <1058576063.1430.20.camel@suzy.unbreakable.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi, Mário.

MF> Hi Jonathan,
MF> The problem you submitted is due to mozilla's gethostbyname() own(bad)
MF> implementation. FreeBSD's resolver can deal with underscores in
MF> hostnames without any problem at all. I think you should submit that
MF> problem to mozilla's bug tracking system(yes I succeded resolving that
MF> hostname in FreeBSD 4.8 and 5.1).

   It's not a problem. According to standards, names with underscores
are illegal and should NOT be resolved. In fact, they should not be
used at all! They are not intended to work.

   Nevertheless, in most relisations of DNS servers it works, but in
some (old BIND versions and some exotic ones) it doesn't. I have to
notice once more - it doesn't have to! It may do and it may do not...

You can ask them to implement it, if they'd like they'll do it due to
wrongful but common practice, but if they wouldn't like do do it, you
can't nake them to, 'cause they don't have to!

   I never use such names. Use simething like
my-beloved-home-network-gw.provider.com , that'll do.

MF> Mário Freitas


MF> _______________________________________________
MF> freebsd-bugs@freebsd.org mailing list
MF> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
MF> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"



-- 
   SY                                Vadim                     
   <Private E-Mail>                  mailto:umanski@panferova.net.ru
   <Home Networking>                 mailto:admin@panferova.net.ru
   <Work>                            mailto:umanski@callcenter.ru



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