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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -