Michał Kępień and Evan Hunt
cfbc8e264d
Only log bumped signed serial after a successful secure zone update
...
If a raw zone is modified, but the dns_update_signaturesinc() call in
receive_secure_serial() fails, the corresponding secure zone's database
will not be modified, even though by that time a message containing the
bumped signed serial will already have been logged. This creates
confusion, because a different secure zone version will be served than
the one announced in the logs. Move the relevant dns_zone_log() call so
that it is only performed if the secure zone's database is modified.
2018-04-24 09:18:47 -07:00
Evan Hunt
498491555e
Merge branch '171-lgtm-issues' into 'master'
...
Resolve "problems detected by LGTM static analyzer"
Closes #171
See merge request isc-projects/bind9!213
2018-04-20 20:18:28 -04:00
Evan Hunt
8b1baa10ee
remove unnecessary comparison
2018-04-20 19:51:00 -04:00
Evan Hunt
e00eb55cd2
silence warnings about unnecessary comparisons
...
- these are cases where result has been explicitly set, so
if (result != ISC_R_SUCCESS) is unnecessary
2018-04-20 19:51:00 -04:00
Evan Hunt
4247477b61
add header guards in files that were missing them
2018-04-20 19:51:00 -04:00
Evan Hunt
bfbe6925df
add header guard when generating bind.keys.h
2018-04-20 19:51:00 -04:00
Evan Hunt
0cc7aa250e
change "key" to "tsigkey" to silence "short global name" warning
2018-04-20 19:51:00 -04:00
Evan Hunt
9ca3ab1168
fix shadowed global variables
2018-04-20 19:51:00 -04:00
Evan Hunt
a08ba418ef
fix duplicate include guard in dnsconf.h
...
- IMHO we should consider removing dnsconf.c and deprecating the
/etc/dns.conf file, though, as I don't think it's likely anyone
is using it
2018-04-20 19:51:00 -04:00
Evan Hunt
4472144220
Merge branch 'fix-win32-def' into 'master'
...
add missing symbols
See merge request isc-projects/bind9!218
2018-04-20 19:47:55 -04:00
Evan Hunt
4bef0cfcfd
add missing symbols
2018-04-20 16:40:17 -07:00
Evan Hunt
2b73dfea75
Merge branch '217-remove-rbtdb64' into 'master'
...
Resolve "remove rbtdb64"
Closes #217
See merge request isc-projects/bind9!209
2018-04-20 19:34:44 -04:00
Evan Hunt
784087390a
remove the rbtdb64 database implementation
2018-04-20 16:14:51 -07:00
Ondřej Surý
3852bf4f24
Merge branch '202-cppcheck-reporting-miscellaneous-issues' into 'master'
...
Resolve "cppcheck reporting miscellaneous issues"
Closes #202
See merge request isc-projects/bind9!202
2018-04-20 18:12:39 -04:00
Mark Andrews and Ondřej Surý
f8d2a46daa
remove exit calls after FATAL_ERROR
2018-04-20 14:50:35 -07:00
Mark Andrews and Ondřej Surý
686edad5c5
remove dead code
2018-04-20 14:50:35 -07:00
Mark Andrews and Ondřej Surý
49f8e9571c
use %u instead of %d for unsigned int arguments
2018-04-20 14:50:35 -07:00
Ondřej Surý
d21ff4b72e
Merge branch '206-nslookup-accepts-any-bogus-option-interpret-it-as-vc' into 'master'
...
Resolve "nslookup accepts any -bogus -option, interpret it as -vc"
Closes #206
See merge request isc-projects/bind9!205
2018-04-20 17:50:27 -04:00
Mukund Sivaraman and Ondřej Surý
89cf503880
Remove bogus comparison
2018-04-20 14:43:06 -07:00
Evan Hunt
dc8fc06e53
Merge branch '213-add-raflag-and-tcflag-to-dig' into 'master'
...
Resolve "Add +raflag and +tcflag to dig."
Closes #213
See merge request isc-projects/bind9!201
2018-04-20 17:25:17 -04:00
Mark Andrews and Evan Hunt
58c103e09c
dig: add the ability to set RA and TC in queries
2018-04-20 14:17:58 -07:00
Evan Hunt
529d862573
Merge branch '145-dnskey-sigvalidity' into 'master'
...
Resolve "different RRSIG expiry for DNSKEY"
Closes #145
See merge request isc-projects/bind9!121
2018-04-20 15:20:09 -04:00
Evan Hunt
c592655c0f
new option "dnskey-sig-validity"
...
- overrides "sig-validity-interval" for DNSKEY, CDNSKEY and CDS RRSIGs
2018-04-20 12:12:08 -07:00
Evan Hunt
d4086d6b04
Merge branch 'placeholder' into 'master'
...
placeholder
See merge request isc-projects/bind9!211
2018-04-19 13:36:43 -04:00
Evan Hunt
f5b7ad718a
placeholder
2018-04-19 10:36:13 -07:00
Ondřej Surý
2fc568b2e7
Merge branch 'rm-clang-format' into 'master'
...
Remove .clang-format as we are going to use uncrustify anyway
See merge request isc-projects/bind9!207
2018-04-18 18:12:56 -04:00
Ondřej Surý
f0dc3b44df
We are going to use uncrustify
2018-04-18 15:05:24 -07:00
Ondřej Surý
62bc422df1
Merge branch 'clang-format-updates' into 'master'
...
Add more tweaks to .clang-format style for experiments
See merge request isc-projects/bind9!206
2018-04-18 14:21:51 -04:00
Ondřej Surý
d52283111d
Add more tweaks to .clang-format style for experimenting
2018-04-18 11:14:57 -07:00
Ondřej Surý
9bbd5e8dd6
Merge branch '46-add-clang-format-configuration' into 'master'
...
Add basic clang-format configuration that match our current formatting style closest
See merge request isc-projects/bind9!204
2018-04-18 12:45:51 -04:00
Ondřej Surý
7f434f1005
Add basic clang-format configuration that match our current formatting style closest
2018-04-18 09:38:52 -07:00
Ondřej Surý
4d59a96b98
Merge branch '37-implement-geoff-huston-s-trusted-key-sentinel-feature' into 'master'
...
Implement Geoff Huston's trusted key sentinel feature
Closes #37
See merge request isc-projects/bind9!123
2018-04-18 12:27:03 -04:00
Mark Andrews and Ondřej Surý
2845d7160e
CHANGES entry for root-key-sentinel
2018-04-18 08:49:55 -07:00
Mark Andrews and Ondřej Surý
e20790c956
add release note for root-key-sentinel
2018-04-18 08:49:55 -07:00
Mark Andrews and Ondřej Surý
a23b305e6b
add system test for root-key-sentinel
2018-04-18 08:49:55 -07:00
Mark Andrews and Ondřej Surý
68e9315c7d
add named.conf option root-key-sentinel
2018-04-18 08:49:55 -07:00
Mark Andrews and Ondřej Surý
8fc9f64df9
detect and processes root-key-sentinel labels.
2018-04-18 08:49:55 -07:00
Ondřej Surý
7b61a857ba
Merge branch '200-add-clang-to-gitlab-ci' into 'master'
...
Add clang (with clang specific extra options like -Wenum-conversion) to out GitLab CI
Closes #200
See merge request isc-projects/bind9!203
2018-04-17 23:59:04 -04:00
Ondřej Surý
aba6ec896f
Run the clang-compiled unittest
2018-04-17 20:40:32 -07:00
Ondřej Surý
0d8d3dc170
Add clang to the build job matrix and build gcc and clang builds with -Wall -Wextra
2018-04-17 17:49:35 -07:00
Evan Hunt
293d9132d7
Merge branch 'fix-strtok' into 'master'
...
fix a missing variable declaration needed by strtok_r on non-threaded builds
See merge request isc-projects/bind9!200
2018-04-13 15:02:44 -04:00
Evan Hunt
46fd0b62f8
fixed a missing variable declaration needed by strtok_r on non-threaded builds
2018-04-13 11:55:30 -07:00
Evan Hunt
e10903c785
Merge branch '203-max-cache-ttlval' into 'master'
...
max-cache-ttl and other interval options should take ttlval arguments
Closes #203
See merge request isc-projects/bind9!197
2018-04-13 14:53:18 -04:00
Tony Finch and Evan Hunt
286a7b6b9a
Allow TTL values when configuring TTLs and time intervals.
...
Options updated to use ttlvals: max-cache-ttl, max-ncache-ttl,
max-policy-ttl, fstrm-set-reopen-interval, interface-interval, and
min-update-interval.
2018-04-13 11:46:06 -07:00
Ondřej Surý
488ae9051e
Merge branch 'u/fanf2/werror-maybe-uninitialized' into 'master'
...
Appease -Werror=maybe-uninitialized before calling strtok_r()
See merge request isc-projects/bind9!198
2018-04-12 16:23:26 -04:00
Tony Finch
13d1861034
Appease -Werror=maybe-uninitialized before calling strtok_r()
2018-04-12 19:19:24 +01:00
Evan Hunt
3fbf9d3ea1
Merge branch 'add-print.h' into 'master'
...
add missing include
See merge request isc-projects/bind9!195
2018-04-12 12:27:03 -04:00
Evan Hunt
7fe67ae949
add missing include
2018-04-12 09:20:09 -07:00
Witold Krecicki
717a4eb6e1
Merge branch '178-cleanup-isc-string' into 'master'
...
Cleanup <isc/string.h> functions
See merge request isc-projects/bind9!163
2018-04-12 04:46:09 -04:00
Ondřej Surý
23f97f9a66
Add CHANGES entry:
...
4924. [cleanup] Clean up the isc_string_* namespace and leave
only strlcpy and strlcat. [GL #178 ]
2018-04-12 10:38:01 +02:00