Hi,
I've testing dnsjava lib with DNSsec and it seems that the AD flag (authenticated data) within a response is not recognized correctly.
Here is the header section of a response I've received asking nameserver a.ns.se for A records of google.se (for testing purposes):
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24516
;; flags: qr ; qd: 1 an: 0 au: 6 ad: 1
;; QUESTIONS:
;; google.se., type = A, class = IN
[...]
But asking response's org.xbill.DNS.Message header for Flag.AD fails:
org.xbill.DNS.Message response = ...
response.getHeader().getFlag(org.xbill.DNS.Flags.AD); // returns "false"
Asking header for other flags (like Flags.QR in this example) succeeds, so what's going wrong here? Is it a bug or am I missing something?
Greetings
Christian
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
|