Click to See Complete Forum and Search --> : Odd browsing behaviour with Fedora


uncle_lumpy
11-15-2004, 05:35 PM
Help - I'm starting to lose my marbles here....

I have a small home network. I have a D-Link Adsl modem/router/wifi AP (a D-Link DSL G604T). Connected to it i have my main PC running Fedora Core 2/Win Xp, a PC i'm building for my nephews (Winxp) and a work laptop (Win2K) used to VPN into work.

The router is also a dhcp server with an internal address of 192.168.1.1. The three PCs are all dhcp clients.

ipconfig /all on the windows machines indicate that the dns server is the router on 192.168.1.1

My Fedora box is 192.168.1.2
My WinXp box is 192.168.1.3
My Win2K box is 192.168.1.4

The two windows boxen can surf the web no problems, nice and fast page opens etc etc.

The Fedora box sometimes connects, sometimes doesn't (mostly doesn't)

If i do a dig www.gmail.com i get:

; <<>> DiG 9.2.3 <<>> www.google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58437
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 11, ADDITIONAL: 11

;; QUESTION SECTION:
;www.google.com. IN A

;; ANSWER SECTION:
www.google.com. 460 IN CNAME www.google.akadns.net.
www.google.akadns.net. 58 IN A 216.239.59.99
www.google.akadns.net. 58 IN A 216.239.59.104

;; AUTHORITY SECTION:
akadns.net. 102732 IN NS zf.akadns.org.
akadns.net. 102732 IN NS zh.akadns.org.
akadns.net. 102732 IN NS eur3.akadns.net.
akadns.net. 102732 IN NS use2.akadns.net.
akadns.net. 102732 IN NS use4.akadns.net.
akadns.net. 102732 IN NS usw5.akadns.net.
akadns.net. 102732 IN NS usw6.akadns.net.
akadns.net. 102732 IN NS usw7.akadns.net.
akadns.net. 102732 IN NS asia3.akadns.net.
akadns.net. 102732 IN NS za.akadns.org.
akadns.net. 102732 IN NS zc.akadns.org.

;; ADDITIONAL SECTION:
za.akadns.org. 6739 IN A 208.185.132.176
zc.akadns.org. 6739 IN A 63.241.199.54
zf.akadns.org. 6739 IN A 63.241.29.161
zh.akadns.org. 6739 IN A 63.208.48.46
eur3.akadns.net. 145398 IN A 193.45.1.103
use2.akadns.net. 145398 IN A 63.209.170.136
use4.akadns.net. 145398 IN A 80.67.67.182
usw5.akadns.net. 145398 IN A 63.241.73.214
usw6.akadns.net. 145398 IN A 206.132.100.108
usw7.akadns.net. 145398 IN A 65.203.234.27
asia3.akadns.net. 145398 IN A 65.203.234.27

;; Query time: 112 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Nov 15 21:28:05 2004
;; MSG SIZE rcvd: 487

If i do wget www.google.com i get the index.html page downloaded.
If i type www.google.com into firefox's address bar i get a "The connection was refused when attempting to contact www.google.com"
If i now paste in the ip of 216.239.59.104
i get the google page

The odd thing is that i don't always get this behaviour - sometime i do get the google homepage, sometimes i don't.

Any clues ?

soulestream
11-15-2004, 07:21 PM
what about when you do an ifconfig in linux? sounds like your dns entry is configured wrong.

soule

uncle_lumpy
11-16-2004, 04:30 AM
so how come dig works ?

[root@snouter root]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 192.168.1.1

seems to indicate the same dns server as the windows boxes. Also, typing an url into the address bar in firefox seems to spend an awful long time with the "looking up www.wherever.com" whereas dig does it in milliseconds

rocketpcguy
11-16-2004, 07:47 AM
even in other browsers?

uncle_lumpy
11-16-2004, 09:31 AM
unfortunately yes :-( konquere displays same behaviour.

i've tried clearing cookie caches, turning off firewalls, giving it a static ip, giving it an external dns server address in resolv.conf - no difference

(down to my last marble now and i don't want to lose that...)