ts-7000
[Top] [All Lists]

[ts-7000] Does tslinux use /etc/host.conf?

To:
Subject: [ts-7000] Does tslinux use /etc/host.conf?
From: "naturalwatt" <>
Date: Fri, 23 Feb 2007 18:04:59 -0000
I had a problem on a TS7250, that couldn't even resolve localhost until 
/etc/resolv.conf 
was altered to set the nameserver line to point to something real.

My router is on 192.168.0.1, so the resolv.conf reads
--
search ts-local.net
nameserver 127.0.0.1
nameserver 192.168.0.1
--

The intention is that it tries /etc/hosts first, so that localhost can always 
be resolved, then 
tries the Big Bad World for everything else.

However, it doesn't do what I expect.  I have an entry in /etc/hosts, which is 
not picked 
up.  I know that a named is not running, but there is no complaint about this.  
I think the 
nameserver 127.0.01 line is not valid, as there is no nameserver running on my 
system.

The man pages for Linux in general talk about a /etc/host.conf file which can 
be set to 
search /etc/hosts first, then use BIND.  There is no /etc/host.conf supplied 
with TS-Linux, 
and creating one doesn't seem to give the results I expect - ie, looking up in 
/etc/hosts 
first.

Although it sort of works, allowing the router to be used as a nameserver, I 
would prefer 
that the system can still resolve localhost even if the router were to fail or 
be 
disconnected.

Also, although a resolv.conf containing only nameserver 127.0.0.1 works, to my 
surprise, 
for resolving names in /etc/hosts, when there are two nameserver lines, it does 
*not* 
seem to go onto the second one if the first one fails.

Any explanation or comments?

I am used to Solaris and HP-UX, which are controlled by nsswitch.conf files, 
which seems 
to be what host.conf is claiming to do.

Martin



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups - Join or create groups, clubs, forums &amp; communities. Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups - Join or create groups, clubs, forums &amp; 
communities. is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU