more details...
I have a public static IP address (xxx.93.1.234) which is routed to my internal network through a pair of OpenBSD virtual machines running PF.
Subsonic is running on a virtual Centos 5.5 server on the internal network (192.168.xxx.42), configured for port 4202.
The PF machines are configured to relay connections to the external IP and subsonic port (xxx.93.1.234:4202) to the subsonic server at 192.168.xxx.42:4202.
This all works fine for external web browser access using either the external IP or my own DNS entry for that IP.
But if I try to use a subsonic.org address things go very wonky.
I enable the option in Subsonic, choose a subdomain name and click save. Subsonic reports "arley.subsonic.org responded successfully".
But, when I do a lookup on arley.subsonic.org I get a completely unrelated IP address (97.74.125.134).
--<snip>--
- Code: Select all
[adealey@MS02 ~]$ dig arley.subsonic.org
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> arley.subsonic.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10464
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;arley.subsonic.org. IN A
;; ANSWER SECTION:
arley.subsonic.org. 2908 IN A 97.74.125.134
;; Query time: 8 msec
;; SERVER: 192.168.42.11#53(192.168.42.11)
;; WHEN: Sat Jan 15 09:59:45 2011
;; MSG SIZE rcvd: 52
[adealey@MS02 ~]$
--<snip>--
I can check it from another client on another network configured for different DNS servers and the result is the same...
--<snip>--
- Code: Select all
[adealey@Ext-Centos-00 ~]$ dig arley.subsonic.org
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> arley.subsonic.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60126
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;arley.subsonic.org. IN A
;; ANSWER SECTION:
arley.subsonic.org. 3600 IN A 97.74.125.134
;; AUTHORITY SECTION:
subsonic.org. 46686 IN NS ns1.domaindiscover.com.
subsonic.org. 46686 IN NS ns2.domaindiscover.com.
;; ADDITIONAL SECTION:
ns1.domaindiscover.com. 453 IN A 216.104.162.3
ns2.domaindiscover.com. 453 IN A 216.104.163.3
;; Query time: 30 msec
;; SERVER: 72.3.128.240#53(72.3.128.240)
;; WHEN: Sat Jan 15 10:06:44 2011
;; MSG SIZE rcvd: 138
[adealey@Ext-Centos-00 ~]$
--<snip>--
I waited 72 hours to ensure it wasn't an old address that hadn't been updated somehow and there was no change.
I can unregister that address and re-register the server with a new subdomain name and it still registers the same incorrect IP in the a-rec.
Very bizarre.
Anybody have any clue what is going on here?