Giter VIP home page Giter VIP logo

google_ddns_updater's Introduction

Google Domain DNS auto-updater

Set up a Dynamic DNS synthetic record:

  1. Sign in to Google Domains.
  2. Select the name of your domain.
  3. Open the hamburger menu (Top Left).
  4. Click DNS.
  5. Scroll down to Synthetic Records.
  6. Select Dynamic DNS from the list of synthetic record types.
  7. Enter the name of the resource you plan to have assigned a Dynamic IP, either a subdomain or @ for your default domain (“root domain” or “naked domain”).
  8. If you selected sub-domain, enter the name of the subdomain.
  9. Click Add.
  10. The Dynamic DNS record is created in your list of synthetic records. Click the expand triangle next to the record to view its values.
  11. Click View Credentials to view the user name and password created for this record.
  12. Note the username and password created for the synthetic record. You'll need these to configure your gateway or client software to contact the Google name servers. You can edit or delete the record with the Edit and Delete buttons next to the record.

Download and run script:

curl https://github.com/BrandenCobb/google_ddns_updater/blob/main/ddns_update.sh
vi ddns_update.sh ## Modify username, password, and hostname
chmod +x ddns_update.sh
./ddns_update.sh

Download and add 5 minute cronjob:

curl https://github.com/BrandenCobb/google_ddns_updater/blob/main/ddns_update.sh
vi ddns_update.sh ## Modify username, password, and hostname
chmod +x ddns_update.sh
sudo mv ddns_update.sh /usr/local/bin/
sudo echo "*/5 * * * * root /usr/local/bin/ddns_update.sh" >> /etc/crontab

Never manually update your dns record again!

google_ddns_updater's People

Contributors

brandencobb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.