[Bug 1141535] New: DNS Packet header AD flag erroneously set in DNSSEC query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1141535

            Bug ID: 1141535
           Summary: DNS Packet header AD flag erroneously set in DNSSEC
                    query
           Product: Fedora
           Version: 20
         Component: perl-Net-DNS
          Assignee: psabata@xxxxxxxxxx
          Reporter: rwfranks@xxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, psabata@xxxxxxxxxx



Description of problem:

Net::DNS::Resolver configured with (dnssec => 1) emits query with both DO and
AD flags set, contrary to RFC6840, 5.7

Version-Release number of selected component (if applicable):

0.79 and earlier

How reproducible:

100%

Steps to Reproduce:
1.

use Net::DNS::SEC;       # although bug is in Net::DNS

$resolver = new Net::DNS::Resolver( dnssec => 1 );

$query = new Net::DNS::Packet( 'example.com' );

$reply = $resolver->send( $query );

$query->header->print;

__END__


2.
3.

Actual results:

;;      id = 36886
;;      qr = 0  aa = 0  tc = 0  rd = 1  opcode = QUERY
;;      ra = 0  z  = 0  ad = 1  cd = 0  rcode  = NOERROR
;;      qdcount = 1     ancount = 0     nscount = 0     arcount = 1
;;      do = 1
;; EDNS version 0
;;      flags:  8000
;;      rcode:  NOERROR
;;      size:   2048
;;      option: 


Expected results:

;;      id = 36886
;;      qr = 0  aa = 0  tc = 0  rd = 1  opcode = QUERY
;;      ra = 0  z  = 0  ad = 0  cd = 0  rcode  = NOERROR
;;      qdcount = 1     ancount = 0     nscount = 0     arcount = 1
;;      do = 1
;; EDNS version 0
;;      flags:  8000
;;      rcode:  NOERROR
;;      size:   2048
;;      option: 


Additional info:

Fixed upstream in 0.80 (release imminent)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4kxMkfpzbx&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux