lua-resty-dns icon indicating copy to clipboard operation
lua-resty-dns copied to clipboard

Return domain name by ip address

Open vladsakalkin opened this issue 4 years ago • 1 comments

Hello, How to return domain name by ip address? Not PTR record For example nslookup 8.8.8.8 will return dns.google

vladsakalkin avatar Aug 26 '21 15:08 vladsakalkin

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?

doujiang24 avatar Aug 27 '21 12:08 doujiang24