Re: [s6-dns] is there a particular reason skadns_packet would return NULL errno ENETUNREACH?

From: Guillermo <gdiazhartusch_at_gmail.com>
Date: Wed, 12 Oct 2022 23:44:09 -0300

El mié, 12 oct 2022 a las 23:22, Amelia Bjornsdottir
(<ellenor_at_umbrellix.net>) escribió:
>
> To clarify, I'm referring to the ->target member (in srv) or the
> ->exchange member (in mx).
>
> Are those not the same as the input format for skadns_send?

Oooh. If you mean the "target" member of a s6dns_message_rr_srv_t
object filled by a call to s6dns_message_get_srv(), or the "exchange"
member of a s6dns_message_rr_mx_t object filled by a call to
s6dns_message_get_mx(), then no, looking at the code from libs6dns
from s6-dns-2.3.5.4, it seems that they are in string format, so you'd
have to convert them to packet format using s6dns_domain_encode()
before using them for a subsequent call to skadns_send().

G.
Received on Thu Oct 13 2022 - 04:44:09 CEST

This archive was generated by hypermail 2.4.0 : Thu Oct 13 2022 - 04:44:49 CEST