bind9/lib/dns
Colin Vidal e4851fcdb7 log that a zone is expired after setting the flag
When a (secondary) zone is expired, the log message `<zone> expired` is
printed and the flag `DNS_ZONEFLG_EXPIRED` is set. Change the order by
setting the expired flag first, then printing the log.

This should fixes (rare but persistent) timing-related CI error when the
EDE 24 tests expect the zone to be expired (from the log) and
immediately after request and expect an EDE 24 error. (In some rare
cases, the server was still answering the response).
2025-11-03 17:34:25 +01:00
..
include add dns_zone_isexpired API 2025-11-03 17:34:25 +01:00
rdata Share reverse (ARPA) domain names 2025-10-01 12:16:05 +02:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
acl.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
acl_p.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
adb.c Remove qname/qtype from dns_adb_createfind() call 2025-09-02 20:16:58 +02:00
badcache.c Apply the changes from updated set_if_not_null semantic patch 2025-10-08 17:44:50 +02:00
byaddr.c Share reverse (ARPA) domain names 2025-10-01 12:16:05 +02:00
cache.c Remove dns_dbtree_t and its usage 2025-09-17 15:58:44 +02:00
callbacks.c Convert all categories and modules into static lists 2024-08-20 12:50:39 +00:00
catz.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
client.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
clientinfo.c refactor dns_clientinfo_init(); use separate function to set ECS 2023-02-07 23:48:22 -08:00
compress.c remove the 'name_coff' parameter in dns_name_towire() 2025-02-25 12:53:25 -08:00
db.c Remove dns_dbtree_t and its usage 2025-09-17 15:58:44 +02:00
db_p.h Rename DNS_SIGTYPE() to DNS_SIGTYPEPAIR() 2025-08-15 07:22:52 +02:00
dbiterator.c add DNS_DBITERATOR_FOREACH and DNS_RDATASETITER_FOREACH 2025-05-27 21:08:09 -07:00
diff.c Skip buffer allocations if not logging 2025-10-31 12:03:24 +01:00
dispatch.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dlz.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dlz_p.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
dns64.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dnssec.c Don't log spurious error "bad key type" in findmatchingkeys 2025-10-22 09:42:44 +11:00
dnstap.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
ds.c Future: DS private algorithm support 2025-06-19 07:15:20 +10:00
dst_api.c Minor refactor of dst code 2025-10-01 12:25:53 +00:00
dst_internal.h Minor refactor of dst code 2025-10-01 12:25:53 +00:00
dst_openssl.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dst_parse.c Minor refactor of dst code 2025-10-01 12:25:53 +00:00
dst_parse.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dyndb.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dyndb_p.h Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
ecs.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ede.c Don't copy EDE codes if source is same as destination 2025-04-02 18:06:52 +02:00
fixedname.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
forward.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
gen.c Silence "may be truncated" warnings 2025-08-04 15:38:17 +02:00
geoip2.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
gssapi_link.c Deprecate max-rsa-exponent-size, always use 4096 instead 2025-05-21 00:50:08 +02:00
gssapictx.c Remove "tkey-gssapi-credential" and related code 2025-10-06 13:19:50 +02:00
hmac_link.c Deprecate max-rsa-exponent-size, always use 4096 instead 2025-05-21 00:50:08 +02:00
ipkeylist.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
iptable.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
journal.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
kasp.c Implement named-checkconf -k (check keys) 2025-09-24 17:03:06 +02:00
key.c Cleanup the DST cryptographic API 2025-05-20 09:52:35 +02:00
keydata.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
keymgr.c Fix dnssec-keygen key collision checking for KEY rrtype keys 2025-10-22 09:42:43 +11:00
keystore.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
keytable.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
lib.c Replace per-zone lock buckets with global buckets 2025-07-09 15:27:38 +02:00
master.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
masterdump.c simplify dns_dumpctx API 2025-10-20 17:48:18 -07:00
meson.build Introduce notify source code files 2025-10-31 13:43:47 +01:00
message.c Merge tag 'v9.21.14' 2025-10-22 18:13:34 +02:00
name.c Share reverse (ARPA) domain names 2025-10-01 12:16:05 +02:00
nametree.c Rename DNS_DB_NSEC_ constants to DNS_DBNAMESPACE_ 2025-07-10 13:52:59 +00:00
ncache.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
notify.c Move notify functions to notify source files 2025-10-31 13:43:47 +01:00
nsec.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
nsec3.c Apply the changes from updated set_if_not_null semantic patch 2025-10-08 17:44:50 +02:00
nta.c Decouple database and node lifetimes by adding node-specific vtables 2025-08-07 11:39:38 -07:00
openssl_link.c Remove unused isc_mutexblock and isc_condition units 2025-03-01 07:33:09 +01:00
openssl_shim.h Move the dst__openssl_toresult to isc_tls unit 2024-08-08 11:59:41 +02:00
opensslecdsa_link.c Deprecate max-rsa-exponent-size, always use 4096 instead 2025-05-21 00:50:08 +02:00
openssleddsa_link.c Deprecate max-rsa-exponent-size, always use 4096 instead 2025-05-21 00:50:08 +02:00
opensslrsa_link.c Add PRIVATEOIDs for RSASHA256 and RSASHA512 2025-06-19 07:15:20 +10:00
order.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
peer.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
private.c Apply the changes from updated set_if_not_null semantic patch 2025-10-08 17:44:50 +02:00
probes-dns.d Use unique names for probes.d files 2025-09-24 13:18:13 +02:00
qp.c Add more unit tests for dns_qp unit 2025-09-17 15:58:44 +02:00
qp_p.h Use the <stdbit.h> names for bit manipulation shims 2025-08-26 15:32:53 +02:00
qpcache.c Refactor find headers to make use of related 2025-09-24 00:07:08 +02:00
qpcache_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
qpzone.c Apply the changes from updated set_if_not_null semantic patch 2025-10-08 17:44:50 +02:00
qpzone_p.h Replace per-zone lock buckets with global buckets 2025-07-09 15:27:38 +02:00
rcode.c Add support for parsing DSYNC scheme mnemonics 2025-08-05 17:27:44 +10:00
rdata.c Use dns_rdatatype_none more consistently 2025-08-15 07:22:52 +02:00
rdatalist.c dns_rdatalist functions are not for general use 2025-09-15 16:11:50 +00:00
rdataset.c Remove dns_rdataset_equals as unneeded 2025-09-10 14:20:22 +10:00
rdatasetiter.c add DNS_DBITERATOR_FOREACH and DNS_RDATASETITER_FOREACH 2025-05-27 21:08:09 -07:00
rdataslab.c Convert slabheader to use the cds_list 2025-09-23 23:18:44 +02:00
rdataslab_p.h Use ISC_UxxTOyy_BE macros for {peek,get,put}_uint16 macros 2025-08-18 12:36:47 +02:00
remote.c simplify code around isc_mem_put() and isc_mem_free() 2025-05-28 17:22:32 -07:00
request.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
resconf.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
resolver.c Remove leftover FCTX_ATTR_NEEDEDNS0 2025-11-03 15:24:59 +00:00
result.c clean up result codes that are never used 2025-01-23 15:54:57 -08:00
rootns.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
rpz.c RPZ canonical warning displays zone entry incorrectly 2025-09-03 09:01:54 +10:00
rriterator.c Decouple database and node lifetimes by adding node-specific vtables 2025-08-07 11:39:38 -07:00
rrl.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
sdlz.c make getoriginnode implementation optional 2025-09-15 16:11:50 +00:00
skr.c Fix parse_rr in lib/dns/skr.c was failing to reset the comments 2025-10-14 11:26:45 +11:00
soa.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
ssu.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
ssu_external.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
stats.c Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
time.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tkey.c Remove "tkey-gssapi-credential" and related code 2025-10-06 13:19:50 +02:00
transport.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tsig.c Remove unused link field from rdatacommon 2025-07-17 12:57:51 +02:00
tsig_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
ttl.c Use clang-format-20 to update formatting 2025-06-25 12:44:22 +10:00
unreachcache.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00
update.c Fix dnssec-keygen key collision checking for KEY rrtype keys 2025-10-22 09:42:43 +11:00
validator.c Merge tag 'v9.21.14' 2025-10-22 18:13:34 +02:00
view.c refactor newzones configuration 2025-10-29 23:49:49 +01:00
xfrin.c Use unique names for probes.d files 2025-09-24 13:18:13 +02:00
zone.c log that a zone is expired after setting the flag 2025-11-03 17:34:25 +01:00
zone_p.h Export zone functions 2025-10-31 13:43:47 +01:00
zoneverify.c Apply the changes from updated set_if_not_null semantic patch 2025-10-08 17:44:50 +02:00
zt.c report when zone reload already in progress 2025-10-17 20:36:18 +00:00