DNS domain Pointing to a DSL U/verse host
Eduardo Bonsi
beartcom at pacbell.net
Thu Aug 15 03:46:07 UTC 2019
Hi,
I have a DSL/Uverse connection behind a generic router that does not give me much option to configure but I got it working running DNS/Apache. As some of you know, AT&T does not reverse their Uverse connection to any domain. But since they provide a static IPv4 address, I thought, "what a hack, I will design a network to run a server from this static ip address."
The AT&T ip address is 162.201.66.177 that reverses to 162-201-66-177.lightspeed.sntcca.sbcglobal.net.
# dig -x 162.201.66.177
; <<>> DiG 9.10.6 <<>> -x 162.201.66.177
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16066
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;177.66.201.162.in-addr.arpa. IN PTR
;; ANSWER SECTION:
177.66.201.162.in-addr.arpa. 7200 IN PTR 162-201-66-177.lightspeed.sntcca.sbcglobal.net.
;; Query time: 43 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Wed Aug 14 14:07:59 PDT 2019
;; MSG SIZE rcvd: 116
#####
; <<>> DiG 9.10.6 <<>> @2001:4860:4860::8888 162-201-66-177.lightspeed.sntcca.sbcglobal.net A +cd
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17986
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;162-201-66-177.lightspeed.sntcca.sbcglobal.net. IN A
;; ANSWER SECTION:
162-201-66-177.lightspeed.sntcca.sbcglobal.net. 7199 IN A 162.201.66.177
;; Query time: 120 msec
;; SERVER: 2001:4860:4860::8888#53(2001:4860:4860::8888)
;; WHEN: Wed Aug 14 20:28:00 PDT 2019
;; MSG SIZE rcvd: 91
So, I have my domain (bonsi.org) pointing to this ip address through BIND. However, lately I observed that the connection host, "162-201-66-177.lightspeed.sntcca.sbcglobal.net.", without any DNS or Apache configuration from my part is resolving to a section of the server that I only reserve for the localhost, (I mean, is not that this host is connecting to the localhost but it is resolving in a part that Apache is reserved for the localhost). I would like to know if I can fix that by pointing this host to my domain.
For my WAN network I have;
bonsi.org hosted by Google Domain (In view external) zone;
$TTL 21600
$ORIGIN bonsi.org.
@ IN SOA ns1.bonsi.org. hostmaster.bonsi.org. (
2019032901
10800
3600
604800
21600 )
@ IN NS ns1.bonsi.org.
@ IN NS ns2.bonsi.org.
@ IN NS ns3.bonsi.org.
;
ns1 IN AAAA 2600:1700:b310:c2e0::21
ns2 IN AAAA 2600:1700:b310:c2e0::31
ns3 IN AAAA 2600:1700:b310:c2e0::41
;
ns1 IN A 216.239.32.107
ns2 IN A 216.239.34.107
ns3 IN A 216.239.36.107
;
ns1 IN AAAA 2001:4860:4802:32::6b
ns2 IN AAAA 2001:4860:4802:34::6b
ns3 IN AAAA 2001:4860:4802:36::6b
;
@ IN A 162.201.66.177
www IN A 162.201.66.177
@ IN AAAA 2600:1700:b310:c2e0::2
www IN AAAA 2600:1700:b310:c2e0::2
;
ftp IN CNAME www
then, I have the 162.201.66 (In view external) Zone for the ip address.
$TTL 86400
$ORIGIN 66.201.162.in-addr.arpa.
@ IN SOA ns1.bonsi.org. hostmaster.bonsi.org. (
2018011600
10800
3600
604800
86400 )
@ IN NS ns1.bonsi.org.
@ IN NS ns2.bonsi.org.
@ IN NS ns3.bonsi.org.
;
177 IN PTR ns1.bonsi.org.
177 IN PTR ns2.bonsi.org.
177 IN PTR ns3.bonsi.org.
;
177 IN PTR bonsi.org.
177 IN PTR www.bonsi.org.
Now, not to extend this too much, here is my question;
- Do you think this is a DNS issue and if it is, what is the possibility to point the host "162-201-66-177.lightspeed.sntcca.sbcglobal.net." to my domain bonsi.org so the AT&T host won't resolve on the no man's land in the server?
Thanks for your help!
Eduardo Bonsi
beartcom at pacbell.net
More information about the bind-users
mailing list