I'm trying to find the authoritative name servers for a given IP address and as far as I can see the only way to find the name servers is by using the domain name of the IP.
- How do I convert the IP to domain name (not hostname)?
- Or how do I find the authoritative name servers for any IP address?
You can use dig to get PTR RR, for example: