Hi
I’m trying to get the IP address of a domain name, so I can add the IP to my firewall but I can’t seem to get the dns node to work - node-red-contrib-dns (node) - Node-RED
Is anyone using this successfully for reverse look ups ?
I’m simple trying to send the domain name (e.g www.google.com) via an inject node to the dns node (set to Reverse) to see if it can return the IP address via debug node ?
I’ve tried variations of the domain name, http:/www.google.com, www.google.com, google.com - it all I seem to get in return is this error, and nothing reaches the debug node
08/03/2020, 18:21:12
msg : error
"Error: getHostByAddr EINVAL"