[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[OT] custom dyndns.org domain & local bind





Hi,

Sorry for the OT post, but a lot of people here seem to be using the dyndns.org services. I am intending to transfer my domain to my home server this week, and have set up a test domain to make sure everything goes smoothly. The only thing I've found so far that isn't going smoothly is I can't access my webserver from within the LAN.

I am trying to set up a http://dev.domain.tld VirtualHost as well as a http://www.domain.tld VirtualHost, which was working fine in Apache from the LAN when I was serving the DNS myself, and is reportedly working now from without the LAN

I have a netgear dhcp-serving & port-forwarding router that sends all traffic on 80, 25, & 143 to 192.168.0.3. I think either the router is getting confused somehow with a request going out from one client, being referred back to itself, and forwarding the request to the other client, or it's the reverse-dns mis-match (my dynamic IP is actually 66-108-241-38.nyc.rr.com) getting in the way. (the apache logs on the server don't register a request)

My question is, how does everybody else deal with this?

Should I continue to serve LAN DNS locally with at least some kind of CNAME record? I'm running Bind 8 & I don't really understand 9's "zones", but should I upgrade & create a LAN zone?

If it is a limitation of the router & I should just go back to serving the DNS to the LAN entirely, how do I get my Bind server to "forget" about the dyndns.org servers? I tried putting my original db file back in place, updating the SOA timestamp & reloading bind, but it didn't change anything.

the test domain is "kuboaa.org" & some interesting diagnostics from within the LAN follow ("enlil" is a laptop @ 192.168.0.2).

Thanks,
Kenneth



kenneth@enlil:~$ ping dev.kuboaa.org
PING kuboaa.org (66.108.241.38): 56 data bytes
64 bytes from 66.108.241.38: icmp_seq=0 ttl=250 time=4.6 ms
64 bytes from 66.108.241.38: icmp_seq=1 ttl=250 time=0.2 ms
64 bytes from 66.108.241.38: icmp_seq=2 ttl=250 time=0.2 ms

--- kuboaa.org ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.2/1.6/4.6 ms


kenneth@enlil:~$ traceroute kuboaa.org
traceroute to kuboaa.org (66.108.241.38), 30 hops max, 38 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  *

kenneth@enlil:~$ wget http://www.kuboaa.org
--12:32:04--  http://www.kuboaa.org/
           => `index.html'
Resolving www.kuboaa.org... done.
Connecting to www.kuboaa.org[66.108.241.38]:80... failed: Connection refused.

kenneth@enlil:~$ dig dev.kuboaa.org

; <<>> DiG 9.2.1 <<>> dev.kuboaa.org
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3611
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 5

;; QUESTION SECTION:
;dev.kuboaa.org.			IN	A

;; ANSWER SECTION:
dev.kuboaa.org.		37451	IN	CNAME	kuboaa.org.
kuboaa.org.		48	IN	A	66.108.241.38

;; AUTHORITY SECTION:
kuboaa.org.		80775	IN	NS	ns2.mydyndns.org.
kuboaa.org.		80775	IN	NS	ns3.mydyndns.org.
kuboaa.org.		80775	IN	NS	ns4.mydyndns.org.
kuboaa.org.		80775	IN	NS	ns5.mydyndns.org.
kuboaa.org.		80775	IN	NS	ns1.mydyndns.org.

;; ADDITIONAL SECTION:
ns2.mydyndns.org.	167051	IN	A	209.69.32.138
ns3.mydyndns.org.	167051	IN	A	64.71.191.27
ns4.mydyndns.org.	167051	IN	A	212.100.224.176
ns5.mydyndns.org.	167051	IN	A	66.151.188.46
ns1.mydyndns.org.	167051	IN	A	66.151.188.45

;; Query time: 10 msec
;; SERVER: 192.168.0.3#53(192.168.0.3)
;; WHEN: Mon Jan 20 12:41:53 2003
;; MSG SIZE  rcvd: 241


kenneth@enlil:~$ dig -x 66.108.241.38

; <<>> DiG 9.2.1 <<>> -x 66.108.241.38
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31827
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;38.241.108.66.in-addr.arpa.	IN	PTR

;; ANSWER SECTION:
38.241.108.66.in-addr.arpa. 86373 IN	PTR	66-108-241-38.nyc.rr.com.

;; AUTHORITY SECTION:
241.108.66.in-addr.arpa. 86373	IN	NS	nycdns1.nyc.rr.com.
241.108.66.in-addr.arpa. 86373	IN	NS	nycdns2.nyc.rr.com.

;; ADDITIONAL SECTION:
nycdns1.nyc.rr.com.	10774	IN	A	24.29.99.32
nycdns2.nyc.rr.com.	10774	IN	A	24.29.99.34

;; Query time: 1 msec
;; SERVER: 192.168.0.3#53(192.168.0.3)
;; WHEN: Mon Jan 20 12:37:53 2003
;; MSG SIZE  rcvd: 158





Reply to: