<div dir="ltr"><div>Update: I've now filed this bug/issue:</div><div><br></div><div>    <a href="https://gitlab.isc.org/isc-projects/bind9/-/issues/1745">https://gitlab.isc.org/isc-projects/bind9/-/issues/1745</a><br></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 7, 2020 at 8:11 AM Shumon Huque <<a href="mailto:shuque@gmail.com">shuque@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi folks,<div><br></div><div>I thought I'd check here before filing a bug in the gitlab repo -- in case there is something I'm not understanding about dig's intended behavior.<div><br></div><div>"dig +trace" does not appear to be following referrals with a non-empty answer section, e.g. with CNAMEs pointing below the zone cut. I tried this with dig from several versions (9.11.x, 9.14.x, and 9.16.x) with the same result.</div><div><br></div><div>Here's a real example (for brevity, I'm showing the last parts of the output):</div><div><br></div><div>$ dig +trace <a href="http://dfw.salesforce.com" target="_blank">dfw.salesforce.com</a>. A</div><div>[...]</div><div><a href="http://salesforce.com" target="_blank">salesforce.com</a>.         172800  IN      NS      <a href="http://udns1.salesforce.com" target="_blank">udns1.salesforce.com</a>.<br><a href="http://salesforce.com" target="_blank">salesforce.com</a>.            172800  IN      NS      <a href="http://udns2.salesforce.com" target="_blank">udns2.salesforce.com</a>.<br><a href="http://salesforce.com" target="_blank">salesforce.com</a>.            172800  IN      NS      <a href="http://udns3.salesforce.com" target="_blank">udns3.salesforce.com</a>.<br><a href="http://salesforce.com" target="_blank">salesforce.com</a>.            172800  IN      NS      <a href="http://udns4.salesforce.com" target="_blank">udns4.salesforce.com</a>.<br><a href="http://salesforce.com" target="_blank">salesforce.com</a>.            172800  IN      NS      <a href="http://pch1.salesforce-dns.com" target="_blank">pch1.salesforce-dns.com</a>.<br><a href="http://salesforce.com" target="_blank">salesforce.com</a>.              172800  IN      NS      <a href="http://pch2.salesforce-dns.com" target="_blank">pch2.salesforce-dns.com</a>.<br>;; Received 444 bytes from 192.52.178.30#53(<a href="http://k.gtld-servers.net" target="_blank">k.gtld-servers.net</a>) in 7 ms<br><br><a href="http://dfw.salesforce.com" target="_blank">dfw.salesforce.com</a>.   300     IN      CNAME   <a href="http://monitor-dfw.salesforce.com" target="_blank">monitor-dfw.salesforce.com</a>.<br><a href="http://monitor-dfw.salesforce.com" target="_blank">monitor-dfw.salesforce.com</a>. 300    IN      CNAME   <a href="http://monitor-dfw.dfw.r.salesforce.com" target="_blank">monitor-dfw.dfw.r.salesforce.com</a>.<br><a href="http://dfw.r.salesforce.com" target="_blank">dfw.r.salesforce.com</a>.        86400   IN      NS      <a href="http://ns1-dfw.salesforce.com" target="_blank">ns1-dfw.salesforce.com</a>.<br>;; Received 143 bytes from 156.154.100.8#53(<a href="http://udns1.salesforce.com" target="_blank">udns1.salesforce.com</a>) in 1 ms<br></div><div><br></div><div>The last response is above is a referral, but dig doesn't bother to follow it and just terminates there.</div><div><br></div><div>Shumon Huque</div><div><br></div></div></div>
</blockquote></div></div>