[wplug] Problem delegating a host name from the registrar toMyDNS.

Petrucci, Joseph Joseph.Petrucci at ddiworld.com
Fri Feb 25 13:33:33 EST 2005


It turns out My DNS problem was s firewall issue I changed my settings on port 53 as follows

ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:domain flags:SYN,RST,ACK/SYN
ACCEPT     udp  --  anywhere             anywhere           udp dpt:domain

I will now have to harden my firewall.


-----Original Message-----
From: wplug-bounces+joseph.petrucci=ddiworld.com at wplug.org
[mailto:wplug-bounces+joseph.petrucci=ddiworld.com at wplug.org]On Behalf
Of Petrucci, Joseph
Sent: Thursday, February 24, 2005 2:40 PM
To: General user list
Subject: RE: [wplug] Problem delegating a host name from the registrar
toMyDNS.


Even more information I should have included. This is running on a Virtual Private server running RH9 and I am running Bind 9 as my DNS

-----Original Message-----
From: wplug-bounces+joseph.petrucci=ddiworld.com at wplug.org
[mailto:wplug-bounces+joseph.petrucci=ddiworld.com at wplug.org]On Behalf
Of Petrucci, Joseph
Sent: Thursday, February 24, 2005 2:29 PM
To: General user list
Subject: RE: [wplug] Problem delegating a host name from the registrar
to MyDNS.


More information
My named.conf looks like 
------------------------------------------------------------------------

options {
   directory "/etc/namedb";
   pid-file "named.pid";
};

zone "0.0.127.in-arrd-arpa" {
   type master;
   file "localhost.rev";
   notify no;
};
zone "dbwatch.net" {
   type master;
   file "dbwatch.net.db";
};
--------------------------------------------------------------------------
and the zone file looks like 
--------------------------------------------------------------------------
$TTL 3D
@       IN      SOA     www.dbwatch.net. root.cciweb1.cciwebstudio.com. (
                        199802152       ;
                        8H              ; 
                        2H              ; 
                        4W              ; 
                        1D )            ; 
;
                NS      ns1.cciwebstudio.com. ; 
;
localhost       A       127.0.0.1
www         A       192.217.247.27
-----------------------------------------------------------------------------

Thanks

-----Original Message-----
From: wplug-bounces+joseph.petrucci=ddiworld.com at wplug.org
[mailto:wplug-bounces+joseph.petrucci=ddiworld.com at wplug.org]On Behalf
Of Petrucci, Joseph
Sent: Thursday, February 24, 2005 2:10 PM
To: General user list (E-mail)
Subject: [wplug] Problem delegating a host name from the registrar to My
DNS.


I hope this e-mail comes across readable because I am really stumped on this.


Hi I am having trouble delegating a DNS entry got one of my domains. I have the name server runnning on ns1.cciwebstudio.com (192.217.247.27) and there is an A record on ns1.mydyndns.org for that host. A dig on my of my DNS server against the DNS server it is delegated to reads like 

 ; <<>> DiG 9.1.3 <<>> @ns1.mydyndns.org ns1.cciwebstudio.com ANY
 ;; global options:  printcmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6596
 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
 
 ;; QUESTION SECTION:
 ;ns1.cciwebstudio.com.		IN	ANY
 
 ;; ANSWER SECTION:
 ns1.cciwebstudio.com.	21600	IN	A	192.217.247.27
 
 ;; AUTHORITY SECTION:
 cciwebstudio.com.	86400	IN	NS	ns5.mydyndns.org.
 cciwebstudio.com.	86400	IN	NS	ns1.mydyndns.org.
 cciwebstudio.com.	86400	IN	NS	ns2.mydyndns.org.
 cciwebstudio.com.	86400	IN	NS	ns3.mydyndns.org.
 cciwebstudio.com.	86400	IN	NS	ns4.mydyndns.org.
 
 ;; ADDITIONAL SECTION:
 ns1.mydyndns.org.	86400	IN	A	63.208.196.92
 ns2.mydyndns.org.	14400	IN	A	209.69.32.138
 ns3.mydyndns.org.	14400	IN	A	63.209.15.211
 ns4.mydyndns.org.	86400	IN	A	213.155.150.206
 ns5.mydyndns.org.	86400	IN	A	63.208.196.93
 
 ;; Query time: 110 msec
 ;; SERVER: 63.208.196.92#53(ns1.mydyndns.org)
 ;; WHEN: Thu Feb 24 19:47:48 2005
 ;; MSG SIZE  rcvd: 236
 

A dig for www.dbwatch.net against the DNS server I have created on ns1.cciwebstudio.com reads as follows.

 
 ; <<>> DiG 9.1.3 <<>> @ns1.cciwebstudio.com www.dbwatch.net ANY
 ;; global options:  printcmd
 ;; Got answer:
 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51267
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
 
 ;; QUESTION SECTION:
 ;www.dbwatch.net.		IN	ANY
 
 ;; ANSWER SECTION:
 www.dbwatch.net.	259200	IN	A	192.217.247.27
 
 ;; AUTHORITY SECTION:
 dbwatch.net.		259200	IN	NS	ns1.cciwebstudio.com.
 
 ;; Query time: 102 msec
 ;; SERVER: 192.217.247.27#53(ns1.cciwebstudio.com)
 ;; WHEN: Thu Feb 24 19:51:55 2005
 ;; MSG SIZE  rcvd: 83

The results of an iptable -L on my ns1 host is 

[root at cciweb1 root]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
RH-Lokkit-0-50-INPUT  all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:domain
ACCEPT     udp  --  anywhere             anywhere           udp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:smtp
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:smtp
ACCEPT     udp  --  anywhere             anywhere           udp dpt:smtp

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
RH-Lokkit-0-50-INPUT  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:domain
ACCEPT     udp  --  anywhere             anywhere           udp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:smtp
ACCEPT     udp  --  anywhere             anywhere           udp dpt:smtp

Chain RH-Lokkit-0-50-INPUT (2 references)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:ssh flags:SYN,RST,ACK/SYN
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:smtp flags:SYN,RST,ACK/SYN
ACCEPT     tcp  --  anywhere             anywhere           tcp dpt:http flags:SYN,RST,ACK/SYN
ACCEPT     all  --  anywhere             anywhere
ACCEPT     udp  --  localhost.localdomain  anywhere           udp spt:domain
ACCEPT     udp  --  ns1.mydyndns.org     anywhere           udp spt:domain
REJECT     tcp  --  anywhere             anywhere           tcp flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT     udp  --  anywhere             anywhere           udp reject-with icmp-port-unreachable
[root at cciweb1 root]#
 
When I try to delegate the domain name on your web-site I get the following error

Unavailable error in field Host name1
Unavailable error in field Host name2 


_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug



_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug



_______________________________________________
wplug mailing list
wplug at wplug.org
http://www.wplug.org/mailman/listinfo/wplug





More information about the wplug mailing list