resolving example.com ..... no response ???

Recently installed rhl  8 , I have a dialup connection , I was able to connect to the internet for the first time but when i rebooted the system I was able to connect to the internet but I was unable to browse , when I tried to access some website for instance when I enter   www.yahoo.com in my browser I was  getting message as 'resolving yahoo.com' in the status bar of Mozilla web browser  .This message continues for 3 minutes then I get the message as 'this website is not accessible try some other request timed out'.

What is the problem because I'm able to browse the internet normally on windows 98 .

I'm using KPPP dialer & mozilla browser .
I disabled firewalls (iptables & ipchains) .
I also disabled named (thought its remotely connected to this problem).

Please helpme out .

Thanks in advance ...

Crazygeek.

crazygeekAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NMiCommented:
What do you have in your /etc/resolv.conf ?
0
crazygeekAuthor Commented:
Dear Nmi,
Thanks for responding , as instructed by you I'm mailing contents of /etc/resolv.conf . I'm hosting intranet email server(Qmail on the same system , for that reason I had to configure local DNS server . I dont think this local DNS is causing the problem because when i saw messages file it clearly states about some problem with ppp daemon.
For complete understanding I'm mailing contents of all  concerned files .


/etc/resolv.conf
****************
nameserver 192.168.1.1    # internal DNS server


/var/log/messages
*****************
Mar 28 07:39:30 sirisha kernel: 0845350.238: HCF: !!!DM ERROR: tone dialing, TDBE timeout???
Mar 28 07:40:01 sirisha su(pam_unix)[6755]: session opened for user bin by (uid=0)
Mar 28 07:40:01 sirisha su(pam_unix)[6755]: session closed for user bin
Mar 28 07:40:34 sirisha kernel: 0845414.385: HCF: !!!DM ERROR: tone dialing, TDBE timeout???
Mar 28 07:40:50 sirisha modprobe: modprobe: Can't locate module ppp0
Mar 28 07:40:50 sirisha last message repeated 3 times
Mar 28 07:40:50 sirisha pppd[11555]: pppd 2.4.1 started by root, uid 0
Mar 28 07:40:50 sirisha pppd[11555]: Using interface ppp0
Mar 28 07:40:50 sirisha pppd[11555]: Connect: ppp0 <--> /dev/ttySHCF0
Mar 28 07:40:51 sirisha /etc/hotplug/net.agent: assuming ppp0 is already up
Mar 28 07:40:54 sirisha modprobe: modprobe: Can't locate module ppp-compress-21
Mar 28 07:40:54 sirisha modprobe: modprobe: Can't locate module ppp-compress-21
Mar 28 07:40:54 sirisha pppd[11555]: not replacing existing default route to eth0 [192.168.1.254]
Mar 28 07:40:54 sirisha pppd[11555]: local  IP address 210.214.210.141
Mar 28 07:40:54 sirisha pppd[11555]: remote IP address 202.144.8.17
Mar 28 07:40:54 sirisha pppd[11555]: primary   DNS address 202.144.10.50
Mar 28 07:40:54 sirisha pppd[11555]: secondary DNS address 202.144.66.6
Mar 28 07:42:57 sirisha pppd[11555]: Terminating on signal 15.
Mar 28 07:43:03 sirisha pppd[11555]: Connection terminated.
Mar 28 07:43:03 sirisha pppd[11555]: Connect time 2.2 minutes.
Mar 28 07:43:03 sirisha pppd[11555]: Sent 84 bytes, received 66 bytes.
Mar 28 07:43:03 sirisha pppd[11555]: Exit.
Mar 28 07:43:03 sirisha /etc/hotplug/net.agent: NET unregister event not supported


/etc/named.conf
***************
// generated by named-bootconf.pl

options {
      directory "/var/named";
      /*
       * If there is a firewall between you and nameservers you want
       * to talk to, you might need to uncomment the query-source
       * directive below.  Previous versions of BIND always asked
       * questions using port 53, but BIND 8.1 uses an unprivileged
       * port by default.
       */
      // query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
      inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
      type hint;
      file "named.ca";
};
zone "sirisha.net"  IN {
                      type master;
                      file "zone.sirisha.net";
                   };
     


zone "1.168.192.IN-ADDR.ARPA" {
        type master ;
        file "zone.1.168.192";
       };
zone "localhost" IN {
      type master;
      file "localhost.zone";
      allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
      type master;
      file "named.local";
      allow-update { none; };
};

include "/etc/rndc.key";


/var/named/zone.sirisha.net
***************************
$TTL 3D;
@       IN       SOA sirisha.sirisha.net. postmaster.sirisha.sirisha.net. (
       1;
       10800;
       3600;
       604800;
       86400);
;
        IN      NS       sirisha.sirisha.net.
;
;;Mail Server Definition
         IN      MX       10 sirisha.sirisha.net.
;
;
;
novice            IN A      192.168.1.1       
sirisha       IN A      192.168.1.1
vikram             IN A      192.168.1.1
localhost      IN A       127.0.0.1
pinnacle      IN A       192.168.1.2


/var/named/zone.1.168.192
*************************          
$TTL  86400
@  IN   SOA      sirisha.sirisha.net.   root.sirisha.net. (
                                     1;
                                     10800;
                                     3600;
                                     604800;
                                     86400);
          IN         NS       sirisha.sirisha.net.
1          IN         PTR      sirisha.sirisha.net.
1           IN     PTR  novice.sirisha.net.
1           IN     PTR  vikram.sirisha.net.
2           IN     PTR      pinnacle.sirisha.net.      



/var/named/named.local
**********************
$TTL      86400
@       IN      SOA     localhost. root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.

1       IN      PTR     localhost.


/var/named/localhost.zone
*************************
$TTL      86400
$ORIGIN localhost.
@                  1D IN SOA      @ root (
                              42            ; serial (d. adams)
                              3H            ; refresh
                              15M            ; retry
                              1W            ; expiry
                              1D )            ; minimum

                  1D IN NS      @
                  1D IN A            127.0.0.1

0
NMiCommented:
> Mar 28 07:40:54 sirisha pppd[11555]: not replacing existing default route to eth0 [192.168.1.254]

That's ugly and suspicious. This message states that pppd's default gw will not replace already existing default gw. That's right from the pppd's point of view. BUT: why do you have default route (to internet) on your eth0 ?!? Isn't it like your local area network connection ?

Try "route del default" before connecting via ppp. Is it working ?


Second part. Having your 127.0.0.1 and localhost zones in named is an example of really weird and old fashion. You can safely delete that garbage from named and leave just "127.0.0.1 localhost" in your /etc/hosts.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
crazygeekAuthor Commented:
Thanks a lot NMi ,

$route del default (enter)
solved the problem .....

But how was such route getting defined automatically??
0
NMiCommented:
I think you should look in /etc/sysconfig/network-scripts/ifcfg*. If mean if you're using RH-style system ;)

Anyway, it's cool to know how your system works - try to discover that right from the start - /etc/inittab, startup scripts, etc ;)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.