Not sure why this broke, but fixing DNS sync
This commit is contained in:
parent
2a499c2d0f
commit
13bbf2ce57
2 changed files with 3 additions and 2 deletions
|
@ -8,14 +8,14 @@ import jinja2
|
|||
|
||||
|
||||
RECORD_LINE_PATTERN = re.compile(
|
||||
r"^(?P<rrset_name>\S+)\s+(?P<rrset_ttl>\S+)\s+IN\s+(?P<rrset_type>\S+)\s+(?P<rrset_values>[^\s#]+)(?P<comment>\s*#.*?)?$"
|
||||
r"^(?P<rrset_name>\S+)\s+(?P<rrset_ttl>\d+)\s+IN\s+(?P<rrset_type>\S+)\s+(?P<rrset_values>[^#]+)(?P<comment>\s*#.*?)?$"
|
||||
)
|
||||
|
||||
|
||||
def update(m, k, f, *args, **kwargs):
|
||||
"""clojure.core/update for Python's stateful maps."""
|
||||
|
||||
if k in m:
|
||||
if k in m and m[k] is not None:
|
||||
m[k] = f(m[k], *args, **kwargs)
|
||||
|
||||
return m
|
||||
|
|
|
@ -12,6 +12,7 @@ paperbrainz {{ ttl }} IN A {{ addr }}
|
|||
@ 10800 IN MX 10 in1-smtp.messagingengine.com.
|
||||
@ 10800 IN MX 20 in2-smtp.messagingengine.com.
|
||||
mesmtp._domainkey 10800 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC/arz66E8pNtYK+jWh57KkT+/bIp2iO9JEVb+9xqb9Z/R/l6zvFsUm5voKdhEJKsYkb35xpWJ699HbXWTENzWCLOvFxpPx8+MOh5i5gQDEg7P8vHfs5dDwj+dH5wQHcYTYPOIm5PFdkKemGwzHayFFOGhr5Xgf4PuiohtWZZSxzwIDAQAB"
|
||||
_atproto 10800 IN TXT "did=did:plc:izyoicsqthvug3v65qkmaops"
|
||||
|
||||
email.lists 10800 IN CNAME mailgun.org.
|
||||
lists 10800 IN MX 10 mxa.mailgun.org.
|
||||
|
|
Loading…
Reference in a new issue