<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">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:<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">
      <pre>> 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</pre>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Obviously I replaced my real domain
      with 'example.com'...<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">      Regards,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">   Danilo</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 23. 09. 21 13:36, Sonal Pahuja
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:MWHPR1001MB2141A6F430EF1B7E3EBC6264A8A39@MWHPR1001MB2141.namprd10.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>
          <div>Can some one please help me on this</div>
          <div id="ms-outlook-mobile-signature" dir="ltr">
          </div>
        </div>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>From:</b> Sonal
          Pahuja<br>
          <b>Sent:</b> Thursday, September 23, 2021 10:26:48 AM<br>
          <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
          <a class="moz-txt-link-rfc2396E" href="mailto:bind-users@lists.isc.org"><bind-users@lists.isc.org></a><br>
          <b>Subject:</b> CNAME query</font>
        <div> </div>
      </div>
      <style>@font-face
        {font-family:"Cambria Math"}@font-face
        {font-family:Calibri}p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}span.x_EmailStyle17
        {font-family:"Calibri",sans-serif;
        color:windowtext}.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}div.x_WordSection1
        {}</style>
      <div link="#0563C1" vlink="#954F72" lang="EN-US">
        <div class="x_WordSection1">
          <p class="x_MsoNormal">Hi All,</p>
          <p class="x_MsoNormal"> </p>
          <p class="x_MsoNormal">We are sending a CNAME query but
            currently we don’t have any CNAME record, just have NS info.</p>
          <p class="x_MsoNormal">What should be the Bind9 response for
            this CNAME query? Will it return NS Record in
            Authority/Answer section?</p>
          <p class="x_MsoNormal"> </p>
          <p class="x_MsoNormal">Regards,</p>
          <p class="x_MsoNormal">Sonal</p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Please visit <a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at <a class="moz-txt-link-freetext" href="https://www.isc.org/contact/">https://www.isc.org/contact/</a> for more information.


bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
      <div>
        <table style="background: none; border-width: 0px; border: 0px;
          margin: 0; padding: 0;" cellspacing="0" cellpadding="0"
          border="0">
          <tbody>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;"
                valign="top"> <span style="font-weight: bold;">Danilo
                  Godec</span> | Sistemska podpora / System
                Administration </td>
            </tr>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;"
                valign="top"> <span style="font-weight: bold; color:
                  #ed1c24">AGENDA d.o.o.</span> | Ul. Pohorskega
                bataljona 49, Sl-2000 Maribor </td>
            </tr>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;"
                valign="top"> <span style="font-weight: bold; color:
                  #ed1c24">E:</span> <a
                  href="mailto:danilo.godec@agenda.si">
                  danilo.godec@example.com </a> | <span
                  style="font-weight: bold; color: #ed1c24">T:</span>
                +386 (0)2 421 61 31 | <span style="font-weight: bold;
                  color: #ed1c24">F:</span> +386 (0)2 420 06 90 </td>
            </tr>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;
                padding-top: 11px;" valign="top"> <a
                  href="https://www.agenda.si/"> Agenda OpenSystems </a>
                | Največji slovenski odprtokodni integrator </td>
            </tr>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;"
                valign="top"> <a href="http://www.redhat.si/"> Red Hat
                  v Sloveniji </a> | Red Hat Premier Business Partner </td>
            </tr>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;"
                valign="top"> <a href="http://elasticbox.eu/">
                  ElasticBox </a> | Poslovne rešitve v oblaku </td>
            </tr>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;
                padding-top: 22px; padding-bottom: 22px;" valign="top">
                <a style="border: 0" href="https://www.agenda.si/"> <img
                    alt="Agenda d.o.o." style="border: 0"
                    src="cid:part5.6BEBAD21.A2075AA5@agenda.si"> </a> </td>
            </tr>
            <tr>
              <td style="vertical-align: top; color: #666666; font-size:
                11px; font-family: Arial, Helvetica, sans-serif;"
                valign="top"> <a
                  href="https://www.agenda.si/index.php?id=228"> Izjava
                  o omejitvi odgovornosti / Legal disclaimer statement </a>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </body>
</html>