Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 11:39:36 -0500
From:      "Ken Menzel" <kenm@icarz.com>
To:        "Marius Strom" <marius@marius.org>, "David J Duchscher" <daved@nostrum.com>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Resolver Issues (non valid hostname characters)
Message-ID:  <086701c2f2ed$1f7ecd90$e1db7bd1@kenxp>
References:  <DA188857-5E78-11D7-9A3A-0003930B3DA4@nostrum.com> <20030325155917.GE76682@marius.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <marius@marius.org>
To: "David J Duchscher" <daved@nostrum.com>
Cc: <freebsd-stable@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?086701c2f2ed$1f7ecd90$e1db7bd1>