Linux Forums unreachable.
Ray Parrish
crp at cmc.net
Mon Feb 22 13:19:17 UTC 2010
Karl Auer wrote:
> 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.
>
ray at RaysComputer:~$ dig www.linuxforums.org
; <<>> DiG 9.4.2-P2.1 <<>> www.linuxforums.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37961
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.linuxforums.org. IN A
;; ANSWER SECTION:
www.linuxforums.org. 300 IN CNAME linuxforums.org.
linuxforums.org. 300 IN A 174.132.123.98
;; Query time: 219 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Mon Feb 22 05:12:02 2010
;; MSG SIZE rcvd: 67
ray at RaysComputer:~$ dig +trace www.linuxforums.org
; <<>> DiG 9.4.2-P2.1 <<>> +trace www.linuxforums.org
;; global options: printcmd
;; Received 17 bytes from 208.67.220.220#53(208.67.220.220) in 60 ms
And adding the ip address to the hosts file made no difference.
Thanks, Ray Parrish
--
Linux dpkg Software Report script set..
http://www.rayslinks.com/LinuxdpkgSoftwareReport.html
Ray's Links, a variety of links to usefull things, and articles by Ray.
http://www.rayslinks.com
Writings of "The" Schizophrenic, what it's like to be a schizo, and other
things, including my poetry.
http://www.writingsoftheschizophrenic.com
More information about the ubuntu-users
mailing list