CNAME / TXT

Jukka Pakkanen jukka.pakkanen at qnet.fi
Sun Aug 23 00:19:10 UTC 2020


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 harriot.fi named.harriot
dns_master_load: named.harriot:33: mg.harriot.fi: CNAME and other data
dns_rdata_fromtext: named.harriot:35: syntax error
zone harriot.fi/IN: loading from master file named.harriot failed: CNAME and other data
zone harriot.fi/IN: not loaded due to errors.

;
;    File:      named.harriot
;

$TTL 864

@        IN SOA                              ns1.qnet.fi. helpdesk.qnet.fi. (
         202008243      ; serial number
             28800      ; refresh every 12 hours
              7200      ; retry after 2 hours
            604800      ; expire after 2 weeks
              3600)     ; default ttl is 2 days

harriot.fi.                                       IN A  35.214.111.143
                                                          IN MX     10 qntsrv8.qnet.fi.
                                                          IN MX     10 qntsrv9.qnet.fi.
                                                         IN NS     ns1.qnet.fi.
                                                         IN NS     ns2.qnet.fi.
                                                         IN NS     ns3.qnet.fi.
                                                          IN NS     ns1.z.fi.
                                                          IN NS     ns2.z.fi.

www                IN A 35.214.111.143
api                     IN A 35.214.111.143
webmail            IN CNAME mail.qnet.fi.
_autodiscover._tcp      IN SRV 0 5 443 mail.qnet.fi.

dev                                                                               IN A      35.214.111.143

; mg                                                                              IN CNAME eu.mailgun.org.
mg                                                                                 IN MX                 10 mxa.eu.mailgun.org.
mg                                                                                 IN MX                 10 mxb.eu.mailgun.org.
mg                                                                                 IN TXT                v=spf1 include:eu.mailgun.org ~all

; smtp_domainkey.mg             IN TXT "k=rsa; p=MII-----AQAB"




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20200823/9094e473/attachment.htm>


More information about the bind-users mailing list