summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-query.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-01-05 17:56:45 +0100
committerTom Gundersen <teg@jklm.no>2016-01-07 14:43:24 +0100
commit7588460aaf6bd33f6c9bd5645916cfd8a862e9c4 (patch)
tree3ebdc7cf5b1212142147bd7f7444e9e952cb7c3c /src/resolve/resolved-dns-query.h
parent16b85c51edb7a41906dcc6ea276653949a7c8d16 (diff)
resolved: query_process_cname - make fully recursive
This ensures we properly resolve the CNAME chain as far as we can, rather than only CNAME chains of length one.
Diffstat (limited to 'src/resolve/resolved-dns-query.h')
-rw-r--r--src/resolve/resolved-dns-query.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-query.h b/src/resolve/resolved-dns-query.h
index 44edd5bfff..4a0d265a2d 100644
--- a/src/resolve/resolved-dns-query.h
+++ b/src/resolve/resolved-dns-query.h
@@ -95,6 +95,12 @@ struct DnsQuery {
LIST_FIELDS(DnsQuery, auxiliary_queries);
};
+enum {
+ DNS_QUERY_MATCH,
+ DNS_QUERY_NOMATCH,
+ DNS_QUERY_RESTARTED,
+};
+
DnsQueryCandidate* dns_query_candidate_free(DnsQueryCandidate *c);
void dns_query_candidate_notify(DnsQueryCandidate *c);