Link to home
Start Free TrialLog in
Avatar of crazygeek
crazygeek

asked on

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.

Avatar of NMi
NMi

What do you have in your /etc/resolv.conf ?
Avatar of crazygeek

ASKER

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

ASKER CERTIFIED SOLUTION
Avatar of NMi
NMi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks a lot NMi ,

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

But how was such route getting defined automatically??
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 ;)