mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Disable DNS forwarding
This commit is contained in:
parent
d2db0811a5
commit
509cc27152
1 changed files with 1 additions and 0 deletions
|
@ -160,6 +160,7 @@ def domain_add(auth, domain, dyndns=False):
|
|||
with open('%s/%s' % (dnsmasq_config_path, domain)) as f: pass
|
||||
except IOError as e:
|
||||
zone_lines = [
|
||||
'resolv-file=',
|
||||
'address=/%s/%s' % (domain, ip),
|
||||
'txt-record=%s,"v=spf1 mx a -all"' % domain,
|
||||
'mx-host=%s,%s,5' % (domain, domain),
|
||||
|
|
Loading…
Add table
Reference in a new issue