Code Monkey home page Code Monkey logo

ansible-m-dnsupdate's Introduction

dnsupdate

New in version 0.9.

This module performs dynamic DNS updates as per RFC 2136.

parameter required default choices comments
a no
    The rdata for the A resource record type (i.e. an IPv4 address)
    domain yes
      domain name to update (e.g. www)
      zone yes
        name of the authoritative zone (e.g. example.com)
        keyalgo no hmac-md5
        • hmac-md5
        • hmac-sha1
        • hmac-sha224
        • hmac-sha256
        • hmac-sha384
        • hmac-sha512
        TSIG key algorithm
        mname yes
          address of the master server to which to send the update to. This module does not currently determine the mname from the zone's SOA record.
          aaaa no
            The rdata for the AAAA resource record type (i.e. an IPv6 address)
            secret yes
              secret TSIG key blob (base-64 encoded)
              keyname yes
                name of the TSIG key required to perform updates
                ttl yes 3600
                  Time to Live for the RR.
                  txt no
                    The rdata for the TXT resource record type. Space-separated strings are encoded as per DNS rules.
                    op no add
                    • add
                    • delete
                    • replace
                    Operation to perform. add adds the specified RR to the RRset, del deletes the specified RRset and replace replaces the RRset with the RRs. If the operation is delete, the value of the RR is not verified as the whole RRset is deleted from the DNS.
                    • Example from Ansible Playbooks
                    local_action: dnsupdate keyname="mykey1"
                               secret="xxxxxxxxxx=="
                               mname=192.168.1.10
                               zone=example.org
                               domain=www
                               a=${ec2_ip_address}
                               op=add
                    
                    

                    Notes

                    This module requires dnspython (http://www.dnspython.org/), and it will typically be run as a local_action so as to not push the secret TSIG key all over the show.

                    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.