LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot resolve hostnames (https://www.linuxquestions.org/questions/linux-networking-3/cannot-resolve-hostnames-289420/)

BobBuchanan 02-12-2005 04:26 PM

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

sigsegv 02-12-2005 05:56 PM

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>



All times are GMT -5. The time now is 10:55 PM.