?
Solved

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

Posted on 2003-03-25
5
Medium Priority
?
219 Views
Last Modified: 2010-03-18
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.

0
Comment
Question by:crazygeek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:NMi
ID: 8217186
What do you have in your /etc/resolv.conf ?
0
 

Author Comment

by:crazygeek
ID: 8222527
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
 
LVL 2

Accepted Solution

by:
NMi earned 400 total points
ID: 8223377
> 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
 

Author Comment

by:crazygeek
ID: 8229096
Thanks a lot NMi ,

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

But how was such route getting defined automatically??
0
 
LVL 2

Expert Comment

by:NMi
ID: 8237046
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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question