]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
6 years agoDestroy query in killoldestquery under a lock.
Witold Kręcicki [Tue, 3 Mar 2020 09:09:17 +0000 (10:09 +0100)] 
Destroy query in killoldestquery under a lock.

Fixes a race between ns_client_killoldestquery and ns_client_endrequest -
killoldestquery takes a client from `recursing` list while endrequest
destroys client object, then killoldestquery works on a destroyed client
object. Prevent it by holding reclist lock while cancelling query.

6 years agoMerge branch '1647-addtrustedkey-dnskey' into 'master'
Evan Hunt [Wed, 4 Mar 2020 23:41:11 +0000 (23:41 +0000)] 
Merge branch '1647-addtrustedkey-dnskey' into 'master'

Resolve "delv 9.16.0, failed to add trusted key '.': ran out of space"

Closes #1647

See merge request isc-projects/bind9!3158

6 years agoCHANGES
Evan Hunt [Wed, 4 Mar 2020 16:54:53 +0000 (08:54 -0800)] 
CHANGES

6 years agoadd a system test to check that delv loads trust anchors correctly
Evan Hunt [Wed, 4 Mar 2020 16:54:03 +0000 (08:54 -0800)] 
add a system test to check that delv loads trust anchors correctly

6 years agoFix dns_client_addtrustedkey(dns_rdatatype_dnskey)
Tony Finch [Fri, 28 Feb 2020 20:08:04 +0000 (20:08 +0000)] 
Fix dns_client_addtrustedkey(dns_rdatatype_dnskey)

Use a buffer that is big enough for DNSKEY records as well as DS
records.

6 years agoMerge branch 'mnowak/pkcs11-test-fix' into 'master'
Michal Nowak [Wed, 4 Mar 2020 16:06:31 +0000 (16:06 +0000)] 
Merge branch 'mnowak/pkcs11-test-fix' into 'master'

Fix pkcs11 test

Closes #1496

See merge request isc-projects/bind9!3116

6 years agoFix "pkcs11" system test
Michal Nowak [Wed, 4 Mar 2020 16:06:31 +0000 (16:06 +0000)] 
Fix "pkcs11" system test

  - Define the SLOT environment variable before starting the test.  This
    variable defaults to 0 and that does not work with SoftHSM 2.

  - The system test expects the PIN environment variable to be set to
    "1234" while bin/tests/prepare-softhsm2.sh sets it to "0000".
    Update bin/tests/prepare-softhsm2.sh so that it sets the PIN to
    "1234".

  - Move contents of bin/tests/system/pkcs11/prereq.sh to
    bin/tests/system/pkcs11/setup.sh as the former was creating a file
    called "supported" that was getting removed by the latter before
    bin/tests/system/pkcs11/tests.sh could access it.

  - Fix typo in "have_ecx".

6 years agoMerge branch 'wpk-use-pthread-rwlock-by-default' into 'master'
Witold Krecicki [Wed, 4 Mar 2020 09:50:56 +0000 (09:50 +0000)] 
Merge branch 'wpk-use-pthread-rwlock-by-default' into 'master'

Use pthread rwlocks by default

See merge request isc-projects/bind9!3125

6 years agoAdd release notes for pthread rwlocks change
Witold Kręcicki [Thu, 27 Feb 2020 12:21:31 +0000 (13:21 +0100)] 
Add release notes for pthread rwlocks change

6 years agoUse pthread rwlocks by default
Witold Kręcicki [Thu, 27 Feb 2020 12:21:31 +0000 (13:21 +0100)] 
Use pthread rwlocks by default

6 years agoMerge branch '1532-nta-validate-except' into 'master'
Evan Hunt [Wed, 4 Mar 2020 09:09:53 +0000 (09:09 +0000)] 
Merge branch '1532-nta-validate-except' into 'master'

list "validate-except" entries in "rndc nta -d" and "rndc secroots"

Closes #1532

See merge request isc-projects/bind9!3152

6 years agolist "validate-except" entries in "rndc nta -d" and "rndc secroots"
Evan Hunt [Wed, 4 Mar 2020 06:46:58 +0000 (22:46 -0800)] 
list "validate-except" entries in "rndc nta -d" and "rndc secroots"

- no longer exclude these entries when dumping the NTA table
- indicate "validate-except" entries with the keyword "permanent" in
  place of an expiry date
