Thanks a lot Danilo for understanding my query! This is what i was looking for!
________________________________
From: bind-users <bind-users-boun...@lists.isc.org> on behalf of Danilo Godec 
via bind-users <bind-users@lists.isc.org>
Sent: Thursday, September 23, 2021 17:27
To: bind-users@lists.isc.org
Subject: [External] : Re: CNAME query


Don't know if that helps, but if I query my local Bind DNS for a CNAME, that 
doesn't exists, dig gives me the SOA record:



> dig cname nonexisting.example.com @mydns

; <<>> DiG 9.16.6 <<>> cname nonexisting.example.com @mydns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 22683
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;nonexisting.example.com.             IN      CNAME

;; AUTHORITY SECTION:
example.com.              600     IN      SOA     mydns.example.com. 
hostmaster.mydns.example.com. 2020042504 86400 3600 604800 604800

;; Query time: 0 msec
;; SERVER: mydns#53(mydns)
;; WHEN: thu sep 23 13:50:00 CEST 2021
;; MSG SIZE  rcvd: 100



Obviously I replaced my real domain with 'example.com'...



      Regards,

   Danilo






On 23. 09. 21 13:36, Sonal Pahuja wrote:
Can some one please help me on this
________________________________
From: Sonal Pahuja
Sent: Thursday, September 23, 2021 10:26:48 AM
To: bind-users@lists.isc.org<mailto:bind-users@lists.isc.org> 
<bind-users@lists.isc.org><mailto:bind-users@lists.isc.org>
Subject: CNAME query


Hi All,



We are sending a CNAME query but currently we don’t have any CNAME record, just 
have NS info.

What should be the Bind9 response for this CNAME query? Will it return NS 
Record in Authority/Answer section?



Regards,

Sonal



_______________________________________________
Please visit 
https://lists.isc.org/mailman/listinfo/bind-users<https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/bind-users__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96ng0X9gxM$>
 to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at 
https://www.isc.org/contact/<https://urldefense.com/v3/__https://www.isc.org/contact/__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96nmDXkMks$>
 for more information.


bind-users mailing list
bind-users@lists.isc.org<mailto:bind-users@lists.isc.org>
https://lists.isc.org/mailman/listinfo/bind-users<https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/bind-users__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96ng0X9gxM$>



--
Danilo Godec | Sistemska podpora / System Administration
AGENDA d.o.o. | Ul. Pohorskega bataljona 49, Sl-2000 Maribor
E: danilo.go...@example.com <mailto:danilo.go...@agenda.si> | T: +386 (0)2 421 
61 31 | F: +386 (0)2 420 06 90
Agenda OpenSystems 
<https://urldefense.com/v3/__https://www.agenda.si/__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96nBvqVozY$>
 | Največji slovenski odprtokodni integrator
Red Hat v Sloveniji 
<https://urldefense.com/v3/__http://www.redhat.si/__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96nCzP89c8$>
 | Red Hat Premier Business Partner
ElasticBox 
<https://urldefense.com/v3/__http://elasticbox.eu/__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96n5r5U8NQ$>
 | Poslovne rešitve v oblaku
[Agenda d.o.o.] 
<https://urldefense.com/v3/__https://www.agenda.si/__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96nBvqVozY$>
Izjava o omejitvi odgovornosti / Legal disclaimer statement 
<https://urldefense.com/v3/__https://www.agenda.si/index.php?id=228__;!!ACWV5N9M2RV99hQ!acNTbg45If3UvWcP3r7jHvln1xXfb2F2mjOG49F4wfJT0srEbeS11PaHt96nEk6vL_A$>
_______________________________________________
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

Reply via email to