DNS problem with Fedora Core 6
Hi! could you please give me a hand?
I am very new in Linux -but already in love with it! ;)- and I just installed Fedora Core 6 (as my first Linux installation :-> ) a few days ago. Now I have a problem with DNS resolution: I am running Fedora on a Toshiba laptop dual booting with XP, have an ADSL connection using a D-Link router and definitely don't have any problem with browsing the pages on the internet in XP but in fedora I can't browse any URL. Only when I use the website's IP address I am able to view it and as I click on the links on the pages it gets a very long time (sometimes resulting in a timeout error) to load it. Here is my ifconfig results: eth0 Link encap:Ethernet HWaddr 00:C0:9F:BF:AD:27 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::2c0:9fff:febf:ad27/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1771 errors:0 dropped:0 overruns:0 frame:0 TX packets:1880 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:573727 (560.2 KiB) TX bytes:207638 (202.7 KiB) Interrupt:6 Base address:0x6000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2623 errors:0 dropped:0 overruns:0 frame:0 TX packets:2623 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3866052 (3.6 MiB) TX bytes:3866052 (3.6 MiB) and this is my route result: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default mygateway.ar7 0.0.0.0 UG 0 0 0 eth0 the address mygateway.ar7 is the addrss of the DNS server provided by the ISP. It has been recognized automaticaly. Thanks for your time. |
Look in /etc/resolv.conf
Does it look good? I suggest, for the time being, setting your router as the DNS in /etc/resolve.conf. Comment out the current ones with a # Code:
nameserver 192.168.1.1 Code:
ping google.com |
The resolv.conf looks already like this:
; generated by /sbin/dhclient-script nameserver 192.168.1.1 search localdomain so I didn't use the code you provided and surprisingly able to ping google.com: PING google.com (64.233.187.99) 56(84) bytes of data. 64 bytes from google.com (64.233.187.99): icmp_seq=1 ttl=240 time=241 ms 64 bytes from google.com (64.233.187.99): icmp_seq=2 ttl=240 time=240 ms 64 bytes from google.com (64.233.187.99): icmp_seq=3 ttl=240 time=240 ms 64 bytes from google.com (64.233.187.99): icmp_seq=4 ttl=240 time=240 ms 64 bytes from google.com (64.233.187.99): icmp_seq=5 ttl=240 time=250 ms 64 bytes from google.com (64.233.187.99): icmp_seq=6 ttl=240 time=240 ms --- google.com ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 4999ms rtt min/avg/max/mdev = 240.073/242.295/250.311/3.631 ms But again can not browse the page in Mozilla Firefox! Here is the error message I see everytime I try to load www.google.com: The connection has timed out The server at www.google.ae is taking too long to respond. * The site could be temporarily unavailable or too busy. Try again in a few moments. * If you are unable to load any pages, check your computer's network connection. * If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. Thanks again. |
There's got to be some kind of host-based firewall that is preventing Firefox from accessing the web. Try using the Konqueror or Nautilus browser. Same problem? This sounds sort of like this thread:
http://www.linuxquestions.org/questi...d.php?t=525149 |
It sounds like the same problem I am having. I can ping computers on my network and google but when I try and open a site in firefox it says it can’t find it. I’m running fedora core 6 as a virtual machine using vmware. The internet is working fine on the host PC.
|
Hi again! I read the other thread you mentioned carefully and have the results here. But couldn't use Konqueror or Nautilus 'cause I'm running GNOME.
Here is the tracepath result for www.google.ae: 1: 192.168.1.2 (192.168.1.2) 0.262ms pmtu 1500 1: mygateway.ar7 (192.168.1.1) 1.193ms 2: 195.229.244.25 (195.229.244.25) asymm 3 40.471ms 3: 195.229.245.113 (195.229.245.113) asymm 4 40.402ms 4: 194.170.0.138 (194.170.0.138) asymm 5 40.721ms 5: 195.229.0.89 (195.229.0.89) asymm 6 40.872ms 6: 195.229.0.238 (195.229.0.238) 190.546ms 7: 195.229.0.238 (195.229.0.238) asymm 6 189.162ms 8: 209.85.248.80 (209.85.248.80) 370.180ms 9: 209.85.248.87 (209.85.248.87) asymm 8 397.981ms 10: 209.85.248.87 (209.85.248.87) asymm 8 368.850ms 11: 72.14.233.81 (72.14.233.81) asymm 10 395.687ms 12: 72.14.233.81 (72.14.233.81) asymm 10 401.151ms 13: 216.239.43.30 (216.239.43.30) asymm 10 405.812ms 14: www.google.ae (64.233.183.104) asymm 11 187.319ms reached Resume: pmtu 1500 hops 14 back 11 And this is the traceroute for the same address: traceroute to www.google.ae (1.0.0.0), 30 hops max, 40 byte packets 1 mygateway.ar7 (192.168.1.1) 0.591 ms 0.507 ms 0.540 ms Unable to look up 195.229.244.25: Temporary failure in name resolution 2 195.229.244.25 8.924 ms 9.805 ms 10.736 ms Unable to look up 195.229.245.113: Temporary failure in name resolution 3 195.229.245.113(N!) 8.592 ms (N!) 10.402 ms (N!) 9.645 m Ping -c 100 has no losses. And w3m was not recognized as a valid command on my shell (command not found). |
Well DNS looks to have been exhonerated really... install wireshark, or just use tcpdump to see what the actual network traffic is doing here. what if you try to go to just http://64.233.183.104 ? try going to that, and also run "tcpdump -vn host 64.233.183.104" just before that, and show us the console output. if there's none at all, try just "tcpdump -vn" and go from there, could be a bit noisy though...
|
Quote:
Unable to retrieve software information Details: "Cannot find a valid baseurl for repo: core" So I couldn't try it on other browser :( |
Quote:
23:14:00.831407 IP (tos 0x0, ttl 64, id 12512, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.1.2.35931 > 64.233.183.104.http: ., cksum 0xa094 (correct), ack 1 win 46 <nop,nop,timestamp 73374 3383051> 23:14:00.839334 IP (tos 0x0, ttl 64, id 12513, offset 0, flags [DF], proto: TCP (6), length: 481) 192.168.1.2.35931 > 64.233.183.104.http: P 1:430(429) ack 1 win 46 <nop,nop,timestamp 73376 3383051> 23:14:00.859201 IP (tos 0x0, ttl 59, id 62100, offset 0, flags [none], proto: TCP (6), length: 52) 64.233.183.104.http > 192.168.1.2.35931: ., cksum 0x9f13 (correct), ack 430 win 65535 <nop,nop,timestamp 3383051 73376> 23:14:01.041362 IP (tos 0x0, ttl 59, id 924, offset 0, flags [none], proto: TCP (6), length: 1400) 64.233.183.104.http > 192.168.1.2.35931: . 1:1349(1348) ack 430 win 65535 <nop,nop,timestamp 3383051 73376> 23:14:01.041433 IP (tos 0x0, ttl 64, id 12514, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.1.2.35931 > 64.233.183.104.http: ., cksum 0x9958 (correct), ack 1349 win 69 <nop,nop,timestamp 73426 3383051> 23:14:01.061826 IP (tos 0x0, ttl 59, id 925, offset 0, flags [none], proto: TCP (6), length: 512) 64.233.183.104.http > 192.168.1.2.35931: P 1349:1809(460) ack 430 win 65535 <nop,nop,timestamp 3383051 73376> 23:14:01.061891 IP (tos 0x0, ttl 64, id 12515, offset 0, flags [DF], proto: TCP (6), length: 52) 192.168.1.2.35931 > 64.233.183.104.http: ., cksum 0x9772 (correct), ack 1809 win 90 <nop,nop,timestamp 73431 3383051> 9 packets captured 18 packets received by filter 0 packets dropped by kernel |
hmm, well that yum error may well be related... it uses wget or curl to download a list of files from the net...
can you do that again using the domain name? that was the objective... to see if when sent to that destination that you'll actuallysee anythign coming back from them. obviously it requires that that specific ip is used for google... |
Quote:
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 06:16:46.279077 IP (tos 0x0, ttl 64, id 64647, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.2.36532 > 1.0.0.0.http: S, cksum 0x92cc (correct), 1231905763:1231905763(0) win 5840 <mss 1460,sackOK,timestamp 4294942564 0,nop,wscale 7> 06:16:49.278097 IP (tos 0x0, ttl 64, id 64648, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.2.36532 > 1.0.0.0.http: S, cksum 0x8fde (correct), 1231905763:1231905763(0) win 5840 <mss 1460,sackOK,timestamp 4294943314 0,nop,wscale 7> 06:16:55.278470 IP (tos 0x0, ttl 64, id 64649, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.2.36532 > 1.0.0.0.http: S, cksum 0x8a02 (correct), 1231905763:1231905763(0) win 5840 <mss 1460,sackOK,timestamp 4294944814 0,nop,wscale 7> 06:16:55.530483 IP (tos 0x0, ttl 64, id 36541, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.2.36531 > 1.0.0.0.http: S, cksum 0x2fcb (correct), 1143391011:1143391011(0) win 5840 <mss 1460,sackOK,timestamp 4294944877 0,nop,wscale 7> 06:17:07.279214 IP (tos 0x0, ttl 64, id 64650, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.2.36532 > 1.0.0.0.http: S, cksum 0x7e4a (correct), 1231905763:1231905763(0) win 5840 <mss 1460,sackOK,timestamp 4294947814 0,nop,wscale 7> 06:17:31.280720 IP (tos 0x0, ttl 64, id 64651, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.2.36532 > 1.0.0.0.http: S, cksum 0x66da (correct), 1231905763:1231905763(0) win 5840 <mss 1460,sackOK,timestamp 4294953814 0,nop,wscale 7> 6 packets captured 16 packets received by filter 0 packets dropped by kernel |
right, so firefox is trying to reach 1.0.0.0 ... wtf?
|
Guys please help me! I'm just sick of switching to Windows several times a day just for checking my emails!!!!!!
|
does that ip address, 1.0.0.0 look at all familiar to you? ever typed it in to your proxy configs? i googled from "firefox 1.0.0.0 ip" and got similar sounding problems on unbuntu forums, but didn't see a solution.
|
i really really hope you've been googling for this yourself...? i just found this... https://launchpad.net/ubuntu/+bug/81057 which looks relevant.. have you found that link yourself yet?
|
All times are GMT -5. The time now is 12:25 PM. |