- add a test for this feature, and update other tests to account for
  the presence of extra lines in some rndc outputs
- incidentally removed the unused function dns_ntatable_dump()
- CHANGES, release note

6 years agoMerge branch '1656-masterformat-system-test-failed-missing-sleep-1' into 'master'
Mark Andrews [Wed, 4 Mar 2020 07:14:48 +0000 (07:14 +0000)] 
Merge branch '1656-masterformat-system-test-failed-missing-sleep-1' into 'master'

Resolve "masterformat system test failed - missing "sleep 1""

Closes #1656

See merge request isc-projects/bind9!3151

6 years agoproperly wait for zone to be loaded
Mark Andrews [Wed, 4 Mar 2020 04:39:08 +0000 (15:39 +1100)] 
properly wait for zone to be loaded

6 years agoMerge branch 'marka-check-touched' into 'master'
Mark Andrews [Tue, 3 Mar 2020 22:06:39 +0000 (22:06 +0000)] 
Merge branch 'marka-check-touched' into 'master'

Check that inline master zones that are only touched are correctly reloaded.

Closes #1627

See merge request isc-projects/bind9!3135

6 years agoAdd CHANGES entry
Mark Andrews [Tue, 3 Mar 2020 01:31:55 +0000 (12:31 +1100)] 
Add CHANGES entry

6 years agoRestart zone maintenance if it had been stalled.
Mark Andrews [Mon, 2 Mar 2020 23:50:06 +0000 (10:50 +1100)] 
Restart zone maintenance if it had been stalled.

6 years agoCheck inline master zones that are touched reload correctly.
Mark Andrews [Mon, 2 Mar 2020 08:38:29 +0000 (19:38 +1100)] 
Check inline master zones that are touched reload correctly.

6 years agoMerge branch 'ondrej/fix-notes-9.17.0-xml' into 'master'
Ondřej Surý [Tue, 3 Mar 2020 14:24:17 +0000 (14:24 +0000)] 
Merge branch 'ondrej/fix-notes-9.17.0-xml' into 'master'

fixup the version number in 9.17.0 release notes

See merge request isc-projects/bind9!3145

6 years agofixup the version number in 9.17.0 release notes
Ondřej Surý [Tue, 3 Mar 2020 08:31:34 +0000 (09:31 +0100)] 
fixup the version number in 9.17.0 release notes

6 years agoMerge branch 'wpk/socket-destroy-race' into 'master'
Witold Krecicki [Tue, 3 Mar 2020 08:20:44 +0000 (08:20 +0000)] 
Merge branch 'wpk/socket-destroy-race' into 'master'

Fix a race in isc_socket destruction.

Closes #1651

See merge request isc-projects/bind9!3004

6 years agoFix a race in isc_socket destruction.
Witold Kręcicki [Wed, 5 Feb 2020 11:35:54 +0000 (12:35 +0100)] 
Fix a race in isc_socket destruction.

There was a very slim chance of a race between isc_socket_detach and
process_fd: isc_socket_detach decrements references to 0, and before it
calls destroy gets preempted. Second thread calls process_fd, increments
socket references temporarily to 1, and then gets preempted, first thread
then hits assertion in destroy() as the reference counter is now 1 and
not 0.

6 years agoMerge branch '1627-call-set_resigntime-and-zone_settimer' into 'master'
Mark Andrews [Tue, 3 Mar 2020 05:07:58 +0000 (05:07 +0000)] 
Merge branch '1627-call-set_resigntime-and-zone_settimer' into 'master'

Call set resigntime and zone settimer

Closes #1627

See merge request isc-projects/bind9!3137

6 years agoadd release note entry
Mark Andrews [Tue, 3 Mar 2020 04:37:42 +0000 (15:37 +1100)] 
add release note entry

6 years agoAdd CHANGES note
Mark Andrews [Tue, 3 Mar 2020 04:30:52 +0000 (15:30 +1100)] 
Add CHANGES note

6 years agoAdjust lock/unlock in zone_rekey()
Ondřej Surý [Thu, 27 Feb 2020 07:45:10 +0000 (08:45 +0100)] 
Adjust lock/unlock in zone_rekey()

6 years agoEnsure that resigintime and the zone timer are set
Mark Andrews [Fri, 28 Feb 2020 03:01:40 +0000 (14:01 +1100)] 
Ensure that resigintime and the zone timer are set

