Giter Club home page Giter Club logo

route53-ddns's Introduction

route53-ddns

AWS Route53上のレコードを自動で編集し、動的IPを使っている環境でも自動でドメイン - IPの紐付け(Aレコードのみ、AAAAレコードはのちに実装予定)を更新するソフトウェア

機能の詳細

実行ディレクトリに配置されたauth.pyというファイルからawsのアクセスキー、アクセスシークレット、自動でアップデートを行いたいレコードの名前を受け取る。 これを元にRoute53上の該当のレコードを自身のグローバルIPに書き換える操作を一時間ごとに行う。

背景・使い所

  • 多くのISPでは、IPアドレスが固定されておらず、ルーター再起動などのたびにIPv4アドレスが変化する
  • これはサーバー運用には非常に都合が悪い
  • DDNSなどのサービスも有る
  • DDNSの欠点を補う運用を行うために、Route53のレコード自動更新を行うことにした

DDNSとの比較

DDNSは、自分のIPアドレスを事業者が持つドメインのサブドメインとして設定してもらう機能なので、独自IPを利用したければ独自IPのCNAMEとしてDDNSのDNS NAMEを設定することになる。しかし、DNSのCNAMEを設定する場合、TXTレコードなどのA以外のレコードもそちらの設定が参照される場合がある。DDNSは多くの場合TXTやSRVなどを設定できない。そこを補うことができるのがRoute53-ddnsである。Aレコードのみの書き換えを行い、TXT, SRVがもとからあっても上書きされないので自由に運用できる。

route53-ddns's People

Contributors

ik-y 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.