LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 0
Cannot resolve hostnames


Hello,

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.

Thanks,
Bob.Buchanan@millersville.edu
 
Old 02-12-2005, 05:56 PM   #2
sigsegv
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:

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


Reply


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 01:17 PM
Fedora can resolve external hostnames but not internal TheLandofSmeg Linux - Networking 3 02-25-2005 07:57 PM
Can't resolve hostnames....need help shaggystyle Linux - Networking 2 08-28-2004 02:20 AM
pppoe seems to connect but cant resolve hostnames mecister Linux - Networking 2 06-23-2004 06:32 PM
resolve hostnames zero_kewl Linux - General 5 09-01-2003 04:00 AM


All times are GMT -5. The time now is 10:28 AM.

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