javascript - Resolve multiple IPv4 addresses by a hostname -


i have different hosts in network , want ip addresses. (they known hostname address, i.e. foo.local) found several tools und programs find 1 ipv4 address, "the first 1 found" , can link locale address, doesn't fit implementation. since need program, library or program parseable output necessary.

why not using default dns module? doesn't seem work .local hostnames , network doesn't have dns server / router.

os ubuntu, platform node.js.

multicast dns might answer here, haven't found reliable module or other implementation yet. devices hostname resolve supporting multicast dns.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -