]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: when looking for a SOA RR in a reply, pick the right one
authorLennart Poettering <lennart@poettering.net>
Mon, 21 Dec 2015 15:27:13 +0000 (16:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 26 Dec 2015 18:09:09 +0000 (19:09 +0100)
commit81f7fc5e841472b626698f386ed9445dac13944a
tree947ff8017342dca7ee99679ad7d8c5843ccce1b3
parenta5444ca9fd88bf23cc95ac8d96803590698512ea
resolved: when looking for a SOA RR in a reply, pick the right one

If there are multiple SOA RRs, and we look for a suitable one covering
our request, then make sure to pick the one that is furthest away from
the root name, not just the first one we encounter.
src/resolve/resolved-dns-answer.c