[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: woody upgrade & odd DNS/SSH behavior



> Are you running a nameserver?

Yes, doma is the nameserver, as well as firewall/gateway/mailserver, etc.  igra 
is a client on the LAN.

> My domain is "this.is"
> and in /etc/resolv.conf I have
> ------
> search this.is 
> nameserver 127.0.0.1
> nameserver 194.144.127.123
> nameserver 194.144.127.125
> --------
> 
> I do remember having an entry
> at the top of that file
> ------
> hosts
> --------
>   or was that
> --------
> order hosts,bind
> -----------
> sorry I do not remember
> that would imply reading from /etc/hosts
> but I can not find mention of it in

Well, the 'order hosts,bind' entry can be found in /etc/host.conf, which is 
identical on doma (potato) and igra (woody):

mattyt@igra:~$ cat /etc/host.conf
order hosts,bind
multi on

They both also have identical /etc/hosts files, and the /etc/resolv.conf is 
nearly identical, with the first host on doma being 127.0.0.1 and the first 
host on igra being 192.168.1.1 (doma's IP).  The 2nd and 3rd entries are the 
primary and secondary DNS of my ISP.

Something changed during the upgrade to woody, since doma is still able to 
do 'ssh -l mattyt igra', whereas igra can't do 'ssh -l mattyt doma' anymore, 
although using the IP address works.

And, ssh under igra must be reading one of the /etc/hosts files, since the 
error says, "ssh: doma.mattyt.net: Name or service not known", when all I typed 
in for the host was doma, not doma.mattyt.net.

Cheers......... :)

Matthew Thompson       http://mattyt.net
mattyt@oz.net          http://www.oz.net/~mattyt
?Try to want what you have, instead of spending your strength trying to get 
what you want.?


--  
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: