Kyongseon West kwest at
Sun Aug 23 01:16:27 UTC 2020

How long is the character in txt line? If it’s longer than 255, it will show that exact error. Exact thing happened to me yesterday.

You can separate with a quote to make it work.


Kathy West, CISSP
IT Services
Indiana University of Pennsylvania
kwest at<mailto:kwest at>

On Aug 22, 2020, at 8:19 PM, Jukka Pakkanen <jukka.pakkanen at> wrote:

Cannot figure out what is wrong here… must be something simple but after sitting in airplanes the last 40 hours and it’s 2am…

Only when I comment out the two lines in the end of the named.harriot, it goes through and BIND load the zone. With those two lines, get the following:

C:\DNS\etc\namedb>named-checkzone named.harriot
dns_master_load: named.harriot:33: CNAME and other data
dns_rdata_fromtext: named.harriot:35: syntax error
zone loading from master file named.harriot failed: CNAME and other data
zone not loaded due to errors.

;    File:      named.harriot

$TTL 864

@        IN SOA                     (
         202008243      ; serial number
             28800      ; refresh every 12 hours
              7200      ; retry after 2 hours
            604800      ; expire after 2 weeks
              3600)     ; default ttl is 2 days                                       IN A
                                                          IN MX     10
                                                          IN MX     10
                                                         IN NS
                                                         IN NS
                                                         IN NS
                                                          IN NS
                                                          IN NS

www                IN A
api                     IN A
webmail            IN CNAME
_autodiscover._tcp      IN SRV 0 5 443

dev                                                                               IN A

; mg                                                                              IN CNAME
mg                                                                                 IN MX                 10
mg                                                                                 IN MX                 10
mg                                                                                 IN TXT                v=spf1 ~all

;             IN TXT "k=rsa; p=MII-----AQAB"

Please visit to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at for more information.

bind-users mailing list
bind-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bind-users mailing list