Add dmarc and fix dkim setup in DNS
modules/config/dns.scm
| 72 | 72 | ("@" "" "IN" "TXT" "v=spf1 mx a ~all") | |
| 73 | 73 | ("@" "" "IN" "SPF" "v=spf1 mx a ~all") | |
| 74 | 74 | ||
| 75 | - | ("dkim._domainkey" "" "IN" "TXT" (string-append "v=DKIM1; p=" public-dkim "; s=email; t=s"))) | |
| 75 | + | ("dkim._domainkey" "" "IN" "TXT" (string-append "v=DKIM1\\; p=" public-dkim "\\; s=email\\; t=s")) | |
| 76 | + | ("_dmarc" "" "IN" "TXT" "v=DMARC1\\; p=none\\; sp=reject\\; rua=mailto:rua@lepiller.eu!10m\\; ruf=mailto:ruf@lepiller.eu!10m\\; rf=afrf\\; pct=100\\; ri=86400")) | |
| 76 | 77 | ||
| 77 | 78 | (define-zone-entries ipv4-reverse.zone | |
| 78 | 79 | ("@" "" "IN" "PTR" "lepiller.eu.") | |
… | |||
| 120 | 121 | (zone (zone-file | |
| 121 | 122 | (origin "lepiller.eu") | |
| 122 | 123 | (entries lepiller.eu.zone) | |
| 123 | - | (serial 2019072401))))) | |
| 124 | + | (serial 2019072503))))) | |
| 124 | 125 | ||
| 125 | 126 | (define lepiller-slave-zone | |
| 126 | 127 | (knot-zone-configuration | |