Suse 9.1 DNS problem
I am unable to view any websites using either Konquerer or Firefox except by using their IP address. I cannot get DNS to work correctly. My linux box is part of a peer-to-peer LAN (i.e. no domain name). I can view/ping all other PCs (Windows boxes) on the LAN fine using either their hostname or IP address, as well as explore their shares using Samba. All machines share a frational T1 connection with static IP addresses. Here is my output from ifconfig:
eth0
Link encap:Ethernet HWaddr 00:01:02:91:47:d8
inet addr:192.168.1.12 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr:fe80::201:2ff:fe91:47d8/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500
Metric:1
RX packets:694 errors:0 dropped:0 overruns:0 frame:0
TX packets:230 errors:0 dropped:0 overruns:0 carrier:5
collisions:5 txqueuelen:1000
RX bytes:80719 (78.8Kb) TX bytes:61965 (60.5Kb)
Interrupt:9 Base address:0x1000
lo
Link encap:Local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2331 errors:0 dropped:0 overruns:0 frame:0
TX packets:2331 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:466160 (455.2Kb) TX bytes:466160 (455.2Kbasdf)
Here's my output from netstat:
# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
The host.conf file has the following 2 lines:
order hosts,bind
multi on
Our ISP controls the gateway (192.168.1.1) that all the PCs route thru to reach the Internet. The only device between any of the machines on the LAN & the gateway is a Linksys EFAH16W workgroup hub. I can do digs & nslookups for URLs but not pings. When I try to ping any URL the cursor just sits there; no error or timeout message.
I have 2 nameserver IPs provided by our ISP: 216.204.111.033 & 216.204.102.010. All the Windows boxes (8 of them) use these 2 nameserver IPs & have no problems whatsoever. When trying to configure the DNS servers in YaST (Network Services, DNS & Host Name) the host name is 'Dbyte' & the domain name is 'default'. When I tried to manually enter the 2 nameserver IP addresses I got the following error message: "the primary name server is not correct." The domain search for the 1st entry says 'default' while the 2nd entry's is blank. I ended up vi'ing the resolv.conf file to add both nameserver IP's.
What am I missing here? Any idea on where I screwed up? I have already read through many of the existing posts regarding similar issues but haven't been able to get it fixed. I'm a newbie to Linux so please be as simple as possible w/ any advice.
Thanks,
-Dbyte
|