The Query portion of the DNS protocol can probably ask more than one question at a time. (I think I've only ever seen "QUERY: 1" in all the digs I've ever done - but might be wrong).
Of course - if one were to ask for both an A and AAAA at the same time - one gets the same problem - how does one sort out whether there is an AAAA if there is a valid answer to A, and visa versa. "dig machine.domain.com a machine.domain.com aaaa" - actually works but does this as two queries. I think the cleanest way would be a new pseudo record (ANYA) as the reply would have to be a single complete resource set of all the possible answers (A's and AAAA's), all with one covering signature if DNSSEC is involved. One would then programmatically know then what was available. On 15/08/2017 14:00, fredrik danerklint wrote: > >> >>> What is the opinion of this wg on that topic? >> There has been much discussion about doing away with any/255 and I >> seem to recall some discussion of a ANYA type which would return AAAA >> and A. >> >> This is something I see value in being implemented. >> >> > Would it be easier in this case to implement this behavior instead of > creating a new type? > > If a authority DNS server is getting a question type of A and it has > both A and AAAA records, put both in the answer. The same for a > question type of AAAA, if it has both A and AAAA records put those in > the answer. > > If it got a question type of A and it doesn't have the A record but it > has the AAAA record, what should the behavior be in this case? The > same for other way around of course, question type AAAA but it does > not have the AAAA record, only the A record. Should it add the known > record or not at all? > -- Mark James ELKINS - Posix Systems - (South) Africa m...@posix.co.za Tel: +27.128070590 Cell: +27.826010496 For fast, reliable, low cost Internet in ZA: https://ftth.posix.co.za _______________________________________________ DNSOP mailing list DNSOP@ietf.org https://www.ietf.org/mailman/listinfo/dnsop