<div dir="ltr"><div>Hi Tessa,</div><div><br></div><div>welcome to the wonderful world of DNS and to this mailing list.</div><div><br></div><div>No, the `A` rrtype query is specifically IPv4 address.  The IPv6 addresses are stored in `AAAA` rrtype records.</div><div>When `AAAA` rrtype does not exist, but the other rrtypes does exist, the answer is NOERROR + SOA record.</div><div>This is different from node being empty (empty non-terminal) that would be NODATA error code or when there's</div><div>nothing beneath that would be NXDOMAIN.</div><div><br></div><div>I know that there's a plethora of DNS RFC (the standards that define DNS), but perhaps you can start by looking</div><div>at the wonderful project that Bert Hubert started - teaching dns - <a href="https://powerdns.org/hello-dns/tdns/intro.md.html">https://powerdns.org/hello-dns/tdns/intro.md.html</a></div><div><br></div><div>Ondrej<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 31 Mar 2020 at 14:29, Tessa Plum <tessa@plum.ovh> 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">Hello<br>
<br>
Sorry I am newbie to DNS.<br>
<br>
When making a DNS query (giving the type is A) to an authorized <br>
nameserver to its IPv6 address, will the value in answer are also IPv6 <br>
addresses? If the host doesn't have an IPv6 address, how will DNS server <br>
return?<br>
<br>
Thank you.<br>
<br>
Tessa.<br>
_______________________________________________<br>
dns-operations mailing list<br>
<a href="mailto:dns-operations@lists.dns-oarc.net" target="_blank">dns-operations@lists.dns-oarc.net</a><br>
<a href="https://lists.dns-oarc.net/mailman/listinfo/dns-operations" rel="noreferrer" target="_blank">https://lists.dns-oarc.net/mailman/listinfo/dns-operations</a><br>
</blockquote></div>