Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-21 | resolved: when using the ResolveRecord() bus call, adjust TTL for caching time | Lennart Poettering | |
When we return the full RR wire data, let's make sure the TTL included in it is adjusted by the time the RR sat in the cache. As an optimization we do this only for ResolveRecord() and not for ResolveHostname() and friends, since adjusting the TTL means copying the RR object, and we don#t want to do that if there's no reason to. (ResolveHostname() and friends don't return the TTL hence there's no reason to in that case) | |||
2016-05-26 | resolve/test-dns-packet: Fix unaligned access in test_packet_from_file(). | John Paul Adrian Glaubitz | |
2016-02-23 | tree-wide: remove unused variables | Thomas Hindoe Paaboel Andersen | |
2016-02-12 | test-dns-packet: allow running without arguments | Zbigniew Jędrzejewski-Szmek | |
2016-02-12 | test-dns-packet: add framework to read and dump packets | Zbigniew Jędrzejewski-Szmek | |
Packets are stored in a simple format: <size> <packet-wire-format> <size> <packet-wire-format> ... Packets for some example domains are dumped, to test rr code for various record types. Currently: A AAAA CAA DNSKEY LOC MX NS NSEC OPENPGPKEY SOA SPF TXT The hashing code is executed, but results are not checked. Also build other tests in src/resolve only with --enable-resolve. |