LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Internet (https://www.linuxquestions.org/questions/mandriva-30/internet-215255/)

Obie 08-09-2004 02:45 AM

Internet
 
Hi,

I finally managed to customise msec and have ping working on my local network. I am however unable to now ping any external address e.g. www.cisco.com from my Linux PC. When I run the command ping www.cisco.com it returns unknown host www.cisco.com. How do I overcome this?

Thoreau 08-09-2004 03:00 AM

emacs /etc/resolv.conf
nameserver XXX.XXX.XXX.XXX
ctrl-x,ctrl-s

that file is your DNS. You have none obviously. Put in your DNS or the IP of your router/gateway.

Obie 08-09-2004 03:02 AM

Not to worry. I figured it. Anyone who comes across this issue, please note to edit your /etc/resolv.conf file by adding the following line:

nameserver xxx.xxx.xxx.xxx #where xxx.xxx.xxx.xxx is the IP of your DNS Server e.g. ISP. Don't place your gateway IP address.

The /etc/resolv.conf is to help resolve forward IP requests e.g. www.cisco.com

Thoreau 08-10-2004 01:59 AM

Umm.. yea.


All times are GMT -5. The time now is 11:20 AM.