diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-09 18:04:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-10 11:35:52 +0100 |
commit | 48d5616b9258cc5d1af1d4b934cea7970aa55a28 (patch) | |
tree | ac98d1d2f3eb6bbc9df69745cfabe363c74a35be /src | |
parent | b5efcf29d2427895ea69f42a3d6a3b74e6f51df7 (diff) |
resolved: log when we chase a CNAME RR
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolved-dns-query.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-query.c b/src/resolve/resolved-dns-query.c index 089d9fb70d..5dc42fb96d 100644 --- a/src/resolve/resolved-dns-query.c +++ b/src/resolve/resolved-dns-query.c @@ -1096,6 +1096,8 @@ static int dns_query_cname_redirect(DnsQuery *q, const DnsResourceRecord *cname) assert(q); + log_debug("Following CNAME %s → %s", dns_question_first_name(q->question), cname->cname.name); + q->n_cname_redirects ++; if (q->n_cname_redirects > CNAME_MAX) return -ELOOP; |