Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 23:05:12 -0400
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        Mikko Tyolajarvi <mikko@dynas.se>, bts@babbleon.org
Cc:        emulation@freebsd.org
Subject:   Re: Weird Linux / nameserver interaction
Message-ID:  <01092623051200.00591@i8k.babbleon.org>
In-Reply-To: <200109261814.f8QIEDi74396@explorer.rsa.com>
References:  <01092608154803.00563@i8k.babbleon.org> <01092608242005.00563@i8k.babbleon.org> <200109261814.f8QIEDi74396@explorer.rsa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 26 September 2001 14:14, Mikko Tyolajarvi wrote:
> In local.freebsd.emulation you write:
>
> >|>I'm running a local nameserver on FreeBSD so that when I have VPN access
> >|>up I can get SAS names from the SAS name server but external names from
> >|>the RoadRunner name server.
> >|>
> >|>This works just peachy for serving up names to FreeBSD programs, but
> >|>when I run Linux Netscape* it can't resolve any names via the name
> >|>server.  That is, if /etc/resolv.conf points to 127.0.0.1, then FreeBSD
> >|>apps find names just fine, but Linux apps to do not.
>
> When I had this (?) problem, it turned out that linux clients needed
> an explicit "nameserver 127.0.0.1" line in /etc/resolv.conf, but
> FreeBSD clients implicitly default to localhost.  After adding that
> line, linux clients could do DNS lookups.

Geez, I can't believe it was that simple.  Thank you very much.

That's all it was.

This fails for Linux:

	search unx.sas.com pc.sas.com us.sas.com sas.com
	127.0.0.1

But this works:

	search unx.sas.com pc.sas.com us.sas.com sas.com
	nameserver 127.0.0.1

It's like the keyword "nameserver" is implicit for FreeBSD but explicitly 
required for Linux.

Thank you very much!








>
>   $.02,
>   /Mikko

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                        http://www.babbleon.org

--------------------> Free Dmitry Sklyarov! <-------------------------

http://www.eff.org                 http://www.programming-freedom.org 

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




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