You are not logged in.

#1 2009-06-13 15:56:41

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Cannot connect to some pages (DNS problem)

Hello,
I am having a networking problem here. I do have internet but somehow I cannot connect to some pages including goodies.xfce.org, netvibes.com, microsoft.com and lots of other pages. I have the same problem in Zenwalk linux but there isn't any problems in Windows.

My router has some malfunction so I cannot set the dns on the router. Thus I set dns to OpenDNS manually on clients.

My resolve.conf.head is

nameserver 208.67.222.222
nameserver 208.67.220.220

(I use netcfg so I actually donot know if this matters. Nameserver is also set in my profile).
I have disabeled ip 6 in modprob.conf

# disable autoload of ipv6
alias net-pf-10 off

I have tried to run

sysctl -w net.ipv4.tcp_timestamps=0

but it does not resolve the problem.

In my nsswitch.conf  host is set to:

hosts: files dns

I hope somebody has some bright ideas smile

By the way, this is only a problem on my home network!

Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#2 2009-06-13 23:06:44

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Cannot connect to some pages (DNS problem)

Install dnsutils and post the output of `dig microsoft.com`

Offline

#3 2009-06-14 02:15:24

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Cannot connect to some pages (DNS problem)

Or even better try with mtr.  This could be a routing problem.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#4 2009-06-14 09:48:33

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Here is the output of dig microsoft.com

; <<>> DiG 9.6.0-P1 <<>> microsoft.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4351
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;microsoft.com.            IN    A

;; ANSWER SECTION:
microsoft.com.        2854    IN    A    207.46.197.32
microsoft.com.        2854    IN    A    207.46.232.182

;; Query time: 68 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Sun Jun 14 11:32:06 2009
;; MSG SIZE  rcvd: 63

MTR did not seem to have a copy-paste functionality so I just taken a screenshot. Hope that is okay.
d4ao332saxxku3n7gv25_thumb.png


Arch x64 on Thinkpad X200s/W530

Offline

#5 2009-06-14 10:14:20

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Cannot connect to some pages (DNS problem)

Interesting. It resolves correctly, and goes through many hops on the traceroute before getting lost. I can't explain that.

Offline

#6 2009-06-14 10:56:10

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Yeah, the strange thing is that there is no problem in the windows part. I have tried multiple DNS-servers but the result is the same. I guess it somehow has something to do with the router--client setup. Maybe the route to the DNS is somehow blocked?

Netvibes looks a bit different, I think.

rasmus ~  $  dig netvibes.com

; <<>> DiG 9.6.0-P1 <<>> netvibes.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9700
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;netvibes.com.            IN    A

;; ANSWER SECTION:
netvibes.com.        796    IN    A    193.189.143.34

;; Query time: 35 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Sun Jun 14 12:49:31 2009
;; MSG SIZE  rcvd: 46

y0d7ghfzupohd5kdgl4_thumb.png


Arch x64 on Thinkpad X200s/W530

Offline

#7 2009-06-14 13:51:27

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: Cannot connect to some pages (DNS problem)

Another thing you could try:

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

And see if it makes any difference.

Offline

#8 2009-06-14 14:46:51

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
makes no difference. Unfortunately I did not check which value it had before I applied the change.
Thanks though.
--Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#9 2009-06-14 15:05:47

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: Cannot connect to some pages (DNS problem)

You can revert with echo 1 > /proc/....

Also the value will be 1 after reboot.

Last edited by Bogart (2009-06-14 15:07:12)

Offline

#10 2009-06-16 13:02:08

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Does anybody have any clues about a solution for this problem? Are there any major differences between network-"modules" on Linux and Windows that might cause this?
Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#11 2009-06-16 14:56:33

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Cannot connect to some pages (DNS problem)

You said nameserver was set in the netcfg profile as well .... is it also set to the opendns servers?

Scott

Offline

#12 2009-06-16 15:51:15

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

I just included it:

CONNECTION="wireless"
ESSID="WippiesHome"
INTERFACE="wlan0"
DESCRIPTION="Hjemme"
SCAN="yes"
IP="dhcp"
TIMEOUT="10"
SECURITY="wpa"
KEY="MuLt.T@sk"
DNS=("208.67.220.220" "208.67.222.222")
POST_UP="/home/rasmus/.scripts/dam-on"
PRE_DOWN="/home/rasmus/.scripts/dam-off"

