[OLUG] failures

Chad S. Lauritsen csl at plconline.com
Wed Jan 5 19:31:37 UTC 2000


Nathan Brown wrote:

> Ok i pinged the olug site with both name and number.
> the name returned nothing
> the number returned only the first line "Ping olug.bstc.net (2007.239.221.11) :
> 56 data bytes"

Okay if your TCP/IP setup is complete you should get a response back from the
server if it's up. Try some other IPs...
ftp.apple.com = 17.254.0.37
www.altavista.com = 204.152.190.65

If these don't work...I'd say you probably have something wrong with your default
route. that's another matter altogether, and if it is broken, it would explain why
dns won't work!

To fix a defaultroute problem, make sure that the 'defaultroute' option is included
when you run pppd to connect to the server. The easiest way to do this is probably
using the netcfg tool mentioned before. Alternatively, if you're using a script,
make sure that 'defaultroute' is somewhere after the 'pppd' in the script.  If
you're using 'ifup ppp0', make sure that
/etc/sysconfig/network-scripts/ifcfg-ppp0 has 'DEFROUTE=yes' in it. Again, this is
on my RedHat box, can't say for other distros.

>
> I have the numbers in the etc/resolv.conf file it reads
> -----------------------------------------
> search
> nameserver 205.138.126.6
> nameserver 207.232.72.1
> ----------------------------------

I would try removing the line that says 'search'. Remove only that line, and try
again. More comments below:

>
> redcpu told me to make sure i have bind installed .. i have never heard of this

use 'rpm -q bind' to see if you have it installed. (RedHat/RPM distributions only)

>
> one and also to look in /etc/networks to make sure dns is in that ..... i cannot
> fing the /etc/networks file.

this was probably supposed to be the /etc/services file, not /etc/networks? You
should probably have the following lines in /etc/services:

domain          53/tcp          nameserver      # name-domain server
domain          53/udp          nameserver


> also told me to look in nsswitch.conf to make sure dns is on the files part of
> that too but i did not understand the method of searching that file i used more
> and got instructions but didn't get anywhere .

use 'grep' to search a file. e.g.

'grep dns /etc/nsswitch.conf' looks for the string 'dns' in /etc/nsswitch.conf
see 'man grep' for more info about this. BTW, my /etc/nsswitch.conf has this line
in it:
hosts:      files nisplus nis dns

good luck...you're almost there.

--
* Chad S. Lauritsen, Systems Administrator                       *
* Perfection Learning Corporation                                *
* 1000 North Second Avenue, Logan, IA 51546 712.644.2831 x 223   *
"Out of the overflow of the heart, the mouth speaks." --Jesus




-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 



More information about the OLUG mailing list