View previous topic :: View next topic |
Author |
Message |
HyperQuantum Tux's lil' helper
Joined: 27 Sep 2005 Posts: 88
|
Posted: Sun Jun 15, 2008 8:05 pm Post subject: bad DNS? [solved] |
|
|
I noticed that I cannot reach some websites, such as "kernelnewbies.org". And it's most likely a DNS problem.
"/etc/resolv.conf" looks like this:
Code: | # Generated by dhcpcd for interface ath0
nameserver 192.168.1.1
|
And the problem can be shown by this command:
Code: | $ host kernelnewbies.org
kernelnewbies.org has address 32.2.74.92
;; Warning: Message parser reports malformed message packet.
|
(I then have to kill the process because it doesn't exit)
After I replace "/etc/resolv.conf" with my own version that has the DNS servers from my ISP in it, the output is different:
Code: | $ host kernelnewbies.org
kernelnewbies.org has address 74.92.59.67
kernelnewbies.org has IPv6 address 2002:4a5c:3b41:1:216:3eff:fe57:7f4
kernelnewbies.org mail is handled by 0 forlond.surriel.com.
kernelnewbies.org mail is handled by 5 shelob.surriel.com.
kernelnewbies.org mail is handled by 10 forlond.surriel.com.
|
So is this caused by a malfunction in our ADSL router? Can I do anything about it?
Replacing the file "/etc/resolv.conf" is no real solution because dhcpcd overwrites it regularly.
The device is a D-Link DSL-G624T, with firmware "V3.10B01T02.EU-A.20070613".
Would you guys recommend that I try some other (custom) firmware?
Last edited by HyperQuantum on Mon Jun 16, 2008 6:54 pm; edited 1 time in total |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1477 Location: /uk/sheffield
|
Posted: Sun Jun 15, 2008 9:41 pm Post subject: |
|
|
Trying a new firmware could be worth a try, but its a work-in-progress with the most popular OSS firmware for this router. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Mon Jun 16, 2008 4:22 am Post subject: Re: bad DNS? |
|
|
HyperQuantum wrote: | Replacing the file "/etc/resolv.conf" is no real solution because dhcpcd overwrites it regularly. |
You don't have to allow the overwrite. See your net.example file. Then try using the opendns.com servers instead of your ISP's. _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
xtz Apprentice
Joined: 29 Oct 2007 Posts: 181 Location: Singapore
|
Posted: Mon Jun 16, 2008 7:55 am Post subject: |
|
|
For the ath0 script to stop overwriting your DNS records at startup, u can add to /etc/conf.d/net. |
|
Back to top |
|
|
mlivingstone Tux's lil' helper
Joined: 06 Feb 2005 Posts: 125 Location: Gold Coast, Australia
|
Posted: Mon Jun 16, 2008 9:18 am Post subject: Re: bad DNS? |
|
|
HyperQuantum wrote: | I noticed that I cannot reach some websites, such as "kernelnewbies.org". And it's most likely a DNS problem.
|
On the other hand, you might find that the problem is not you and that kernelnewbies.org is in the Internet boonies (it is *25 links* away from me by traceroute,) and is not answering at present
HTH
MarkL |
|
Back to top |
|
|
HyperQuantum Tux's lil' helper
Joined: 27 Sep 2005 Posts: 88
|
Posted: Mon Jun 16, 2008 1:25 pm Post subject: Re: bad DNS? |
|
|
mlivingstone wrote: | you might find that the problem is not you and that kernelnewbies.org is in the Internet boonies |
It's not just that website, I have it with others as well, but often not the top level domains. Like I cannot download updates for
my Firefox add-ons with the setting generated by dhcpcd. But I don't have problems with other parts of the Mozilla website.
Now I could adjust the DNS settings on my computer as you people recommended, but that is still not a real solution. It does
not help my family members here who have the Windows thing on their laptops, though I don't know if they have
experienced the problem yet. But I'm not the only Firefox user here, so... Maybe I should ask them.
I have upgraded the router's firmware a few times already, but it's still the "official" firmware and that did not solve the
problem. OpenWrt is not an option yet; their webpage says that wireless will not work on this device |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Jun 16, 2008 1:56 pm Post subject: Re: bad DNS? |
|
|
HyperQuantum wrote: | "/etc/resolv.conf" looks like this:
Code: | # Generated by dhcpcd for interface ath0
nameserver 192.168.1.1
|
|
Your router is acting as a DNS relay.
Check your configuration options, and see if you can turn this "feature" off. |
|
Back to top |
|
|
HyperQuantum Tux's lil' helper
Joined: 27 Sep 2005 Posts: 88
|
Posted: Mon Jun 16, 2008 6:53 pm Post subject: |
|
|
Oh, I didn't know it was something you could turn off. I thought it was somehow implied by the use of DHCP.
But I looked at the DNS settings and there was a "disable DNS relay" option. Problem solved now, thanks. |
|
Back to top |
|
|
|