1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

add some backslash parse tests

This commit is contained in:
Craig Peterson
2017-09-15 10:29:28 -04:00
parent a2827dcb4f
commit a520a24628
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,13 @@
dmarc = [
"v=DMARC1\\;",
'p=reject\\;',
'sp=reject\\;',
'pct=100\\;',
'rua=mailto:xx...@yyyy.com\\;',
'ruf=mailto:xx...@yyyy.com\\;',
'fo=1'
].join(' ');
D("foo.com","none",
TXT('_dmarc', dmarc, TTL(300))
);