Linux Forums unreachable.
Karl Auer
kauer at biplane.com.au
Mon Feb 22 09:29:16 UTC 2010
On Mon, 2010-02-22 at 00:56 -0800, Ray Parrish wrote:
> I do not think it is a DNS problem, as I used the following Python code
> to retrieve the ip address of lunuxforums.org as 174.132.123.98, and
> attempted to connect to that ip address with my web browser [Firefox],
> and was unable to connect.
The browser found the desired site, but could not connect. That suggests
strongly that it is not a DNS problem.
You can completely exclude a DNS problem (or show that it IS a DNS
problem) with three simple steps.
1: Attempt to resolve the problem name using dig.
dig www.linuxforums.org
If you get back an answer, then the DNS is working for you, and
the problem is almost certainly NOT a DNS problem.
If dig does NOT return an answer, then you almost certainly DO have
a DNS problem.
2: If dig did NOT return an answer, try tracing the DNS lookup:
dig +trace www.linuxforums.org
If you get an answer with this, but did not in step 1, then someone
is caching bad data. There is little you can do about it unless you
run your own caching nameserver in which case try clearing its cache.
Otherwise you can wait - but it could be quite a long time; hours or
even days.
3. Now add an entry for the name into /etc/hosts:
174.132.123.98 www.linuxforums.org
You will need to be root to do this.
Does your browser now find the desired site? If yes, it is
*definitely* a DNS problem. Remember to remove the new entry
from /etc/hosts before further testing!
How to fix a DNS problem is a bigger question :-)
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
GPG fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
Old fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100222/6880cc40/attachment.sig>
More information about the ubuntu-users
mailing list