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.
                    cname no
                      The rdata for the CNAME resource record type (e.g. example.com)
                      rtype no
                        The type of DNS resource record to operate on
                        rdata no
                          The rdata for the resource record specified by the rtype option
                          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.

                          ansible-m-dnsupdate's People

                          Contributors

                          juise avatar rjsalts avatar sverch avatar

                          Stargazers

                           avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

                          Watchers

                           avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

                          ansible-m-dnsupdate's Issues

                          Support for ZoneID

                          Now that AWS has public and private zones, I think dnsupdate needs to ask for the ZoneID, else it updates the public zone (or possibly the first zone it finds).

                          I am new to git and was going to try to fork this code and fix this problem if you guys can guide me understand where the fix needs to go. I read through this code and was not sure if this is problem that needs to be fixed upstream first in the AWS CLI.

                          Thanks,
                          Vihar

                          CNAME Records

                          How easy would it be to include parameters to register a host's alias (or aliases) as CNAME records in its DNS server?

                          I understand this module is not being considered for inclusion in Ansible core, due to its being too specialized. But how then are Ansible users with BIND servers handling aliases to their www servers and so forth? Isn't this recommended best practice?

                          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.