Commit Graph

8 Commits (6d69956f83172f5e6b15103e7203ea0d0cce87b4)

Author SHA1 Message Date
Sebastien Couture db051ff9d2 removed comment 2016-12-08 11:33:43 -05:00
Sebastien Couture b50980d912 Added support for DNS SRV records 2016-12-08 11:33:43 -05:00
Toshio Kuratomi 16bd2c7357 be explicit about urllib import and remove conditional urllib(2) import
urllib and urllib2 have been in the python stdlib since at least
python-2.3.  There's no reason to conditionalize it.

Fixes https://github.com/ansible/ansible/issues/11322
2016-12-08 11:32:52 -05:00
Matthew Landauer 4f0843e10b Handle MX,NS,TXT records correctly and don't assume one record type per name 2016-12-08 11:32:46 -05:00
Matthew Landauer 03f92abf8c If record_name="" write empty value to dns made easy
This is necessary for instance when setting MX records on the root of a domain.
This is different than leaving record_name out completely which has the same
behaviour as before
2016-12-08 11:32:46 -05:00
Matthew Landauer b79806d5d4 If record_value="" write empty value to dns made easy
This is necessary for instance when setting CNAMEs that point to the root
of the domain. This is different than leaving record_value out completely
which has the same behaviour as before
2016-12-08 11:32:46 -05:00
Matthew Landauer 1f09e32baa Fix display of error message
It was crashing due to "domain" variable not being defined
2016-12-08 11:32:46 -05:00
Michael DeHaan ee87304fb8 Fix rename error. 2016-12-08 11:32:19 -05:00