On Sat, 12 Dec 2009 10:21:15 -0800, Gary Kline kl...@thought.org wrote:
On Sat, Dec 12, 2009 at 11:01:47AM +0200, Giorgos Keramidas wrote:
On Sat, 12 Dec 2009 00:09:52 -0800, Gary Kline kl...@thought.org wrote:
Using lynx:
Looking up www.thought.org
Unable to locate remote host www.thought.org.
Alert!: Unable to connect to remote host.
Obviously, something is wrong with how my new DBS, mAil, and web
server, ethic, is configurated. Can anybody help me here?
Are you sure DNS for the thought.org domain works?
keram...@kobe:/home/keramida$ host www.thought.org
Host www.thought.org not found: 3(NXDOMAIN)
keram...@kobe:/home/keramida$
The more I think about it, no, I'm not sure. The guy who set up my
new DNS was using the named in ports while I was using the one in
/usr/sbin.
That shouldn't be a problem. Both bind versions should be able to serve
your zone files correctly.
When you see 'weird' DNS errors from one place but they seem to magically
disappear if you perform the same query from another place, it is _very_
often a good indication that there is _somewhere_ a stale SOA record and a
stale copy of your zone files. Tracking down where the stale SOA record is
cached may be a bit of work, but it's definitely doable...
The name servers registered for your domain at `thought.org' are:
: $ host -t ns thought.org 21 | expand | fgrep 'name server' | \
: awk '{print $NF}'
: a.ns.celestial.com.
: ns1.localhostservices.net.
: b.ns.celestial.com.
: d.ns.celestial.com.
: ns2.secondary.com.
: ns1.thought.org.
: c.ns.celestial.com.
: $
The IPv4 addresses of these hosts seem to be:
: $ host -t ns thought.org 21 | expand | fgrep 'name server' | \
: awk '{print $NF}' | \
: while read name ; do \
: addrs=$( host ${name} 21 | fgrep 'has address' | \
: awk '{print $NF}' | sort ); \
: echo ${name} ${addrs} ; \
: done | tee thought.org-ns.txt
: a.ns.celestial.com. 192.136.111.41
: ns1.localhostservices.net. 69.55.236.116
: ns1.thought.org. 209.180.213.210
: ns2.secondary.com. 198.133.199.4
: c.ns.celestial.com. 192.136.111.43
: b.ns.celestial.com. 192.136.111.42
: d.ns.celestial.com. 65.255.106.208
: $
So there are seven (7) different name servers that should have the same SOA
record and the same version of your zone file. How many of them *do* have
the same version though?
: keram...@kobe:~$ while read nshost nsip ; do \
: echo ${nshost} [${nsip}] = ; \
: dig @${nsip} thought.org soa 21 | expand | \
: fgrep ' SOA ' | sed -e 's/.* SOA[ ]*//' ; \
: echo ; \
: done thought.org-ns.txt
:
: a.ns.celestial.com. [192.136.111.41] =
: aristotle.thought.org. hostmaster.thought.org. 2008121902 10800 3600 604800
38400
:
: ns1.localhostservices.net. [69.55.236.116] =
: ethic.thought.org. hostmaster.thought.org. 2009120801 10800 3600 604800 38400
:
: ns1.thought.org. [209.180.213.210] =
: ethic.thought.org. hostmaster.thought.org. 2009120801 10800 3600 604800 38400
:
: ns2.secondary.com. [198.133.199.4] =
:
: c.ns.celestial.com. [192.136.111.43] =
: aristotle.thought.org. hostmaster.thought.org. 2008121902 10800 3600 604800
38400
:
: b.ns.celestial.com. [192.136.111.42] =
: aristotle.thought.org. hostmaster.thought.org. 2008121902 10800 3600 604800
38400
:
: d.ns.celestial.com. [65.255.106.208] =
: aristotle.thought.org. hostmaster.thought.org. 2008121902 10800 3600 604800
38400
:
: keram...@kobe:~$
From this output you can now see that:
* There is at least one name server in your NS list that does not have a
SOA record at _all_ for your domain (ns2.secondary.com)
* There are four name servers that have stale copy of your zone file from
last year (a.ns.celestial.com, b.ns.celestial.com, c.ns.celestial.com,
and d.ns.celestial.com).
* There are two name servers that appear to have a copy from 2009-12-08
(ns1.thought.org and ns1.localhostservices.net)
Trying to resolve `www.thought.org' through each one of these name servers,
to find the ones that cause some of the DNS queries to fail, shows the
following:
: $ while read nshost nsip ; do \
: echo ${nshost} [${nsip}] = ; \
: dig @${nsip} www.thought.org a | expand | \
: grep '^www\.thought\.org' ; \
: echo ; \
: done thought.org-ns.txt
: a.ns.celestial.com. [192.136.111.41] =
: www.thought.org.38400 IN CNAME aristotle.thought.org.
:
: ns1.localhostservices.net. [69.55.236.116] =
: www.thought.org.38400 IN CNAME ethic.thought.org.
:
: ns1.thought.org. [209.180.213.210] =
: www.thought.org.38400 IN CNAME ethic.thought.org.
:
: ns2.secondary.com. [198.133.199.4] =
:
: c.ns.celestial.com. [192.136.111.43] =
: www.thought.org.38400 IN CNAME aristotle.thought.org.
:
: b.ns.celestial.com. [192.136.111.42] =
: www.thought.org.38400 IN CNAME aristotle.thought.org.
:
: d.ns.celestial.com. [65.255.106.208] =
: www.thought.org.38400 IN