]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
do not set DO bit + EDNS by default (some servers return FORMERR on edns)
authorJelte Jansen <jeltejan@NLnetLabs.nl>
Thu, 6 Apr 2006 09:40:34 +0000 (09:40 +0000)
committerJelte Jansen <jeltejan@NLnetLabs.nl>
Thu, 6 Apr 2006 09:40:34 +0000 (09:40 +0000)
just use -D if you want dnssec handling

drill/drill.c

index 05c7177e6ad0a90e1db4176f209d946d7098045b..8d17c2cafdd7ee21e6ccf7ae8512e992b96a308f 100644 (file)
@@ -376,14 +376,6 @@ main(int argc, char *argv[])
        }
 
 
-       /* if we're asking for DNSSEC records, act as if -D with given */
-       if (type == LDNS_RR_TYPE_DNSKEY ||
-                       type == LDNS_RR_TYPE_RRSIG || 
-                       type == LDNS_RR_TYPE_DS || 
-                       type == LDNS_RR_TYPE_NSEC) {
-               qdnssec = true;
-       }
-
        /* set the nameserver to use */
        if (!serv) {
                /* no server given make a resolver from /etc/resolv.conf */