
| This forum is proudly powered by Scientific Linux 6 | SL website Download SL Help Search Members |
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| uhhu |
Posted: Jul 1 2012, 01:15 PM
|
|
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 864 Joined: 24-September 11 |
When is the secondary DNS supposed to be queried? For at least one URL (forum.worldpuzzle.org), my ISP's primary DNS returns "server failure" and then SL sends the query again to the primary DNS resulting in another "server failure". Shouldn't the second query be sent to the secondary DNS instead? I used Wireshark to check what is going on.
The same happens with all my Scientific Linux machines. I have also checked in VirtualBox:
|
|
| Curmudgeon |
Posted: Jul 1 2012, 08:07 PM
|
|||||||
![]() SLF Rookie ![]() Group: Members Posts: 20 Member No.: 1642 Joined: 24-June 12 |
Any time a lookup fails in the primary.
There's at least one other possibility you've not considered. ![]() Post the results of
|
|||||||
| uhhu |
Posted: Jul 1 2012, 10:30 PM
|
|||||||||||
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 864 Joined: 24-September 11 |
The primary is up and replies with "Standard query response, Server failure" (text in the Info column in Wireshark). Is that a failed lookup? Ubuntu thinks it is but SL does not.
Those are using "Automatic (DHCP)". If I change it to "Automatic (DHCP) addresses only" and manually reverse the order of the nameservers, I can go to forum.worldpuzzle.org. But then I cannot go to www.worldpuzzle.org. I now tested with a live CD in a real machine (not VirtualBox) and there is an additional line in the file: "search localdomain". I also tested with a Windows XP machine: works OK. |
|||||||||||
| tux99 |
Posted: Jul 1 2012, 10:45 PM
|
|
|
SLF Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1117 Member No.: 224 Joined: 28-May 11 |
Can you post the output of:
dig forum.worldpuzzle.org -------------------- My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
|
|
| uhhu |
Posted: Jul 1 2012, 10:57 PM
|
|||||
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 864 Joined: 24-September 11 |
Edit >>> And the output of the secondary nameserver (that SL does not query):
|
|||||
| tux99 |
Posted: Jul 1 2012, 11:28 PM
|
|
|
SLF Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1117 Member No.: 224 Joined: 28-May 11 |
Hmm, can you also post the output of:
nslookup forum.worldpuzzle.org Also what client application were you using originally (before you wrote the first post) to do these tests in SL, Centos and Ubuntu? -------------------- My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
|
|
| uhhu |
Posted: Jul 1 2012, 11:55 PM
|
|||||||
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 864 Joined: 24-September 11 |
Firefox (10.0.5 and the live CD's default) and elinks on the machines with installed SL. |
|||||||
| tux99 |
Posted: Jul 2 2012, 12:17 AM
|
|
|
SLF Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1117 Member No.: 224 Joined: 28-May 11 |
It seems that in case of SERVFAIL it's the client app that's responsible to retry with the second ns, that's why nslookup succeeds and dig fails when the first ns returns SERVFAIL.
If the first ns would simply time out then the glibc resolver would automatically try the second ns, but with SERVFAIL it seems that's not the case. See this: http://serverfault.com/questions/398837/second-nameserver-in-etc-resolv-conf-not-picked-up-by-wget Note: I haven't looked at the source code of the glibc resolver so this might not be correct. -------------------- My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
|
|
| uhhu |
Posted: Jul 2 2012, 01:16 AM
|
|||||||||
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 864 Joined: 24-September 11 |
OK, I did not change anything but now I get:
This time nslookup failed to find www.worldpuzzle.org on either server. Doesn't this imply there must be something wrong with the nameservers. |
|||||||||
| tux99 |
Posted: Jul 2 2012, 02:09 AM
|
|||
|
SLF Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1117 Member No.: 224 Joined: 28-May 11 |
Maybe the SERVFAIL problem is related to IPv6 <> IPv4 interference? Try disabling IPv6 on your SL machine (unless of course you are using IPv6 on your network): http://scientificlinuxforum.org/index.php?showtopic=1376 -------------------- My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
|
|||
| Curmudgeon |
Posted: Jul 2 2012, 02:41 AM
|
|||
![]() SLF Rookie ![]() Group: Members Posts: 20 Member No.: 1642 Joined: 24-June 12 |
Easy way to find out; switch over to OpenDNS (or Google's, if you don't mind adding to their extensive collection of things they know about you). OpenDNS servers:
208.67.220.220 I'd also second tux99's suggestion about disabling IPv6 if at all practical. It solves a multitude of DNS-related problems. |
|||
| uhhu |
Posted: Jul 2 2012, 04:40 PM
|
|||
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 864 Joined: 24-September 11 |
I tried that by starting the live CD with ipv6.disable=1 in startup options. That seems to solve the secondary nameserver (non)query problem at least in browsers, now Firefox and elinks query the secondary server if the primary replies SERVFAIL. OK, I managed to solve the problem in Firefox (and without starting the system with ipv6.disable=1). In about:config, I changed the network.dns.disableIPv6 setting to true. |
|||
| tux99 |
Posted: Jul 2 2012, 04:48 PM
|
|||
|
SLF Guru ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1117 Member No.: 224 Joined: 28-May 11 |
Good to know, this is a strong indication that the problem was caused by IPv6 from the beginning. I highly recommend you to disable IPv6 not just in Firefox but also in the kernel (ipv6.disable=1 in grub as explained). -------------------- My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
|
|||
| uhhu |
Posted: Jul 3 2012, 03:50 PM
|
|||||
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 864 Joined: 24-September 11 |
Although I was able to solve my problem by adding ipv6.disable=1 in /boot/grub/grub.conf, I decided to compare the behavior of
SL 6.2 live CD, default boot options, links 0.12pre5; edited and grouped for clarity:
SL 5.7 live CD, default boot options. links 0.11.1; edited and grouped for clarity:
Any idea where the bug is? SL 6 networking (ipv6), the browser, my ISP's DNS, or where? |
|||||
![]() |
![]() ![]() ![]() |