Ondřej Surý
4957255d13
Use the semantic patch to change the usage isc_mem_create() to new API
2019-09-12 09:26:09 +02:00
Evan Hunt
a1871e7f1d
further cleanup
...
- removed some dead code
- dns_zone_setdbtype is now void as it could no longer return
anything but ISC_R_SUCCESS; calls to it no longer check for a result
- controlkeylist_fromconfig() is also now void
- fixed a whitespace error
2019-07-23 15:32:36 -04:00
Ondřej Surý
9bdc24a9fd
Use coccinelle to cleanup the failure handling blocks from isc_mem_strdup
2019-07-23 15:32:36 -04:00
Ondřej Surý
78d0cb0a7d
Use coccinelle to remove explicit '#include <config.h>' from the source files
2019-03-08 15:15:05 +01:00
Witold Kręcicki
79ce86090a
rndc reconfig should not touch already loaded zones, some refactoring of dns_{zone,view,zt}_{async,}load
2018-08-28 17:04:45 +02:00
Ondřej Surý
62fb0759e9
Assume always working getaddrinfo/getnameinfo implemenation
2018-08-28 10:31:48 +02:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
Michał Kępień
4df4a8e731
Use dns_fixedname_initname() where possible
...
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.
This patch was mostly prepared using Coccinelle and the following
semantic patch:
@@
expression fixedname, name;
@@
- dns_fixedname_init(&fixedname);
...
- name = dns_fixedname_name(&fixedname);
+ name = dns_fixedname_initname(&fixedname);
The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.
It is likely that more occurrences of this pattern can be refactored in
an identical way. This commit only takes care of the low-hanging fruit.
2018-04-09 12:14:16 +02:00
Witold Kręcicki
ef0e68bfc3
libdns refactoring: integrate zone->options and zone->options2 into one enum, removing unnecessary flags.
2018-04-06 08:04:41 +02:00
Witold Kręcicki
7dbc6768d6
libdns refactoring: get rid of multiple versions of dns_zone_setfile, dns_zone_notifyreceive, dns_zone_dumptostream, dns_zone_getserial
2018-04-06 08:04:41 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
b386a826a6
call ns_log_init so that the categories there are registered
2017-10-06 16:41:30 +11:00
Tinderbox User
33987cb5fd
update copyright notice / whitespace
2017-09-13 23:48:32 +00:00
Evan Hunt
114f95089c
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
2017-09-13 00:14:37 -07:00
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00
Mark Andrews
c62ead1ae7
check the result of dns_zone_getdb call
2014-02-20 20:33:46 +11:00
Mark Andrews
e676a59686
update copyrights
2014-02-20 10:53:11 +11:00
Evan Hunt
35f6a21f5f
[master] max-zone-ttl
...
3746. [func] New "max-zone-ttl" option enforces maximum
TTLs for zones. If loading a zone containing a
higher TTL, the load fails. DDNS updates with
higher TTLs are accepted but the TTL is truncated.
(Note: Currently supported for master zones only;
inline-signing slaves will be added.) [RT #38405 ]
2014-02-18 23:26:50 -08:00
Tinderbox User
5c6b95ba1b
update copyright notice
2013-01-10 23:46:00 +00:00
Evan Hunt
578e319607
[master] add -J option to checkzone/compilezone
...
3459. [func] Added -J option to named-checkzone/named-compilezone
to specify the path to the journal file. [RT #30958 ]
2013-01-09 16:56:46 -08:00
Mark Andrews
6f7abb89ec
3437. [bug] isc_buffer_init -> isc_buffer_constinit to initialise
...
buffers with constant data. [RT #32064 ]
Squashed commit of the following:
commit 3433b96bf11f8c90ccbe412f01d02a6d8bbc2d33
Author: Mark Andrews <marka@isc.org>
Date: Sat Dec 8 12:41:16 2012 +1100
isc_buffer_init -> isc_buffer_constinit
commit c22dbcc1122a0a44f7b46068e0ccbc25353a57d5
Author: Mark Andrews <marka@isc.org>
Date: Sat Dec 8 12:38:39 2012 +1100
isc_buffer_init -> isc_buffer_constinit
commit 900820416c45c1887d0d22d7a010df60a903bd56
Author: Mark Andrews <marka@isc.org>
Date: Sat Dec 8 12:24:19 2012 +1100
remove isc_buffer_reconstinit
commit f815711c17b05f9961786a90b9bae902d3c01494
Author: Mark Andrews <marka@isc.org>
Date: Wed Dec 5 15:42:57 2012 +1100
add isc_buffer_constinit
2012-12-08 12:48:57 +11:00
Evan Hunt
41bbb34bc2
fix coverity issues
...
3388. [bug] Fixed several Coverity warnings. [RT #30996 ]
2012-10-02 23:44:03 -07:00
Tinderbox User
14725aff16
update copyright notice
2012-09-12 23:46:13 +00:00
Mark Andrews
59fdf31195
turn binary mode on for raw/fast
2012-09-12 15:28:20 +10:00
Evan Hunt
f30785f506
3252. [bug] When master zones using inline-signing were
...
updated while the server was offline, the source
zone could fall out of sync with the signed
copy. They can now resynchronize. [RT #26676 ]
2011-12-22 07:32:41 +00:00
Automatic Updater
339d2a4d4b
update copyright notice
2011-12-09 23:47:05 +00:00
Evan Hunt
b4d8192d21
3241. [func] Extended the header of raw-format master files to
...
include the serial number of the zone from which
they were generated, if different (as in the case
of inline-signing zones). This is to be used in
inline-signing zones, to track changes between the
unsigned and signed versions of the zone, which may
have different serial numbers.
(Note: raw zonefiles generated by this version of
BIND are no longer compatble with prior versions.
To generate a backward-compatible raw zonefile
using dnssec-signzone or named-compilezone, specify
output format "raw=0" instead of simply "raw".)
[RT #26587 ]
2011-12-08 16:07:22 +00:00
Automatic Updater
7306e8e4ee
update copyright notice
2010-09-07 23:46:59 +00:00
Mark Andrews
1b42401954
2952. [port] win32: named-checkzone and named-checkconf failed
...
to initialise winsock. [RT #21932 ]
2010-09-07 01:49:08 +00:00
Tatuya JINMEI 神明達哉
307d208450
2660. [func] Add a new set of DNS libraries for non-BIND9
...
applications. See README.libdns. [RT #19369 ]
2009-09-01 00:22:28 +00:00
Mark Andrews
13f4bdc9b4
2531. [bug] Change #2207 was incomplete. [RT #19098 ]
2009-01-20 02:01:11 +00:00
Automatic Updater
d7845fc5ba
update copyright notice
2009-01-07 23:47:47 +00:00
Tatuya JINMEI 神明達哉
609f86163a
2525. [func] New logging category "query-errors" to provide detailed
...
internal information about query failures, especially
about server failures. [RT #19027 ]
2009-01-07 01:46:40 +00:00
Mark Andrews
455ada05af
2471. [bug] named-checkzone was not reporting missing manditory
...
glue when sibling checks were disabled. [RT #18768 ]
2008-10-24 00:28:00 +00:00
Automatic Updater
2f012d936b
update copyright notice
2008-01-18 23:46:58 +00:00
Automatic Updater
72d6be2c11
update copyright notice
2008-01-09 23:47:00 +00:00
Mark Andrews
562460463b
2289. [func] named-checkzone now reports the out-of-zone CNAME
...
found. [RT #17309 ]
2008-01-09 02:50:43 +00:00
Evan Hunt
d468b1b7b2
Fix compiler warnings on SCO OSr5
2007-09-13 04:45:18 +00:00
Mark Andrews
f408773d47
2207. [port] Some implementations of getaddrinfo() fail to set
...
ai_canonname correctly. [RT #17061 ]
2007-08-06 01:06:49 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Automatic Updater
feac7b8b38
update copyright notice
2007-05-21 03:46:42 +00:00
Mark Andrews
0f8c9b5eed
2191. [func] named-checkzone now allows dumping to stdout (-).
...
named-checkconf now has -h for help.
named-checkzone now has -h for help.
Better handling of '-?' for usage summaries.
[RT #16707 ]
2007-05-21 02:47:25 +00:00
Mark Andrews
f3902e428c
add lib/isccfg/include
2006-07-21 07:11:56 +00:00
Mark Andrews
c55dd77de4
2042. [bug] named-checkconf was incorrectly rejecting the
...
logging category "config". [RT #16117 ]
2006-06-07 02:28:28 +00:00
Mark Andrews
141132c272
update copyright notice
2006-01-07 00:23:35 +00:00
Mark Andrews
3430bfffca
silence compiler warning
2006-01-06 02:07:03 +00:00