问题原文
原帖链接 · rgb255_255_255 · CC BY-SA 4.0
Before anyone answers "ask your ISP" or "ask your hosting provider", please read in full.
Scenario:
- I own a domain name
mydomain.example, and a publically routed IP block (say192.0.2.0/28) - The NS records (GLUE) for this domain are configured at my registrar -
ns1.mydomain.exampleandns2.mydomain.examplewhich point to my servers (self-hosted DNS servers) - Reverse DNS for my publically routed IP block are served by the same servers This is so I can update the reverse dns entries for my IPs at my leisure on my equipment.
Problem:
I went to migrate DNS hosting for my domain (mydomain.example) from my own servers to cloudflare, deciding it isn't worth the hassle to DIY-host it. I have done this several times before with identical setups and experienced no ill effects.
However, when the NS records updated to cloudflare's, I found my reverse DNS completely stopped working.
Question: What / who determines who is answering the queries for the reverse DNS for my IP block? It was my understanding that typically, forward DNS and reverse DNS are done independently of each other so I wasn't expecting the migration of the forward lookup name servers from the self-hosted infrastructure -> cloudflare to torch reverse DNS lookup.
It was my understanding that the entity that answers your forward dns (cloudflare) is independent of the one answering your reverse DNS (e.g. your hosting provider, ISP etc). But, how can I confirm who is really responsible for this - like I would for my forward DNS? I can do a % dig +short mydomain.example NS to confirm which servers are responsible for forward DNS queries, what is the procedure to figure out who is responsible for the reverse DNS of an IP address(es) that I am using?
社区高分解答
原帖链接 · joeqwerty · CC BY-SA 4.0
If your ip address were 192.0.2.4 and you were using nslookup you'd run the following:
set q=ns
4.2.0.192.in-addr.arpa
This would show you the name servers responsible for the ip address block in which your ip address exists.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
