[ldns-users] Various fixes

Vitaly Magerya vmagerya at gmail.com
Thu Aug 23 09:52:30 UTC 2012


Miek Gieben wrote:
> Looking at the code

This is appreciated, thank you.

> I see some functions, like:
> 
> dns_rdf_reverse_aaaa and ldns_rdf_reverse_a, of which I wonder. Why
> didn't you use ldns_rdf_address_reverse?

ldns_rdf_address_reverse always uses IP6.ARPA domain when reversing IPv6
addresses, while bind9-host (and thus ldns-host) allows choosing between
IP6.ARPA and IP6.INT.

> Same question for ldns_pkt_push_rr_soa,
> as there is ldns_pkt_push_rr?

ldns_pkt_push_rr_soa actually constructs a SOA RR (by most notably
setting the serial number) and then calls ldns_pkt_push_rr.

Maybe I'm missing an easier way to construct a SOA RR? I need that to
send IXFR queries, which are invalid without an additional SOA record in
the request packet.



More information about the ldns-users mailing list