From: Ian Jackson Date: Sat, 24 May 2025 17:37:14 +0000 (+0100) Subject: adns: Support AAAA queries X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=40e3e5b495a08dc0dd0a957b1abae86b8e105394;p=chiark-tcl.git adns: Support AAAA queries This is all that's needed! This causes `aaaa` to perform an adns_r_aaaa lookup and then ask adns to convert the returned value to a string, which is precisely correct, just like it is for `a`. Signed-off-by: Ian Jackson --- diff --git a/adns/adns.c b/adns/adns.c index 3d0a22b..39b4efe 100644 --- a/adns/adns.c +++ b/adns/adns.c @@ -419,6 +419,7 @@ const IdDataSpec cht_adnstcl_resolvers= { const AdnsTclRRTypeInfo cht_adnstclrrtypeinfo_entries[]= { RRTYPE_EXACTLY(a), + RRTYPE_EXACTLY(aaaa), RRTYPE_EXACTLY(cname), RRTYPE_EXACTLY(hinfo), RRTYPE_EXACTLY(addr),