Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

CNAME / TXT

34 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Jukka Pakkanen

ungelesen,
22.08.2020, 20:19:2222.08.20
an bind-...@isc.org

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"

 




Ben Croswell

ungelesen,
22.08.2020, 20:24:0722.08.20
an ML BIND Users
If you uncomment that mg CNAME you end up with a CNAME mx and TXT at the same node in to the DNS tree and that is illegal. That is why you get the error "cname and other data". The mx and txt are the other data. 

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-...@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Kyongseon West

ungelesen,
22.08.2020, 21:16:4722.08.20
an Jukka Pakkanen, bind-...@isc.org

Jukka Pakkanen

ungelesen,
23.08.2020, 05:58:0823.08.20
an Kyongseon West, bind-...@isc.org

401 characters… so that’a another problem. Thx.

 

Lähettäjä: Kyongseon West <kw...@iup.edu>
Lähetetty: 23. elokuuta 2020 3:16
Vastaanottaja: Jukka Pakkanen <jukka.p...@qnet.fi>
Kopio: bind-...@isc.org
Aihe: Re: CNAME / TXT

Jukka Pakkanen

ungelesen,
23.08.2020, 05:59:5123.08.20
an Ben Croswell, ML BIND Users

Yes, I think the whole CNAME is useless here anyway.

These were the recommendations of this service provider, mailgun though..

Thx, Jukka

 

Lähettäjä: bind-users <bind-user...@lists.isc.org> Puolesta Ben Croswell
Lähetetty: 23. elokuuta 2020 2:24
Vastaanottaja: ML BIND Users <bind-...@lists.isc.org>


Aihe: Re: CNAME / TXT

 

If you uncomment that mg CNAME you end up with a CNAME mx and TXT at the same node in to the DNS tree and that is illegal. That is why you get the error "cname and other data". The mx and txt are the other data. 

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-...@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Matus UHLAR - fantomas

ungelesen,
24.08.2020, 04:59:5724.08.20
an bind-...@lists.isc.org
On 23.08.20 09:59, Jukka Pakkanen wrote:
>Yes, I think the whole CNAME is useless here anyway.

CNAME is useful, but it does not (and can not) work the way you want.

>These were the recommendations of this service provider, mailgun though..

where? the CNAME issue is long known and clarifies in RFC 2181, section
10.1. CNAME resource records
...published in 1997.


>Lähettäjä: bind-users <bind-user...@lists.isc.org> Puolesta Ben Croswell
>Lähetetty: 23. elokuuta 2020 2:24
>Vastaanottaja: ML BIND Users <bind-...@lists.isc.org>
>Aihe: Re: CNAME / TXT
>
>If you uncomment that mg CNAME you end up with a CNAME mx and TXT at the same node in to the DNS tree and that is illegal. That is why you get the error "cname and other data". The mx and txt are the other data.
>On Sat, Aug 22, 2020, 8:19 PM Jukka Pakkanen <jukka.p...@qnet.fi<mailto:jukka.p...@qnet.fi>> 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 harriot.fi<http://harriot.fi> named.harriot
>dns_master_load: named.harriot:33: mg.harriot.fi<http://mg.harriot.fi>: CNAME and other data
>dns_rdata_fromtext: named.harriot:35: syntax error
>zone harriot.fi/IN<http://harriot.fi/IN>: loading from master file named.harriot failed: CNAME and other data
>zone harriot.fi/IN<http://harriot.fi/IN>: not loaded due to errors.
>
>;
>; File: named.harriot
>;
>
>$TTL 864
>
>@ IN SOA ns1.qnet.fi<http://ns1.qnet.fi>. helpdesk.qnet.fi<http://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<http://harriot.fi>. IN A 35.214.111.143
> IN MX 10 qntsrv8.qnet.fi<http://qntsrv8.qnet.fi>.
> IN MX 10 qntsrv9.qnet.fi<http://qntsrv9.qnet.fi>.
> IN NS ns1.qnet.fi<http://ns1.qnet.fi>.
> IN NS ns2.qnet.fi<http://ns2.qnet.fi>.
> IN NS ns3.qnet.fi<http://ns3.qnet.fi>.
> IN NS ns1.z.fi<http://ns1.z.fi>.
> IN NS ns2.z.fi<http://ns2.z.fi>.
>
>www IN A 35.214.111.143
>api IN A 35.214.111.143
>webmail IN CNAME mail.qnet.fi<http://mail.qnet.fi>.
>_autodiscover._tcp IN SRV 0 5 443 mail.qnet.fi<http://mail.qnet.fi>.
>
>dev IN A 35.214.111.143
>
>; mg IN CNAME eu.mailgun.org<http://eu.mailgun.org>.
>mg IN MX 10 mxa.eu.mailgun.org<http://mxa.eu.mailgun.org>.
>mg IN MX 10 mxb.eu.mailgun.org<http://mxb.eu.mailgun.org>.
>mg IN TXT v=spf1 include:eu.mailgun.org<http://eu.mailgun.org> ~all
>
>; smtp_domainkey.mg<http://smtp_domainkey.mg> IN TXT "k=rsa; p=MII-----AQAB"
>
>
>
>_______________________________________________
>Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
>
>bind-users mailing list
>bind-...@lists.isc.org<mailto:bind-...@lists.isc.org>
>https://lists.isc.org/mailman/listinfo/bind-users

>_______________________________________________
>Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
>
>bind-users mailing list
>bind-...@lists.isc.org
>https://lists.isc.org/mailman/listinfo/bind-users


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Windows found: (R)emove, (E)rase, (D)elete

Jukka Pakkanen

ungelesen,
24.08.2020, 07:19:3424.08.20
an bind-...@lists.isc.org
In their (mailgun) instructions to the client. And then the client wanted us to include those to his zone.

CNAME of course is useful in general, but like I wrote, *here* it is not needed.

Jukka
Windows found: (R)emove, (E)rase, (D)elete _______________________________________________
0 neue Nachrichten