Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-12-2005, 05:26 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Cannot resolve hostnames


I'm running a new install of FC2 at home. I have a wired router connecting two computers at home to my cable modem. Networking is functioning on the FC2 box in that I can ping hosts by IP# and ssh to my work computer (because I know its IP#). However, I'm not getting any hostname resolution, which is a real handicap. The other computer on the home network is a Windows XP box and networking (including hostname resolution) appears to be fully functional. How can I fix this? The contents of my /etc/resolv.conf is:

search localdomain

Any help will be appreciated.

Old 02-12-2005, 06:56 PM   #2
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Go to the windows machine and get the IPs for your DNS servers. Then put them in your resolv.conf like so:

search  <yourdomain.tld>
nameserver <FirstIP>
nameserver <SecondIP>


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to resolve any hostnames, including localhost calamari Linux - Networking 10 11-02-2005 02:17 PM
Fedora can resolve external hostnames but not internal TheLandofSmeg Linux - Networking 3 02-25-2005 08:57 PM
Can't resolve hostnames....need help shaggystyle Linux - Networking 2 08-28-2004 03:20 AM
pppoe seems to connect but cant resolve hostnames mecister Linux - Networking 2 06-23-2004 07:32 PM
resolve hostnames zero_kewl Linux - General 5 09-01-2003 05:00 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration