You are not logged in.

#1 2008-11-27 17:10:29

dvd100
Member
From: Messina, Italia
Registered: 2008-03-31
Posts: 25
Website

dns fail.. only on arch!

Greetings
since some days I have an incredible problem: often, surfing internet, totally random the browser still loading for a while and after it shows the OpenDNS's fail page. But, from the other pc behind the same router, that sites are perfectly resolved.. For example with www.hwupgrade.it it happens very often..
The only solution is to wait some seconds and refresh the page. sad

It happens with any browser, both from gnome and kde, any kernel version. Windows (in dual boot in the same machine) don't have any problems..

I've tryed also my ISP's default dns but this don't fix. Not even using bind in local..

I can't complete any traceroute, also if the site go from browser:

[dvd@abulafia ~]$ traceroute www.google.it
traceroute: Warning: www.google.it has multiple addresses; using 208.69.34.230
traceroute to google.navigation.opendns.com (208.69.34.230), 30 hops max, 52 byte packets
 1  www.routerlogin.com (192.168.0.1)  1.954 ms  1.776 ms  2.142 ms
 2  192.168.100.1 (192.168.100.1)  39.221 ms  37.675 ms  40.086 ms
 3  r-ct30-vl11.opb.interbusiness.it (217.141.250.201)  40.716 ms  37.691 ms  40.244 ms
 4  * host53-8-static.184-82-b.business.telecomitalia.it (82.184.8.53)  54.044 ms *
 5  151.99.98.178 (151.99.98.178)  62.619 ms  60.681 ms  61.836 ms
 6  host181-8-static.20-80-b.business.telecomitalia.it (80.20.8.181)  63.101 ms  60.787 ms  62.323 ms
 7  mil30-ibs-resid-3.seabone.net (195.22.192.185)  62.192 ms  64.431 ms  62.080 ms
 8  ge-0.de-cix.frnkge03.de.bb.gin.ntt.net (80.81.192.46)  75.688 ms  78.879 ms  76.240 ms
 9  xe-1-0-0.r20.frnkge03.de.bb.gin.ntt.net (129.250.2.148)  74.447 ms  77.913 ms  76.683 ms
10  p64-3-3-0.r22.londen03.uk.bb.gin.ntt.net (129.250.2.20)  88.243 ms  85.892 ms  87.835 ms
11  * * *
12  83.231.146.198 (83.231.146.198)  108.067 ms  93.173 ms  90.981 ms
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

Help! Thank you!

Offline

#2 2008-11-27 17:34:05

breize
Member
Registered: 2008-07-17
Posts: 8

Re: dns fail.. only on arch!

Could you post your "/etc/hosts" ?

Offline

#3 2008-11-27 18:10:23

dvd100
Member
From: Messina, Italia
Registered: 2008-03-31
Posts: 25
Website

Re: dns fail.. only on arch!

[dvd@abulafia ~]$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>    <hostname.domain.org>    <hostname>
127.0.0.1        localhost.localdomain    localhost

# End of file

Offline

#4 2008-11-27 18:14:33

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: dns fail.. only on arch!

From the beginners guide
/etc/hosts

This file associates IP addresses with hostnames and aliases, one line per IP address. For each host a single line should be present with the following information:

<IP-address> <hostname> [aliases...]

Add your hostname, coinciding with the one specified in /etc/rc.conf, as an alias, so that it looks like this:

127.0.0.1   localhost.localdomain   localhost yourhostname


Note: This format, including the 'localhost' and your actual host name, is required for program compatibility! Errors in this entry may cause poor network performance and/or certain programs to open very slowly, or not work at all. This is a very common error for beginners.


If you use a static IP, add another line using the syntax: <static-IP> <hostname.domainname.org> <hostname> e.g.:

192.168.1.100 yourhostname.domain.org  yourhostname

Hope this helps


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#5 2008-11-27 19:50:24

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: dns fail.. only on arch!

I would try disabling ipv6 and see if that helps.

If dns is actually resolving, but you are having issues connecting to some websites, it might actually not be a dns problem..but a tcp problem. If the ipv6 thing doesn't work, you might try disabling tcp scaling and see if it helps at all.
http://wiki.archlinux.org/index.php/Con … leshooting


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2008-11-28 12:22:51

dvd100
Member
From: Messina, Italia
Registered: 2008-03-31
Posts: 25
Website

Re: dns fail.. only on arch!

I disabled ipv6 and tcp scaling but the problem remains sad

Last edited by dvd100 (2008-11-28 12:23:07)

Offline

#7 2008-11-28 14:28:51

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: dns fail.. only on arch!

http://bugs.archlinux.org/task/12215?project=1 If you are running testing this bug may be part or all of your issue.

Offline

#8 2008-11-28 16:09:29

dvd100
Member
From: Messina, Italia
Registered: 2008-03-31
Posts: 25
Website

Re: dns fail.. only on arch!

cactus wrote:

I would try disabling ipv6 and see if that helps.

If dns is actually resolving, but you are having issues connecting to some websites, it might actually not be a dns problem..but a tcp problem. If the ipv6 thing doesn't work, you might try disabling tcp scaling and see if it helps at all.
http://wiki.archlinux.org/index.php/Con … leshooting

Ok, solved! Maybe yesterday I've wrote the wrong line in the shell, I don't know exatly. Now it works, after a retry.
This is the command:

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

Thank you to everybody!

Offline

Board footer

Powered by FluxBB