Click to See Complete Forum and Search --> : Networked computers can't find nameserver


lazarus777
06-19-2003, 09:48 PM
I'm trying to share my internet connection over my network (no real purpose, it's only dial up, but I thought it'd be fun to play with). Network and everything works good, and when I connect up main computer to net, no problems. Other 2 computers on network (also running Linux) can ping the nameserves my ISP assign, and if I put the actual IP of website I want to visit in the URL field of a browser, it'll connect right up, but I have no DNS resolution on any network computer (besides one directly connected). I set up masquerading the cheap and easy way this time around to get the hang of it (using SuSE firewall configured thru YaST). Should I go back, and re-do my IP masquerading stuff with straight iptables, or set up a squid proxy (actually next on my list, but this way, I can work and g/f can still surf). Any ideas on what might be whacking nameserver resolution for network computers would be much appreciated.

copeja
06-19-2003, 09:56 PM
Check your resolv.conf in /etc file and add a name server that your ISP gave you and then it will do name resolution

DMR
06-20-2003, 02:33 PM
Originally posted by copeja
Check your resolv.conf in /etc file and add a name server that your ISP gave you and then it will do name resolution Right. The basic format of /etc/resolv.conf is: nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy
nameserver zzz.zzz.zzz.zzz
Where:
xxx.xxx.xxx.xxx = IP of Primary DNS server
yyy.yyy.yyy.yyy = IP of Secondary DNS server
zzz.zzz.zzz.zzz = IP of Tertiary DNS server