To determine ipv4/6, do you need to send that hostname and ip off to somewhere to get a response? or can it be done locally without leaving the machine?
https://developer.chrome.com/docs/extensions/reference/api/w...
IPv4: 123.123.123.123
IPv6: 2001:db8::8a2e:370:7334