Click to See Complete Forum and Search --> : more dns help!


redhatnewbie101
04-10-2002, 04:02 PM
Hi, If anybody can help me with this, they will also be helping my rapidly fading hair line!

I'm trying to connect my linux box ( running redhat 7) to the internet

I can dial up to my ISP fine, but when it comes to looking at webpages / actually doing anything net related i'm screwed. basicly, I can see pages hosted on my isp's servers, and that's it.

To me this is a dns issue and that is where i'm stuck.

my ISP provided dns ip is 194.62.44.10 ( which resolves as ns.netkonect.net) i've got netkonect.net as my default domain, and 194.62.44.10 as my ip of name server. and i'm stuck as to why I cannot get this to work!

scanez
04-10-2002, 04:14 PM
So you have

nameserver 194.62.44.10

in /etc/resolv.conf right?

redhatnewbie101
04-10-2002, 04:41 PM
I certainly do.

netkonect.net is in there as well

scanez
04-10-2002, 04:44 PM
Alright, can you resolve hostnames using nslookup? Like, does

nslookup google.com

return google's ip?

redhatnewbie101
04-10-2002, 04:51 PM
aha.. i'd tried this. no.

can also ping by ip but not by domain name

scanez
04-10-2002, 05:04 PM
Aha, so dns must be setup incorrectly somewhere. First, you are that that is your isps dns correct? Try having just

nameserver dnsip

in /etc/resolv.conf, no domain. Also, what is in /etc/host.conf?

redhatnewbie101
04-11-2002, 02:28 PM
ok.. Have set resolv.conf to just the ip address, and still no luck.

contents of etc/hosts.conf is:

order nis, hosts

scanez
04-11-2002, 08:59 PM
Originally posted by redhatnewbie101:
<STRONG>ok.. Have set resolv.conf to just the ip address, and still no luck.

contents of etc/hosts.conf is:

order nis, hosts</STRONG>
Try putting this in /etc/host.conf

order hosts,bind
multi on