commit | 29fe922b1408fd038a6012297b4bd1c4fada85c3 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sat Mar 01 22:53:57 2014 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sat Mar 01 22:53:57 2014 +0000 |
tree | ebf0b6235385bc18264ff70fff2f08c361fbf54a | |
parent | 87070192375fa54b94244837ddba09c6e60425c9 [diff] |
Can have local DS records (trust anchors).
diff --git a/src/rfc1035.c b/src/rfc1035.c index 3f13369..661ac3e 100644 --- a/src/rfc1035.c +++ b/src/rfc1035.c
@@ -1241,7 +1241,7 @@ struct ptr_record *ptr; struct naptr *naptr; - if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6 | F_CNAME | F_NO_RR)) && + if ((crecp = cache_find_by_name(NULL, name, now, F_IPV4 | F_IPV6 | F_CNAME | F_DS | F_NO_RR)) && (crecp->flags & (F_HOSTS | F_DHCP | F_CONFIG))) return 1;