Commit Graph

763 Commits

Author SHA1 Message Date
Willem Toorop 2db58a6d91 Tell about root trust anchor 2014-02-20 11:52:57 +01:00
Glen Wiley dcb3037f1b more updates to man pages...even closer to being done 2014-02-19 18:18:52 -05:00
Glen Wiley 04b496e9ae Merge branch 'develop' of https://github.com/verisign/getdns into develop 2014-02-19 17:30:28 -05:00
Glen Wiley 0f2ed2c35f man page changes and additions (getting closer to complete) 2014-02-19 17:30:01 -05:00
Neel Goyal 59b47a3470 Add getdns_context_get_api_information 2014-02-19 16:22:55 -05:00
Neel Goyal a80d22f07f Add stub for rebuilding unbound ctx. Only allow updates to certain context fields if unbound query hasn't been sent. 2014-02-19 14:56:37 -05:00
Neel Goyal 38904780f2 Add start of api_info. Add package url for autoconf 2014-02-19 13:15:27 -05:00
Willem Toorop 96b9f095a7 Implement getdns_root_trust_anchor 2014-02-19 16:56:00 +01:00
Willem Toorop 2630e21ac9 Typedeffed the structs away in getdns.h
Sync with API 0.400
2014-02-19 15:14:43 +01:00
Willem Toorop 0d3327f411 [API 0.400] Typedeffed the structs away 2014-02-19 15:09:44 +01:00
Willem Toorop 5b70ed9b1a Merge branch 'develop' of github.com:verisign/getdns into develop 2014-02-19 14:05:06 +01:00
Willem Toorop f418c2f1ce rcodes, opcodes and classes defines
Sync with API 0.399
2014-02-19 14:02:02 +01:00
Willem Toorop 4a8eef02e7 [API 0.399] Added defines for extended rcodes
And renamed GETDNS_RCODE_NOTIMPL in GETDNS_RCODE_NOTIMP to match
https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
2014-02-19 11:03:48 +01:00
ngoyal 1ec2f67b0d Update README.md
Add travis-ci build status image
2014-02-18 19:15:38 -05:00
Neel Goyal ab06744f1b Merge branch 'feature/travis' into develop 2014-02-18 18:43:34 -05:00
Neel Goyal 2d0e447473 Build all branches. Set travis settings to only look for travis.yml 2014-02-18 18:40:01 -05:00
Neel Goyal 0666155900 Add travis branch for build 2014-02-18 18:38:06 -05:00
Neel Goyal b58000c9c8 Travis dummy push 2014-02-18 18:07:49 -05:00
Neel Goyal 57f7e1fbd7 Only build develop 2014-02-18 17:51:48 -05:00
Neel Goyal 955be308d5 Adding travis.yml for continuous build 2014-02-18 17:45:18 -05:00
Neel Goyal c11509cf41 Add opt record specific fields. Fix for issue #73 2014-02-18 15:10:28 -05:00
Willem Toorop 5d34d31ecc [API 0.398] Consistency in names for defines 2014-02-18 15:49:42 +01:00
Willem Toorop 660e6b9672 Change sig of fqdn <-> wire format convert funcs
Sync with API 0.394
2014-02-18 15:19:32 +01:00
Willem Toorop a4ed0632ec The context has internal deficiencies
Sync with API 0.391
2014-02-18 15:03:06 +01:00
Willem Toorop 17c70ca844 [API 0.397] DNSSEC is not slower! 2014-02-18 14:55:11 +01:00
Willem Toorop 2f16433532 [API 0.396] validate_dnssec signature change
The record to validate is a list containing the rr-dict of the rr to validate, plus rr-dicts for the rrsigs.
2014-02-18 14:53:42 +01:00
Willem Toorop 0b520c0f80 [API 0.395] rcodes, opcodes and classes defines 2014-02-18 14:50:27 +01:00
Willem Toorop 16b3c2ba31 [API 0.394] bindata dns_name in convert funcs 2014-02-18 14:47:35 +01:00
Willem Toorop e9d70dc030 Return INVALID_PARAMETER when upstreams is NULL 2014-02-18 14:38:46 +01:00
Willem Toorop 8a2e3937c6 Handle DNSSEC policies on the packet/reply level
- All DNSSEC extension add the "dnssec_status" to the reply dicts.

