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 (<elle...@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
OpenPGP_0x4FF7A78866B94DA6.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature