Manage DNS servers using Ansible #93
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ class RName(dns.name.Name):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"Invalid e-mail address format: {}".format(address)
|
"Invalid e-mail address format: {}".format(address)
|
||||||
)
|
)
|
||||||
super().__init__((local,) + dns.name.from_text(domain).labels)
|
super().__init__(
|
||||||
|
(local,) + dns.name.from_text(domain, origin=dns.name.empty).labels
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class MultiRecords:
|
class MultiRecords:
|
||||||
|
|
Loading…
Reference in a new issue