Path: csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news.etla.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!usenet-its.stanford.edu!usenet.stanford.edu!not-for-mail From: Matus UHLAR - fantomas Newsgroups: comp.protocols.dns.bind Subject: Re: VS: CNAME / TXT Date: Mon, 24 Aug 2020 10:59:42 +0200 Lines: 93 Approved: bind-users@lists.isc.org Message-ID: References: <8ef352f3a50845c4a647b1c337b5d03d@qnet.fi> <8645695dd46549209f4c6979e40fe9fd@qnet.fi> <20200824085942.GB17585@fantomas.sk> NNTP-Posting-Host: lists.isc.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1598259595 21392 149.20.1.60 (24 Aug 2020 08:59:55 GMT) X-Complaints-To: action@cs.stanford.edu To: bind-users@lists.isc.org Return-Path: X-Original-To: bind-users@lists.isc.org Delivered-To: bind-users@lists.isc.org X-Authentication-Warning: fantomas.fantomas.sk: uhlar set sender to uhlar@fantomas.sk using -f Mail-Followup-To: bind-users@lists.isc.org Content-Disposition: inline In-Reply-To: <8645695dd46549209f4c6979e40fe9fd@qnet.fi> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=2.8 required=5.0 tests=KAM_ASCII_DIVIDERS, KAM_MXURI, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, SUBJ_ALL_CAPS autolearn=disabled version=3.4.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.pao1.isc.org X-BeenThere: bind-users@lists.isc.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: BIND Users Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20200824085942.GB17585@fantomas.sk> X-Mailman-Original-References: <8ef352f3a50845c4a647b1c337b5d03d@qnet.fi> <8645695dd46549209f4c6979e40fe9fd@qnet.fi> Xref: csiph.com comp.protocols.dns.bind:16067 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 Puolesta Ben Croswell >Lähetetty: 23. elokuuta 2020 2:24 >Vastaanottaja: ML BIND Users >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 > 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 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" > > > >_______________________________________________ >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-users@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-users@lists.isc.org >https://lists.isc.org/mailman/listinfo/bind-users -- Matus UHLAR - fantomas, uhlar@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