Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[network] Can't find localhost !? (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
squeeden
n00b
n00b


Joined: 27 May 2004
Posts: 6
Location: Columbia University, NY

PostPosted: Thu May 27, 2004 8:11 pm    Post subject: [network] Can't find localhost !? (solved) Reply with quote

Hello,
I recently changed domain names, and all of a sudden I cannot resolve localhost !!! It seems everything in my /etc/hosts file is being ignored. Is there anything obvious I am missing?

Some quick configuration files:
Code:

root@squeeden etc # cat /etc/hosts
localhost       127.0.0.1
#squeeden.dyndns.org    127.0.0.1


Code:

root@squeeden etc # cat hostname dnsdomainname
squeeden
ne1.client2.attbi.com


Code:

root@squeeden etc # cat resolv.conf
domain ne1.client2.attbi.com
nameserver 204.127.202.19
nameserver 216.148.227.79
search ne1.client2.attbi.com


Code:

root@squeeden etc # ping localhost.ne1.client2.attbi.com
ping: unknown host localhost.ne1.client2.attbi.com
root@squeeden etc # ping localhost
ping: unknown host localhost
root@squeeden etc # ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.094 ms


any ideas at all???


Last edited by squeeden on Thu May 27, 2004 9:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Thu May 27, 2004 8:18 pm    Post subject: Reply with quote

My /etc/hosts lists the IP first.

Code:
127.0.0.1       localhost


Dave
Back to top
View user's profile Send private message
squeeden
n00b
n00b


Joined: 27 May 2004
Posts: 6
Location: Columbia University, NY

PostPosted: Thu May 27, 2004 8:21 pm    Post subject: Reply with quote

alright, I'm hanging my head in shame.

that was it.

(I give up). Many thanks on that one.
Back to top
View user's profile Send private message
Pachacamac
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1264
Location: Paris - France

PostPosted: Thu May 27, 2004 9:34 pm    Post subject: Reply with quote

Can you rename your title to make a better forum ?

Click on the "edit" to your firt post and change your title to [Network]Can't find localhost (solved)

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum