records.append((m.group(1),"TXT",val,"Recommended. Provides a way for recipients to verify that this machine sent @%s mail."%domain))
# Append a DMARC record.
records.append(("_dmarc","TXT",'v=DMARC1; p=quarantine',"Optional. Specifies that mail that does not originate from the box but claims to be from @%s is suspect and should be quarantined by the recipient's mail system."%domain))
# Skip if the user has set a DMARC record already.
ifnothas_rec("_dmarc","TXT",prefix="v=DMARC1; "):
records.append(("_dmarc","TXT",'v=DMARC1; p=quarantine',"Optional. Specifies that mail that does not originate from the box but claims to be from @%s is suspect and should be quarantined by the recipient's mail system."%domain))
# For any subdomain with an A record but no SPF or DMARC record, add strict policy records.