6 years agoAdd more zone locks
Matthijs Mekking [Thu, 27 Feb 2020 10:59:12 +0000 (11:59 +0100)] 
Add more zone locks

Add more zone locks around code that touches zone timer setting
in failure modes.

6 years agoAlways call set_resigntime with the zone lock held
Mark Andrews [Thu, 27 Feb 2020 06:48:05 +0000 (17:48 +1100)] 
Always call set_resigntime with the zone lock held

6 years agoAlways call zone_settimer()
Mark Andrews [Thu, 27 Feb 2020 06:43:26 +0000 (17:43 +1100)] 
Always call zone_settimer()

zone_needdump() could potentially not call zone_settimer() so
explitly call zone_settimer() as zone->resigntime could have
gone backward.

6 years agoCall set_resigntime() in receive_secure_serial()
Mark Andrews [Thu, 27 Feb 2020 06:35:18 +0000 (17:35 +1100)] 
Call set_resigntime() in receive_secure_serial()

With RRSIG records no longer being signed with the full
sig-validity-interval we need to ensure the zone->resigntime
as it may need to be set to a earlier time.

6 years agoMerge branch 'wpk/perfwork-7-multilocked-badcache' into 'master'
Witold Krecicki [Mon, 2 Mar 2020 17:18:35 +0000 (17:18 +0000)] 
Merge branch 'wpk/perfwork-7-multilocked-badcache' into 'master'

Badcache with multiple locks.

See merge request isc-projects/bind9!3076

6 years agoWorkaround for clang static analyzer bug.
Witold Kręcicki [Mon, 2 Mar 2020 13:12:05 +0000 (14:12 +0100)] 
Workaround for clang static analyzer bug.

6 years agoBadcache with multiple locks.
Witold Kręcicki [Mon, 17 Feb 2020 09:37:39 +0000 (10:37 +0100)] 
Badcache with multiple locks.

Previously badcache used one single mutex for everything, which
was causing performance issues. Use one global rwlock for the whole
hashtable and per-bucket mutexes.

6 years agoMerge branch '1640-add-ZLIB_LIBS-to-ISCLIBS' into 'master'
Michał Kępień [Fri, 28 Feb 2020 14:30:04 +0000 (14:30 +0000)] 
Merge branch '1640-add-ZLIB_LIBS-to-ISCLIBS' into 'master'

Add ZLIB_LIBS to ISCLIBS

Closes #1640

See merge request isc-projects/bind9!3117

6 years agoAdd ZLIB_LIBS to ISCLIBS
Michał Kępień [Fri, 28 Feb 2020 14:22:29 +0000 (15:22 +0100)] 
Add ZLIB_LIBS to ISCLIBS

