diff options
-rw-r--r-- | src/rfc1035.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rfc1035.c b/src/rfc1035.c index ee11ff0..236d726 100644 --- a/src/rfc1035.c +++ b/src/rfc1035.c @@ -1065,6 +1065,8 @@ int extract_addresses(struct dns_header *header, size_t qlen, char *name, time_t if (newc) { newc->addr.cname.target.cache = NULL; + /* anything other than zero, to avoid being mistaken for CNAME to interface-name */ + newc->addr.cname.uid = 1; if (cpp) { cpp->addr.cname.target.cache = newc; |