On Wed, 25 Nov 2009 16:59:52 -0000, Sad Clouds
<cryintotheblue...@googlemail.com> wrote:
> On Wed, 25 Nov 2009 16:16:04 -0000, <casper....@sun.com> wrote:
> 
>>
>>
>>> I just realised something, 'domainname' returns localnet.net, maybe
this
>>> is what's appending .net to non-existent domain names. But then this
>>> doesn't explain why on occasions typing 'www.google.com' or any other
>>> valid name, takes web pages to other web servers??
>>>
>>
>> That could just be a fluke of the ISP webserver (not responding quickly
>> enough).
>>
>> Add a "search" line to resolv.conf and that should fix it (as long as
it
>> is valid and doesn't contain "net")
>>
>> Casper
>>
> 
> OK, thanks for your help, it all makes sense now. I guess this is  
> something to watch out for in the future when setting up resolver config

> files.

Perhaps this undesirable behaviour should be avoided by making DHCP add a
'search' line to resolv.conf if that disables the default resolver
behaviour. I've been bitten by this when using .org local domains, because
of the "com.org" domain wildcard.

-Albert
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to