def answer
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
330# The IPv4 address the response gives for the query with this id.
331def answer(id: U32, msg: Bytes.Bytes) -> Maybe<&2, String>:
332 head.id(id, Bytes.Cursor.u16be(Bytes.Cursor.new(msg)))