lua-resty-dns
lua-resty-dns copied to clipboard
Return domain name by ip address
Hello, How to return domain name by ip address? Not PTR record For example nslookup 8.8.8.8 will return dns.google
I think PTR record is what you need. https://github.com/openresty/lua-resty-dns#reverse_query
I have captured the network during nslookup 8.8.8.8, there is a PTR query.
I'm not sure why do you said Not PTR record, due to other reasons?