When --with-zlib is passed to ./configure (or when the latter
autodetects zlib's presence), libisc uses certain zlib functions and
thus libisc's users should be linked against zlib in that case.  Adjust
Makefile variables appropriately to prevent shared build failures caused
by underlinking.

6 years agoMerge branch 'wpk/perfwork-3-small-nits' into 'master'
Witold Krecicki [Fri, 28 Feb 2020 08:28:31 +0000 (08:28 +0000)] 
Merge branch 'wpk/perfwork-3-small-nits' into 'master'

Perfwork 3/6 - Various small nits and tunables

See merge request isc-projects/bind9!3067

6 years agocomments
Evan Hunt [Tue, 18 Feb 2020 21:38:41 +0000 (13:38 -0800)] 
comments

6 years agoDon't define NS_CLIENT_TRACE by default
Witold Kręcicki [Fri, 14 Feb 2020 11:28:03 +0000 (12:28 +0100)] 
Don't define NS_CLIENT_TRACE by default

6 years agoIncrease inactivehandles and inactivereqs size for better reuse.
Witold Kręcicki [Wed, 29 Jan 2020 14:16:02 +0000 (15:16 +0100)] 
Increase inactivehandles and inactivereqs size for better reuse.

6 years agoIncrease nodelock count for both cache and regular db.
Witold Kręcicki [Tue, 28 Jan 2020 10:53:24 +0000 (11:53 +0100)] 
Increase nodelock count for both cache and regular db.

6 years agoUse RESOLVER_NTASKS_PERCPU - 32 for regular tuning, 8 for small
Witold Kręcicki [Fri, 14 Feb 2020 08:18:48 +0000 (09:18 +0100)] 
Use RESOLVER_NTASKS_PERCPU - 32 for regular tuning, 8 for small

6 years agouse SO_INCOMING_CPU for UDP sockets
Witold Kręcicki [Tue, 11 Feb 2020 13:41:49 +0000 (14:41 +0100)] 
use SO_INCOMING_CPU for UDP sockets

6 years agoRemove some stale fields from ns_client_t; make sendbuf allocated on heap
Witold Kręcicki [Fri, 31 Jan 2020 21:56:32 +0000 (22:56 +0100)] 
Remove some stale fields from ns_client_t; make sendbuf allocated on heap

6 years agoDon't update LRU if the node was recently used.
Witold Kręcicki [Fri, 31 Jan 2020 12:26:34 +0000 (13:26 +0100)] 
Don't update LRU if the node was recently used.

Updating LRU requires write-locking the node, which causes contention.
Update LRU only if time difference is large enough.

6 years agoWe don't need to fill udp local address every time since we are bound to it.
Witold Kręcicki [Wed, 29 Jan 2020 12:33:58 +0000 (13:33 +0100)] 
We don't need to fill udp local address every time since we are bound to it.

6 years agoDon't check if the client is on recursing list (requires locking) if it's not RECURSING
Witold Kręcicki [Tue, 28 Jan 2020 09:31:35 +0000 (10:31 +0100)] 
Don't check if the client is on recursing list (requires locking) if it's not RECURSING

6 years agoUse the original threadid when sending a UDP packet to decrease probability of contex...
Witold Kręcicki [Wed, 29 Jan 2020 08:29:19 +0000 (09:29 +0100)] 
Use the original threadid when sending a UDP packet to decrease probability of context switching

6 years agoMerge branch '1638-rrsig-soa-and-re-signing' into 'master'
Mark Andrews [Thu, 27 Feb 2020 22:48:48 +0000 (22:48 +0000)] 
Merge branch '1638-rrsig-soa-and-re-signing' into 'master'

Resolve "RRSIG(SOA) and re-signing."

Closes #1638

See merge request isc-projects/bind9!3114

6 years agocapture named-journalprint output
Mark Andrews [Tue, 25 Feb 2020 01:17:11 +0000 (12:17 +1100)] 
capture named-journalprint output

6 years agosort RRSIG(SOA) to be last of RRSIGs with a common re-resign time
Mark Andrews [Tue, 25 Feb 2020 01:11:27 +0000 (12:11 +1100)] 
sort RRSIG(SOA) to be last of RRSIGs with a common re-resign time

6 years agouse the full sig-validity-interval for RRSIG(SOA)
Mark Andrews [Tue, 25 Feb 2020 01:09:13 +0000 (12:09 +1100)] 
use the full sig-validity-interval for RRSIG(SOA)

6 years agoMerge branch 'marka-coverity-stop-taint' into 'master'
Mark Andrews [Thu, 27 Feb 2020 20:01:04 +0000 (20:01 +0000)] 
Merge branch 'marka-coverity-stop-taint' into 'master'

Simplify hash computation to prevent pointer being classed as tainted.

See merge request isc-projects/bind9!3081

6 years agoSimplify hash computation to prevent pointer being classed as tainted.
Mark Andrews [Mon, 17 Feb 2020 22:40:21 +0000 (09:40 +1100)] 
Simplify hash computation to prevent pointer being classed as tainted.

mem.c:add_trace_entry() -> isc_hash_function() -> isc_siphash24()

129        for (; in != end; in += 8) {

6. byte_swapping: Performing a byte swapping operation on
in implies that it came from an external source, and is
therefore tainted.

130                uint64_t m = U8TO64_LE(in);

6 years agoMerge branch 'wpk/perfwork-5-isc-result-rwlock' into 'master'
Witold Krecicki [Thu, 27 Feb 2020 09:48:11 +0000 (09:48 +0000)] 
Merge branch 'wpk/perfwork-5-isc-result-rwlock' into 'master'

Perfwork 5/6 - Use isc_rwlock for isc_result tables

See merge request isc-projects/bind9!3069

6 years agoUse isc_rwlock for isc_result tables
Witold Kręcicki [Tue, 28 Jan 2020 10:27:27 +0000 (11:27 +0100)] 
Use isc_rwlock for isc_result tables

6 years agoMerge branch 'each-speedup-serve-stale-test' into 'master'
Evan Hunt [Thu, 27 Feb 2020 06:57:56 +0000 (06:57 +0000)] 
Merge branch 'each-speedup-serve-stale-test' into 'master'

Speed up serve-stale test

See merge request isc-projects/bind9!3090

6 years agosend bursts of queries in parallel to reduce test runtime
Evan Hunt [Thu, 20 Feb 2020 02:26:48 +0000 (18:26 -0800)] 
send bursts of queries in parallel to reduce test runtime

sending each group of queries simultaneously, and then checking the
output after the last one finishes, reduces the runtime of the
serve-stale test by about six minutes.

6 years agostop testing 'serve-stale yes' and 'serve-fail no' alternate syntax
Evan Hunt [Wed, 19 Feb 2020 23:46:26 +0000 (15:46 -0800)] 
stop testing 'serve-stale yes' and 'serve-fail no' alternate syntax

"yes" and "no" are permissible synonyms for "on" and "off", which
use exactly the same code paths. making sure they work isn't a good
use of 80 seconds of test time.

6 years agouse "on|off" in rndc -h output to match the man page
Evan Hunt [Wed, 19 Feb 2020 23:40:50 +0000 (15:40 -0800)] 
use "on|off" in rndc -h output to match the man page

6 years agoMerge branch '1623-assertion-failure-ns-client-endrequest' into 'master'
Witold Krecicki [Wed, 26 Feb 2020 12:35:19 +0000 (12:35 +0000)] 
Merge branch '1623-assertion-failure-ns-client-endrequest' into 'master'

Don't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client.

Closes #1623

See merge request isc-projects/bind9!3077

6 years agoDon't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client.
Witold Kręcicki [Mon, 17 Feb 2020 14:52:09 +0000 (15:52 +0100)] 
Don't issue ns_client_endrequest on a NS_CLIENTSTATE_READY client.

Fix a potential assertion failure on shutdown in ns__client_endrequest.
Scenario:
1. We are shutting down, interface->clientmgr is gone.
2. We receive a packet, it gets through ns__client_request
3. mgr == NULL, return
4. isc_nmhandle_detach calls ns_client_reset_cb
5. ns_client_reset_cb calls ns_client_endrequest
6. INSIST(client->state == NS_CLIENTSTATE_WORKING ||
          client->state == NS_CLIENTSTATE_RECURSING) is not met
   - we haven't started processing this packet so
   client->state == NS_CLIENTSTATE_READY.
As a solution - don't do anything in ns_client_reset_cb if the client
is still in READY state.

6 years agoMerge branch 'wpk/perfwork-4-compressctx-arena' into 'master'
Witold Krecicki [Wed, 26 Feb 2020 08:17:28 +0000 (08:17 +0000)] 
Merge branch 'wpk/perfwork-4-compressctx-arena' into 'master'

Perfwork 4/6 - add an arena to compressctx

See merge request isc-projects/bind9!3068

6 years agoAdd an arena to compressctx
Witold Kręcicki [Mon, 3 Feb 2020 10:17:32 +0000 (11:17 +0100)] 
Add an arena to compressctx

6 years agoMerge branch 'each-cosmetic-fixes' into 'master'
Evan Hunt [Tue, 25 Feb 2020 19:05:53 +0000 (19:05 +0000)] 
Merge branch 'each-cosmetic-fixes' into 'master'

minor cosmetic fixes

See merge request isc-projects/bind9!3085

6 years agominor cosmetic fixes
Evan Hunt [Wed, 19 Feb 2020 08:17:03 +0000 (00:17 -0800)] 
minor cosmetic fixes

- the configuration summary reported zlib compression was not
  supported even when it was.
- when bind.keys.h was regenerated it violated clang-format style.

6 years agoMerge branch '103-include-multiple-files' into 'master'
Matthijs Mekking [Tue, 25 Feb 2020 12:17:33 +0000 (12:17 +0000)] 
Merge branch '103-include-multiple-files' into 'master'

Resolve "[RT#43439 'include' a whole directory when creating BIND zone file"

Closes #103

See merge request isc-projects/bind9!2296

6 years agoMake clang-format happy
Matthijs Mekking [Tue, 25 Feb 2020 08:07:45 +0000 (09:07 +0100)] 
Make clang-format happy

6 years agoUpdate copyrights
Diego Fronza [Mon, 24 Feb 2020 16:53:32 +0000 (13:53 -0300)] 
Update copyrights

6 years agoAdd test for checkconf glob include
Matthijs Mekking [Mon, 10 Feb 2020 10:24:28 +0000 (11:24 +0100)] 
Add test for checkconf glob include

6 years agoUpdate configure to handle glob.h
Diego Fronza [Thu, 30 Jan 2020 17:39:30 +0000 (14:39 -0300)] 
Update configure to handle glob.h

6 years agoAdded a isc_glob() function that wraps glob() calls for POSIX systems
Diego Fronza [Wed, 23 Oct 2019 19:25:06 +0000 (16:25 -0300)] 
Added a isc_glob() function that wraps glob() calls for POSIX systems
and implement a custom glob() function on Windows systems.

6 years agoAdded test to verify that both include glob-expression and include
Diego Fronza [Tue, 22 Oct 2019 13:43:24 +0000 (10:43 -0300)] 
Added test to verify that both include glob-expression and include
non-glob-expression works.

6 years agoAdded tests for include directive + glob expressions.
Diego dos Santos Fronza [Mon, 16 Sep 2019 15:03:10 +0000 (12:03 -0300)] 
Added tests for include directive + glob expressions.

6 years agoAllowing include directive to use glob expressions, e.g. include
Diego dos Santos Fronza [Fri, 13 Sep 2019 15:08:56 +0000 (12:08 -0300)] 
Allowing include directive to use glob expressions, e.g. include
"/opt/named.conf/*.conf".

6 years agoMerge branch 'michal/misc-9.17-preparations' into 'master'
Michał Kępień [Mon, 24 Feb 2020 10:03:07 +0000 (10:03 +0000)] 
Merge branch 'michal/misc-9.17-preparations' into 'master'

Miscellaneous BIND 9.17 preparations

See merge request isc-projects/bind9!3108

6 years agoRebuild documentation
Evan Hunt [Mon, 24 Feb 2020 04:48:55 +0000 (20:48 -0800)] 
Rebuild documentation

6 years agoBump version to 9.17.0
Michał Kępień [Mon, 24 Feb 2020 09:56:47 +0000 (10:56 +0100)] 
Bump version to 9.17.0

6 years agoBump library API versions for BIND 9.17
Michał Kępień [Mon, 24 Feb 2020 09:56:47 +0000 (10:56 +0100)] 
Bump library API versions for BIND 9.17

6 years agoAdd libuv information to win32utils/build.txt
Michał Kępień [Mon, 24 Feb 2020 09:56:47 +0000 (10:56 +0100)] 
Add libuv information to win32utils/build.txt

6 years agoFix broken link in configure.ac
Michał Kępień [Mon, 24 Feb 2020 09:56:47 +0000 (10:56 +0100)] 
Fix broken link in configure.ac

6 years agoUpdate PLATFORMS for BIND 9.17
Michał Kępień [Mon, 24 Feb 2020 09:56:47 +0000 (10:56 +0100)] 
Update PLATFORMS for BIND 9.17

6 years agoUpdate README and HISTORY for BIND 9.17
Michał Kępień [Mon, 24 Feb 2020 09:56:47 +0000 (10:56 +0100)] 
Update README and HISTORY for BIND 9.17

6 years agoUpdate release notes for BIND 9.17.0
Michał Kępień [Mon, 24 Feb 2020 09:56:47 +0000 (10:56 +0100)] 
Update release notes for BIND 9.17.0

6 years agoMerge branch '1632-spelling-take2' into 'master'
Evan Hunt [Fri, 21 Feb 2020 22:14:32 +0000 (22:14 +0000)] 
Merge branch '1632-spelling-take2' into 'master'

some Fossies-reported spelling errors were accidentally left unfixed

Closes #1632

See merge request isc-projects/bind9!3110

6 years agosome Fossies-reported spelling errors were accidentally left unfixed
Evan Hunt [Fri, 21 Feb 2020 22:12:42 +0000 (14:12 -0800)] 
some Fossies-reported spelling errors were accidentally left unfixed

6 years agoMerge branch 'each-dlz-build' into 'master'
Evan Hunt [Fri, 21 Feb 2020 17:19:56 +0000 (17:19 +0000)] 
Merge branch 'each-dlz-build' into 'master'

fix build errors in DLZ modules

See merge request isc-projects/bind9!3092

6 years agofix build errors in DLZ modules
Evan Hunt [Thu, 20 Feb 2020 05:53:30 +0000 (21:53 -0800)] 
fix build errors in DLZ modules

6 years agoMerge branch 'michal/clean-up-with-tuning-large-remnants' into 'master'
Michał Kępień [Fri, 21 Feb 2020 12:43:01 +0000 (12:43 +0000)] 
Merge branch 'michal/clean-up-with-tuning-large-remnants' into 'master'

Clean up --with-tuning=large remnants

See merge request isc-projects/bind9!3071

6 years agoClean up --with-tuning=large remnants
Michał Kępień [Fri, 21 Feb 2020 11:51:49 +0000 (12:51 +0100)] 
Clean up --with-tuning=large remnants

The change introduced by commit be159f556568abb9a5dbc494f8441eefdd304a7f
was not fully complete.  Adjust ./configure summary so that it reflects
the new way the --with-tuning switch works, fixing the Autoconf variable
used for determining the value of that switch.  Fix win32utils/Configure
so that it behaves the same way as its Unix counterpart.

6 years agoMerge branch 'marka-fix-signature-test' into 'master'
Mark Andrews [Fri, 21 Feb 2020 06:36:34 +0000 (06:36 +0000)] 
Merge branch 'marka-fix-signature-test' into 'master'

Fix code to generate the test signatues.

See merge request isc-projects/bind9!3102

6 years agoFix code to generate the test signatues.
Mark Andrews [Fri, 21 Feb 2020 05:40:50 +0000 (21:40 -0800)] 
Fix code to generate the test signatues.

* ctx needs to be destroyed before it is regenerated.
* emit the name of the signature to be replaced.
* cleanup memory before asserting so post longjump doesn't detect a
  memory leak.
* comment code.

6 years agoMerge branch '1632-spelling' into 'master'
Evan Hunt [Fri, 21 Feb 2020 06:28:09 +0000 (06:28 +0000)] 
Merge branch '1632-spelling' into 'master'

fix spelling errors reported by Fossies.

Closes #1632

See merge request isc-projects/bind9!3101

6 years agoupdate signatures
Mark Andrews [Fri, 21 Feb 2020 03:54:45 +0000 (14:54 +1100)] 
update signatures

6 years agofix spelling errors reported by Fossies.
Evan Hunt [Thu, 20 Feb 2020 22:49:36 +0000 (14:49 -0800)] 
fix spelling errors reported by Fossies.

6 years agoMerge branch '1279-named-compilezone-should-be-able-to-take-input-from-stdin' into...
Diego dos Santos Fronza [Thu, 20 Feb 2020 15:26:51 +0000 (15:26 +0000)] 
Merge branch '1279-named-compilezone-should-be-able-to-take-input-from-stdin' into 'master'

Resolve "named-compilezone should be able to take input from STDIN"

Closes #1279

See merge request isc-projects/bind9!2552

6 years agoAdded system test
Diego Fronza [Fri, 31 Jan 2020 19:52:43 +0000 (16:52 -0300)] 
Added system test

Added a system test which ensures that named-checkzone works when
taking input data from stdin.

6 years agoEnable named-checkzone and named-compilezone to take input from stdin
Diego Fronza [Thu, 7 Nov 2019 18:28:42 +0000 (15:28 -0300)] 
Enable named-checkzone and named-compilezone to take input from stdin

If a filename (the last argument) is not provided for named-checkzone or
named-compilezone, or if it is a single dash "-" character,
zone data will be read from stdin.

Example of invocation:
cat /etc/zone_name.db | named-compilezone -f text -F raw \
    -o zone_name.raw zone_name

6 years agoMerge branch 'michal/make-a-sed-script-in-doc-arm-makefile.in-portable' into 'master'
Michał Kępień [Thu, 20 Feb 2020 11:26:33 +0000 (11:26 +0000)] 
Merge branch 'michal/make-a-sed-script-in-doc-arm-makefile.in-portable' into 'master'

Make a sed script in doc/arm/Makefile.in portable

See merge request isc-projects/bind9!3058

6 years agoMake a sed script in doc/arm/Makefile.in portable
Michał Kępień [Thu, 20 Feb 2020 11:23:36 +0000 (12:23 +0100)] 
Make a sed script in doc/arm/Makefile.in portable

BSD sed does not recognize \s as a whitespace matching token.  Make the
sed script in doc/arm/Makefile.in which ensures GitLab identifiers are
not split across lines portable by replacing \s with [[:space:]].