Thanks for the reply
I've read the PPP-HOWTO, NET-3-HOWTO, IP-Masq-HOWTO and DNS-HOWTO but i
cannot find a solution. I am using RedHat 5.2 and using a ppp-on script
to dial out to the internet. The DNS Ip address i am using is the dns
of my isp and all of my hosts use the same DNS IP which works fine for
them. I am able to ping internet address by IP but not by name. My
hosts can ping the internet by both IP and Name.
Here shows some of my files in /etc
--resolv.conf--
nameserver xxx.xxx.xxx.xxx
--hosts--
127.0.0.1 localhost.name.ca localhost
192.168.0.3 486dx33.name.ca 486dx33
192.168.0.1 matthew.name.ca matthew
192.168.0.5 earth.name.ca earth
192.168.0.2 zx6r.name.ca zx6r
--networks--
loopback 127.0.0.0
localnet 192.168.0.0
--nsswitch.conf--
shadow: files nisplus nis
group: files nisplus nis
hosts: files dns
services: nisplus [NOTFOUND=return] files
networks: nisplus [NOTFOUND=return] files
protocols: nisplus [NOTFOUND=return] files
rpc: nisplus [NOTFOUND=return] files
ethers: nisplus [NOTFOUND=return] files
netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus
--
Thanks,
Matthew
> The problem is sometimes due to not having your ISP nameserver
> specified in /etc/resolv.conf. See PPP-HOWTO and grep
> resolv.conf.
> Leave the default route open so PPP0 can use it. You did not
> mention
> what your are running RH/Slack... etc or whats in hosts or
> networks.
> DNS resolution can have an order - its usually something like
> hosts,
> lmhosts and DNS - wins will be in there if your running MS
> machines.
> In RH you can specify this order.
> d
> > ...
> > > applications like Web and ICQ. However, my linux gateway cannot resolve
> > > internet domain name. I can resolve names within the LAN thru. the
> > > hosts file. Everytime i try "ping www.yahoo.com" there is no reply.
> > > when i try "nslookup", i got the following
> > > looks like resolver cannot talk to the dns i specified.
> > Can you ping outside machines using the IP address and not the domain name?
> > It might be a routing issue.
> > Also, just a suggestion, I set up my gateway to be a caching DNS as well.
> > This seems to speed up the lookups at least a little.
> > dave
> --