Skip to content

romuald/nshome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

nshome

This script may be used by people having a "dynamic IP" ISP and administrating their own DNS server.

It sends a dynamic update to update a specific record within your DNS zone (using Bind nsupdate binary)

Sample usage:

nshome -k Khome.example.com.private -n home.example.com  -s ns.example.com

This will send an update to ns.example.com to overwrite home.example.com to your current IP address.

It assumes the zone is correctly configured on the server part to accept updates to example.com with the home.examplecom.private key

You can add the -p5 option to check for IP every 5 minutes and only send update if it changed

You might wish to checkout the MANUAL.rst file to see how to set up your DNS server

Since the script needs the nsupdate binary, you'll need to install it:

  • Debian/Ubuntu: apt-get install dnsutils bind9utils
  • MacOS: brew install bind

About

Update a DNS zone with your IP address, using nsupdate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages