mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
resolved: log when we chase a CNAME RR
This commit is contained in:
parent
b5efcf29d2
commit
48d5616b92
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user