[Pdns-users] Domainkeys with Bind

fredrik danerklint fredan-pdns at fredan.org
Sun Nov 12 21:19:24 UTC 2006


Hi!

I've added my domainkeys to my domain in my bind file like this:

;DomainKeys support...
_domainkey.fredan.se.   IN TXT "t=y; o=~;"

Now when I run dig _domainkey.fredan.se TXT

; <<>> DiG 9.2.5 <<>> _domainkey.fredan.se TXT
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29949
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_domainkey.fredan.se.          IN      TXT

;; ANSWER SECTION:
_domainkey.fredan.se.   3600    IN      TXT     "t=y"

;; Query time: 10 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sun Nov 12 22:15:53 2006
;; MSG SIZE  rcvd: 54

everything after the ";" character is gone! I think that the bind parser sees 
the ";" as a comment delete everything after it.


-- 
//fredan


More information about the Pdns-users mailing list