If I do not set the nameserver I cannot connect to anything.

When using the above profile my resolv.conf (not the head) looks like this:

nameserver 208.67.220.220
nameserver 208.67.222.222

Specifying the gateway does not seem to make a difference. Note, if I do not specify DNS the resolv.conf will look like (from memory)

nameserver 208.67.220.220
nameserver 208.67.222.222
gateway 192.168.0.1
nameserver 192.168.0.1

Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#13 2009-06-20 11:56:51

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

In for example the Mac network manager there is a fan called WINS. Could that cause something like the issue described in this topic?
I am quite desperate to find a solution for this problem.

Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#14 2009-06-24 19:29:06

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Bump. If anybody have any ideas or any knowledge on this area I would appreciate a hint.

Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#15 2009-06-24 20:19:04

Verminoz
Member
From: Greece
Registered: 2008-08-17
Posts: 47
Website

Re: Cannot connect to some pages (DNS problem)

Hello, I have the same problem so I opened a thread not knowing the problem exists in others too (http://bbs.archlinux.org/viewtopic.php? … 66#p574366)

Bogart wrote:

Another thing you could try:

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

And see if it makes any difference.

This made things a little better for me. Some webpages that couldn't load are now fine. But still the problem persists for the rest. I can ping and dig every domain I can think of and the results turn out fine but applications like browsers and pacman cannot access many servers by their domain names. (They can access everything using IP address directly).

ps. Windows Vista works fine. Also, on my other PC, both Ubuntu Linux and Windows XP work fine too.

Last edited by Verminoz (2009-06-24 20:22:07)


Ohne Musik ware das Leben ein Irrtum

Offline

#16 2009-06-29 20:25:57

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Hello,
I am just trying Xubuntu 8.10, 64 bit-edition and it has the same problem as Arch. At least out of the box.

This is so very strange and annoying.

--Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#17 2009-06-30 03:15:01

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: Cannot connect to some pages (DNS problem)

Have you tried to use a static IP instead of DHCP to see if it makes any difference?

Last edited by Bogart (2009-06-30 03:22:40)

Offline

#18 2009-06-30 16:47:58

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

When I used Zenwalk I used a static ip (using wicd). I tried to make a profile with static ip but for some reason I end up getting the same local ip as if I used DHCP (which is different from the one I request).

This is my profile:

CONNECTION="wireless"
ESSID="WippiesHome"
INTERFACE="wlan0"
DESCRIPTION="Home"
SCAN="yes"
IP="static"
# Any valid iproute command can be placed in this array
IPCFG=("addr add dev wlan0 192.168.1.7 brd +" "route add default via 192.168.0.1")
# ADDR="192.168.0.1"
# GATEWAY="192.168.0.1"
# GENMASK="255.255.255.0"
TIMEOUT="90"
SECURITY="wpa"
KEY="password"
DNS=("208.67.220.220" "208.67.222.222")

If I use

# ADDR="192.168.0.1"
# GATEWAY="192.168.0.1"
# GENMASK="255.255.255.0"

I get an error. I am was not able to find any documentation on IPCFG so there might be an error in that array.

That said, I highly doubt this is the problem. On at least one of my XP clients the IP is obtained automatically.

The profile has connectivity problems as well.

Thanks a lot though!

--Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#19 2009-07-18 19:56:12

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Has anybody found a solution to this, I believe, somehow common problem?

When I experienced a similar problem on Windows I was able to use ultrasurf. A similar app for Linux is JAP, but I cannot get connected to their server at the moment (it seems overloaded).

I am trying to get midori-git but unfortunatly I cannot connect to the host. Is is possible to make git go through a http-proxy like hidemyass.com?

Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#20 2009-07-19 20:43:59

harpo
Member
Registered: 2009-05-14
Posts: 21

Re: Cannot connect to some pages (DNS problem)

Pank wrote:

Has anybody found a solution to this, I believe, somehow common problem?

Try this:

echo 'options single-request' >> /etc/resolv.conf

Offline

#21 2009-07-19 21:17:52

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Nope. I did not help . . .
Thanks though.
--Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

#22 2009-08-17 12:49:15

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Cannot connect to some pages (DNS problem)

Sorry for bumping, but does anybody have any idea on how to solve this problem?
Thanks,
Rasmus


Arch x64 on Thinkpad X200s/W530

Offline

Board footer

Powered by FluxBB