Okay, so here's some information about what I'm trying to do.
I've interspersed some questions as I go in case some of the work I've done so far is causing my problems. I've also put copious screen output to help answer some questions about what I've tried to debug so far. Please bear with me on this one, as it's my first post on DNS issues.
I have set up DNS on my Linux box, and registered that box as a nameserver called ns.fuzzybundles.com. ns.fuzzybundles.com appears to be fine and visible to the internet as shown by dig (dig issued from a 3rd party completely
unrelated machine):
Code:
ptdl052:>dig ns.fuzzybundles.com
; <<>> DiG 9.2.1 <<>> ns.fuzzybundles.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18446
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;ns.fuzzybundles.com. IN A
;; ANSWER SECTION:
ns.fuzzybundles.com. 85146 IN A 12.206.3.66
;; AUTHORITY SECTION:
fuzzybundles.com. 85146 IN NS park7.secureserver.net.
fuzzybundles.com. 85146 IN NS park8.secureserver.net.
;; Query time: 23 msec
;; SERVER: 137.102.151.30#53(137.102.151.30)
;; WHEN: Wed Jul 2 11:24:55 2003
;; MSG SIZE rcvd: 109
I also have a domain named djradiuspdx.com
It's using the following nameservers:
Primary: ns.fuzzybundles.com
Secondary: ns.tzo.com
Currently the secondary is there just to make my registrar happy, as ns.tzo.com doesn't actually know how to give an ip for djradiuspdx. I did that because ns.fuzzybundles.com
is my primary, and if it's down, then my website is also down. djradiuspdx.com is intended to be hosted on 12.206.3.66 using virtual hosting (along with other domains after I figure this out the first time). I'll probably also create ns1.fuzzybundles.com eventually, but I'm trying to get this stuff working before I spend more money getting names that I may not need to have.
Question 1: Is the fact that I don't have two nameservers that can independently map djradiuspdx.com to an IP a definite
showstopper?
Now from my in-home LAN (on the ns.fuzzybundles.com machine itself), I can ask for www.djradiuspdx.com and I will get:
Code:
[root@localhost named]# dig www.djradiuspdx.com
; <<>> DiG 9.1.3 <<>> www.djradiuspdx.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16648
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;www.djradiuspdx.com. IN A
;; ANSWER SECTION:
www.djradiuspdx.com. 86400 IN A 12.206.3.66
;; AUTHORITY SECTION:
djradiuspdx.com. 86400 IN NS ns.fuzzybundles.com.
;; ADDITIONAL SECTION:
ns.fuzzybundles.com. 86400 IN A 12.206.3.66
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jul 2 11:36:59 2003
;; MSG SIZE rcvd: 99
So it seems to me that (I think) my DNS is working okay at least in respect to my configuring the named.djradiuspdx.conf file and the entry of a djradiuspdx.conf zone to my named.conf file.
However, from the internet, dig will only get me the following:
Code:
ptdl052:>dig www.djradiuspdx.com
; <<>> DiG 9.2.1 <<>> www.djradiuspdx.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 61893
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.djradiuspdx.com. IN A
;; Query time: 2091 msec
;; SERVER: 137.102.151.30#53(137.102.151.30)
;; WHEN: Wed Jul 2 12:38:37 2003
;; MSG SIZE rcvd: 37
Since that didn't get me the IP, I try each hop using dig:
Code:
ptdl052:>dig www.djradiuspdx.com +norec
; <<>> DiG 9.2.1 <<>> www.djradiuspdx.com +norec
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56722
;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0
;; QUESTION SECTION:
;www.djradiuspdx.com. IN A
;; AUTHORITY SECTION:
com. 172573 IN NS I.GTLD-SERVERS.NET.
com. 172573 IN NS J.GTLD-SERVERS.NET.
com. 172573 IN NS K.GTLD-SERVERS.NET.
com. 172573 IN NS L.GTLD-SERVERS.NET.
com. 172573 IN NS M.GTLD-SERVERS.NET.
com. 172573 IN NS A.GTLD-SERVERS.NET.
com. 172573 IN NS B.GTLD-SERVERS.NET.
com. 172573 IN NS C.GTLD-SERVERS.NET.
com. 172573 IN NS D.GTLD-SERVERS.NET.
com. 172573 IN NS E.GTLD-SERVERS.NET.
com. 172573 IN NS F.GTLD-SERVERS.NET.
com. 172573 IN NS G.GTLD-SERVERS.NET.
com. 172573 IN NS H.GTLD-SERVERS.NET.
;; Query time: 57 msec
;; SERVER: 137.102.151.30#53(137.102.151.30)
;; WHEN: Wed Jul 2 12:38:42 2003
;; MSG SIZE rcvd: 261
ptdl052:>dig www.djradiuspdx.com +norec @B.GTLD-SERVERS.NET.
; <<>> DiG 9.2.1 <<>> www.djradiuspdx.com +norec @B.GTLD-SERVERS.NET.
;; global options: printcmd
;; connection timed out; no servers could be reached
So at the GTLD servers level, djradiuspdx.com doesn't point to anything. I pointed djradiuspdx.com to the nameserver ns.fuzzybundles.com about 3 days ago, so I'd think it would have
propagated by now. (djradiuspdx.com can be whois'ed to see that it's out there.)
QUESTION 2: Is there ANYTHING about my nameserver setup that would cause the GTLD-SERVERS to NOT point djradiuspdx.com to ns.fuzzybundles.com?
For example, if the GTLD servers have to pretest that both nameservers for djradiuspdx.com must resolve to an IP before registering the name at that top level, that would be an explanation -- or maybe they just register domains without any testing of the nameservers that will handle requests for IPs for those domains. I don't know that answer.
Overall, I'm confused about whether I have a configuration problem on my end which is making djradiuspdx.com not appear on the internet, or if there is some issue causing djradiuspdx.com to not be recorded as pointing to ns.fuzzybundles.com as it's nameserver. I just can't tell right now where the responsiblities of the dns hops lie -- what's my fault (my nameserver or its config files), and what might be a problem with other resources (GTLD servers not recording my info properly).
I've managed to teach myself all I've needed to get this far with
Linux, apache, virtual hosting, etc, and I'll be darned but I just can't get this nameserver+virtual hosting combination figured out. I'd really appreciate help from someone who can see where I might be off-track.
Here's the relevant parts of my named.conf and named.djradiuspdx.com files:
Code:
named.conf:
zone "fuzzybundles.com" {
type master;
notify no;
file "named.fuzzybundles.com";
};
zone "djradiuspdx.com" {
type master;
notify no;
file "named.djradiuspdx.com";
};
zone "3.206.12.in-addr.arpa" IN {
type master;
notify no;
file "named.12.206.3";
};
named.fuzzybundles.com
$TTL 86400
@ IN SOA ns.fuzzybundles.com. root.fuzzybundles.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
NS ns ; Inet Address of name server
localhost A 127.0.0.1
ns A 12.206.3.66
www CNAME ns
named.djradiuspdx.com
$TTL 86400
@ IN SOA djradiuspdx.com. root.djradiuspdx.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
NS ns.fuzzybundles.com.
localhost A 127.0.0.1
www A 12.206.3.66
named.12.206.3
$TTL 86400
@ IN SOA ns.fuzzybundles.com. root.fuzzybundles.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.fuzzybundles.com.
66 IN PTR ns.fuzzybundles.com.
Thanks!
--DJ Radius