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

2022-10-12 Thread Ellenor Bjornsdottir
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 () 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 yo

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

2022-10-12 Thread Guillermo
El mié, 12 oct 2022 a las 23:22, Amelia Bjornsdottir () 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 obje

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

2022-10-12 Thread Laurent Bercot
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? When parsed by s6dns_message_parse_answer_srv() and s6dns_message_parse_answer_mx(), the domains are obtained from the packet via s6dns_messa

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

2022-10-12 Thread Amelia Bjornsdottir
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? On 10/13/22 00:10, Amelia Bjornsdottir wrote: I'm passing skadns_send an s6dns_domain_t straight out of an s6dns_message_rr_srv_t (case 1) or

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

2022-10-12 Thread Amelia Bjornsdottir
about those queries, you are exactly correct. I guess I should change my methodology then. Thanks... On 10/13/22 01:39, Guillermo wrote: El mié, 12 oct 2022 a las 21:10, Amelia Bjornsdottir escribió: I'm passing skadns_send an s6dns_domain_t straight out of an s6dns_message_rr_srv_t (case 1)

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

2022-10-12 Thread Guillermo
El mié, 12 oct 2022 a las 21:10, Amelia Bjornsdottir escribió: > > I'm passing skadns_send an s6dns_domain_t straight out of an > s6dns_message_rr_srv_t (case 1) or a s6dns_message_rr_mx_t (case 2).Is > that in packet format or in string format? Um, neither? As far as I can tell, skadns_send() alw

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

2022-10-12 Thread Amelia Bjornsdottir
I'm passing skadns_send an s6dns_domain_t straight out of an s6dns_message_rr_srv_t (case 1) or a s6dns_message_rr_mx_t (case 2).Is that in packet format or in string format? The documentation claimed that it would be in packet format. Should it be in string format? On 10/12/22 22:32, Guillerm

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

2022-10-12 Thread Guillermo
El vie, 7 oct 2022 a las 20:29, Amelia Bjornsdottir escribió: > > I link truss -f of my application piped through grep skadns' PID to show > only skadns, on OmniOS > and HardenedBSD > . After furth