On 18 April 2013 10:16, Mark Rogers mark@more-solutions.co.uk wrote:
I need a way to do a DNS lookup of an IP address that returns the IP address.
I have managed to solve this in two ways, in case anyone is interested.
First: $ dig @8.8.8.8 192.168.1.1 +short $ dig @192.168.100.5 192.168.1.1 +short 192.168.1.1
It turns out that Google's DNS doesn't give an answer when queried for an IP address, but my own office DNS (dnsmasq) does. So controlling the DNS server gives me a solution.
Secondly though: I found a way to bypass the braindead behaviour in the unit, and although it's messy it works, so none of the rest of this matters any more!
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG