Skip to content

Short script that finds the IP address of a FQDN without waiting for DNS records to propagate.

Notifications You must be signed in to change notification settings

mtroisi/find_ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

find_ip

Short script that finds the IP address of a FQDN without waiting for DNS records to propagate.

Usage

./find_ip.sh www.example.com example.com

Taking two arguments in the order a trusted name server (default Cloudflare's 1.1.1.1) is queried for the authoritative nameserver for the FQDN provided. That authoritative name server is then queried for the A record of the FQDN. This will always return the most recent DNS record for the host.

Use case

Together with dynamic DNS updates, this script can be used to immediately return the IP of a server once the corresponding dynamic DNS record is updated.

About

Short script that finds the IP address of a FQDN without waiting for DNS records to propagate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages