Re: Trying to track down malformed TXT sources
John Levine <[email protected]>
| Newsgroups | gmane.network.djbdns |
|---|---|
| Message-ID | <[email protected]> |
>That said, I wouldn't be surprised to hear that people have written >scripts to generate SPF records using the generic syntax (or even >building database files directly) and messed up counting the bytes >manually or something. I've written scripts to generate DKIM records and it is indeed a little tricky. The first thing that bites you is that tinydns-data uses colons as punctuation, so you have to escape them as \072. Then when you fix that, the next thing that bites you is that \072 is four characters so if you just do a strlen() on the string, you'll get the wrong length. I concur with everyone else that if you give tinydns-data and tinydns correct input, they'll serve correct DNS. Regards, John Levine, [email protected], Primary Perpetrator of "The Internet for Dummies", Information Superhighwayman wanna-be, http://www.johnlevine.com, ex-Mayor "More Wiener schnitzel, please", said Tom, revealingly.