mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #415 from JocelynDelalande/patch-1
Fix comment lines in DNS zone example (using ";")
This commit is contained in:
commit
afc520fb06
1 changed files with 3 additions and 3 deletions
|
@ -188,17 +188,17 @@ def domain_dns_conf(domain, ttl=None):
|
|||
|
||||
result = ""
|
||||
|
||||
result += "# Basic ipv4/ipv6 records"
|
||||
result += "; Basic ipv4/ipv6 records"
|
||||
for record in dns_conf["basic"]:
|
||||
result += "\n{name} {ttl} IN {type} {value}".format(**record)
|
||||
|
||||
result += "\n\n"
|
||||
result += "# XMPP"
|
||||
result += "; XMPP"
|
||||
for record in dns_conf["xmpp"]:
|
||||
result += "\n{name} {ttl} IN {type} {value}".format(**record)
|
||||
|
||||
result += "\n\n"
|
||||
result += "# Mail"
|
||||
result += "; Mail"
|
||||
for record in dns_conf["mail"]:
|
||||
result += "\n{name} {ttl} IN {type} {value}".format(**record)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue