0
votes
2answers
169 views

I messed up my /etc/hosts and /etc/resolv.conf files, now my network doesn't work. How can I reset it?

I tweaked my system by installing ftp server and a dns server. I think in the process I messed up resolv.conf and the hosts file. Now I want to restore it but am not able to do so. I am using ...
0
votes
4answers
1k views

why is chrome resolving domain names differently than ping which is resolving differently than ssh?

When I go to me.com in chrome it tells me that domain can't be found. When I go to me.com with ssh, it connects to that server. When I try to ping me.com it pings localhost. I want me.com to ...
2
votes
2answers
7k views

Network configuration: resolv.conf and hosts

I read This manual and I'm a little confused. This is what I don't undetstand: When your system tries to resolve a hostname to an IP address or determine the ostname for an IP address, it refers to ...
1
vote
1answer
57 views

How can I get the Default files .. Networks / Hosts / resolve / and whatever else I changed to try and get up my webserver?

Does anyone have the original.. Default Hosts File, Resolve File.. and networks file? Please someone help me get these back to normal so I can put up a web-server. I'm tired, just to set up a ...
8
votes
1answer
14k views

Why does my name resolution hit the DNS even with a hosts file entry?

I'm running Ubuntu 10.04.2 LTS Desktop. Being a web developer, naturally I created a "me.com" in my /etc/hosts file. Unfortunately, my name resolution is going out to the DNS before first checking my ...