Click to See Complete Forum and Search --> : DNS not working, tried lots of stuff...


Zyzzyx
09-23-2001, 03:06 AM
Ok, I've done lots of searches through the archives here, and a fair bit of reading. Found quite a few similar problems to mine, but none of those helped out...

I haven't been able to get my DNS to work. I can ping out to an IP address, but not to a named address. Took my system in to my LUG today, set it up on their network, got some help, and got it to work.

Once I got the system home I boot up and go in to change the network settings back to my home system (DSL w/ static IP address running through a Linksys 4port router using DHCP, all of which works great for the two Windoze systems I've got in it). Well, seems linux used dhcp to get numbers, no problem with that. I go in to check stuff, looks good.

(secondary question: how can ya set it up NOT to use dhcp? I'm working as much as possible in command line instead of X, since that's what I want to learn from Linux)

Anyway, I'm at the point now where I was before. I can ping to an IP number, but not lookup any addresses. I can get a ping from my router, and also from outside sources, but when I use nslookup or ping to a name address, it doesn't get anywhere. Gives me the error message of 'unknown host' (ping) or 'no servers could be reached' (nslookup).
Getting rather annoying now, especially since it WAS working at the meeting today.

Any hints/comments/suggestions/help?


Related info (trimmed a bit):

AMD K6-200, 64mb memory, running RedHat 7.1, couple year old Kingston NIC

"ifconfig"
eth0
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1


"route"
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0


"resolv.conf"
nameserver 66.203.107.16
nameserver 66.203.107.17
search localdomain <-- this gets put in when I reboot


Appreciate the help...


Zyzzyx
-only been using Linux for 2 weeks, and haven't managed to get very far, but I've had a helluva introduction to the command line ;)

Zyzzyx
09-23-2001, 04:36 AM
ARGH!!!

I got it fixed.

Ya know the term "GIGO"? Well, its true. Darn typos.

Had a different DNS entry on the router, which what Linux was getting with DHCP, so it wasn't getting anywhere. But why, then, was Windows working fine with DHCP? Well, I still had the manually entered (and correct) DNS listings on my TCP/IP properties from before I bought the router, so it didn't care what the router told it to use for DNS.


Zyzzyx
-goes back to laughing and crying, two weeks of craziness, one damn typo