Skip to content

nitainedvetzki/myrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code uses the LookupIPAddr function from the net package to perform a DNS lookup for the IP address of the domain google.com. The context package is used to set a timeout of 5 seconds for the DNS lookup to prevent the program from hanging indefinitely. Finally, the first IP address returned by the DNS lookup is printed to the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published