kraigu/ninfo-plugin-infoblox

Only accepts a hostname

kraigu opened this issue · 1 comments

I usually actually want to look up IP addresses, not hostnames. This needs to be fixed.

I have changed it so that it first performs a DNS lookup when it receives an IP address, and then tries to respond using the hostname approach. If this dns lookup fails, then it returns formatting it as per the response that infoblox gives to an IP query.