- With "dnssec_return_status" and "dnssec_return_only_secure", the
  "status" in the response dict is GETDNS_RESPSTATUS_NO_NAME when all
  replies are NXDOMAIN and/or BOGUS.

- With "dnssec_return_only_secure", the "status" in the response dict
  is GETDNS_RESPSTATUS_NO_SECURE_ANSWERS when non of the replies are
  SECURE, even when all were NXDOMAIN.

- When "dnssec_return_validation_chain" is set, besides the validation
  chain, all replies are returned, even when other DNSSEC extensions
  are set that would otherwise exclude these replies.  This is the only
  modus were one can observe the "dnssec_status" to be
  GETDNS_DNSSEC_BOGUS.

- When the "dnssec_return_status" extension is set (and
  "dnssec_return_validation_chain" is not), only non-bogus replies
  are returned.

- When the "dnssec_return_only_secure" extension is set (and
  "dnssec_return_validation_chain" is not), only secure
  replies are returned.
2014-02-17 14:54:13 +01:00
W.C.A. Wijngaards bbdf91de9f Use compiler detected by configure (portability test on Minix). 2014-02-14 11:40:23 +01:00
Willem Toorop df32c65c0f Synchronous dnssec_return_validation_chain support 2014-02-13 12:28:55 +01:00
Willem Toorop 703ed14d28 No RETURN_GOOD with uninited rr in create_opt_rr
rr-dict.c: In function 'priv_getdns_append_opt_rr':
rr-dict.c:1353:28: warning: 'opt_rr' may be used uninitialized in this function [-Wuninitialized]
2014-02-13 10:23:06 +01:00
Willem Toorop 758b6279b2 GETDNS_RESPSTATUS_NO_NAME only with none NOERROR
So you can have zero answers and a GETDNS_RESPSTATUS_GOOD return status.
2014-02-13 10:19:16 +01:00
Willem Toorop 6beb98db62 Merge branch 'develop' of github.com:verisign/getdns into develop 2014-02-12 23:11:29 +01:00
Willem Toorop 7e2bc9771a Pretty print constant names for values
With the "status", "dnssec_status" and "answer_type" keys.
2014-02-12 23:10:29 +01:00
Neel Goyal ec7fc42ce0 Merge branch 'develop' of github.com:verisign/getdns into develop 2014-02-12 16:40:10 -05:00
Neel Goyal 22fa1101bb Add OPT Record parsing support 2014-02-12 16:39:55 -05:00
Willem Toorop b6856eb620 Missing things in previous commit 2014-02-12 22:03:28 +01:00
Willem Toorop 80199ecc97 Enable showing text of other codes that return_t 2014-02-12 22:01:53 +01:00
Willem Toorop b6c9b25fc7 dnssec_status & dnssec_return_only_secure exts. 2014-02-12 21:00:58 +01:00
Willem Toorop edf1da405f Only set default trust anchor file when it is good 2014-02-12 14:50:00 +01:00
Willem Toorop 340655330b Re-enabled stub resolution
Also re-indented the prepare_for_resolution and ub_setup_stub functions
Sorry for that.
2014-02-12 12:37:05 +01:00
Willem Toorop a3f50a6d86 Test accessibility of trust anchor before adding 2014-02-11 22:53:10 +01:00
Willem Toorop 8fd8c9cf98 Merge branch 'develop' of github.com:verisign/getdns into develop 2014-02-11 22:43:55 +01:00
Nitin Singh c3f4d3f2ce fix return type 2014-02-11 16:43:00 -05:00
Willem Toorop c51e597410 Configure option for trust anchor & dnssec_status 2014-02-11 22:42:21 +01:00
Nitin Singh c9b3ed898e fix merge issue 2014-02-11 16:39:35 -05:00
W.C.A. Wijngaards b84c13748c Review change in configure output messages: dependency libidn. 2014-02-11 15:14:02 +01:00
Willem Toorop 67319659af Merge branch 'develop' of github.com:verisign/getdns into develop 2014-02-11 10:19:26 +01:00