]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-query.c
resolved: never consider following a CNAME/DNAME chain for a CNAME/DNAME lookup
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 21:33:23 +0000 (22:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 22:31:16 +0000 (23:31 +0100)
commit542e0c84d1518a1515e03194dd25299b2652778c
tree0c862d869f25f16a2239cbc612165409abc47a3d
parent59a899908f9f1ead3cdb8b87ff98225054b5dab0
resolved: never consider following a CNAME/DNAME chain for a CNAME/DNAME lookup

Let's avoid thinking that a CNAME/DNAME chain traversal could be a good idea if QTYPE is already CNAME/DNAME.

(Also, let's bail out early when trying to see if some RR is a suitable CNAME/DNAME for some other RR).
src/resolve/resolved-dns-query.c
src/resolve/resolved-dns-question.c
src/resolve/resolved-dns-question.h