Skip to content

postromantic/lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proper host name lookup by IP on Windows

This package provides LookupAddr function based on GetNameInfoW instead of DnsQuery used in Go standard library. Use this one if net.LookupAddr cannot resolve your IP.

Windows-only

Usage:

host, err := lookup.LookupAddr("8.8.8.8")

Installing

go get github.com/postromantic/lookup

About

Proper host name lookup by IP on Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages