DNS: also add IPv4 entry to zonefile

This commit is contained in:
missytake 2023-12-13 04:05:07 +01:00
parent 2669babb53
commit 2b731bf909
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{chatmail_domain}. MX 10 {chatmail_domain}.
{chatmail_domain}. A {ipv4}
{chatmail_domain}. AAAA {ipv6}
{chatmail_domain}. MX 10 {chatmail_domain}.
_submission._tcp.{chatmail_domain}. SRV 0 1 587 {chatmail_domain}.
_submissions._tcp.{chatmail_domain}. SRV 0 1 465 {chatmail_domain}.
_imap._tcp.{chatmail_domain}. SRV 0 1 143 {chatmail_domain}.

View File

@ -143,6 +143,7 @@ def dns_cmd(args, out):
chatmail_domain=args.config.mail_domain,
dkim_entry=dkim_entry,
ipv6=ipv6,
ipv4=ipv4,
)
.strip()
)