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

From: Ellenor Bjornsdottir <ellenor_at_umbrellix.net>
Date: Thu, 13 Oct 2022 02:44:57 +0000

thanks you two. I'm a fool.

On 10/13/22 02:44, Guillermo wrote:
> 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.

--
Ellenor Agnes Bjornsdottir (she)
sysadmin umbrellix.net
jabber: ellenor ~on~ umbrellix.net

Received on Thu Oct 13 2022 - 04:44:57 CEST

This archive was generated by hypermail 2.4.0 : Thu Oct 13 2022 - 04:45:27 CEST