template fixes
This commit is contained in:
parent
7b37ae5420
commit
e007719926
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -23,14 +23,14 @@ template_soa = ("$ORIGIN {zone}.\n"
|
|||
")")
|
||||
template_originv4 = "@ IN A {ipv4}"
|
||||
template_originv6 = "@ IN AAAA {ipv6}"
|
||||
template_ns = "@ IN NS {target}"
|
||||
template_mx = "@ IN MX {priority} {target}"
|
||||
template_ns = "@ IN NS {target}."
|
||||
template_mx = "@ IN MX {priority} {target}."
|
||||
template_txt = "{field1} IN TXT {field2}"
|
||||
template_srv = "_{service}._{protocol}.{zone} {ttl} IN SRV {priority} {weight} {port} {target}"
|
||||
template_a = "{hostname} IN A {ipv4}"
|
||||
template_aaaa = "{hostname} IN AAAA {ipv6}"
|
||||
template_cname = "{hostname} IN CNAME {alias}"
|
||||
template_ptr = "{target} IN PTR {hostname}"
|
||||
template_ptr = "{target} IN PTR {hostname}."
|
||||
|
||||
template_zone = ("$TTL 2D\n"
|
||||
"{soa}\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue