Actions
Task #1138
closedremove CNAMEs from DNS when mail is involved
Start date:
Due date:
% Done:
0%
Tags:
URL:
Description
When mail is involved, there should ideally be no CNAMEs in DNS, but rather IN A/AAAA/MX/TXT records, as some MTAs seem to be confused otherwise
Updated by Christian Lohmaier about 9 years ago
script to undo CNAME mapping. if line maches CNAME www.libreoffice.org, then print A, AAA, MX and corresponding TXT records and skip to next line , otherwise just print the line as-is.
awk '/CNAME *www.libreoffice.org/{ printf "%-25sIN A 89.238.68.168\n%-25sIN AAAA 2a00:1828:a012:168::1\n%-25sIN MX 10 bilbo2.documentfoundation.org.\n%-25sIN TXT \"v=spf1 a:bilbo2.documentfoundation.org ?all\"\n", $1, $1, $1, $1; next } {print }' < cname_dnsrecords.lst > dnsrecords_fixed.lst
Updated by Florian Effenberger about 9 years ago
- Status changed from New to Closed
Actions