DMARC record issue

Posted on

I have been working to implement dmarc records in BIND DNS on Redhat Linux.

I have tried this out on BIND version 9.7 on RHEL 5, 9.8 on 6 and 9.9 on 7.

each time I update the primary zone, the slave zone record comes up with escape characters, \, in front of each semicolon in the dmarc record. This breaks the record when conducting external tests against this.

Master zone:

_dmarc.lands.nsw. IN TXT "v=DMARC1; p=reject; rua=root@dns-test-1.lands.nsw; aspf=s; rf=afrf; sp=reject"

Slave zone:

_dmarc TXT "v=DMARC1\; p=reject\; rua=root@dns-test-1.lands.nsw\; aspf=s\; rf=afrf\; sp=reject"

How can I resolve this so that zone updates do not create this issue?

Responses