def questions
import bend-kit-dns@0.7.0.0/dns.bend as Dnsimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
259def questions(fuel: Nat, r: Bytes.Cursor & Bool) -> Bytes.Cursor & Bool:
260 match fuel:
261 case 0n:
262 r
263 case 1n+f:
264 (c, ok) = r
265 match ok:
266 case False{}:
267 (c, False{})
268 case True{}:
269 questions(f, question.end(name.skip(c)))