houyuwushang
4faf983fb6
plugin/auto: warn on duplicate zone file origins ( #8191 )
...
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com >
2026-06-29 00:59:23 -07:00
houyuwushang
02f28345d1
plugin/transfer: configure notify source address ( #8192 )
...
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com >
2026-06-28 21:15:16 -07:00
Immanuel Tikhonov
45a20ddcf1
fix: accept scoped IPv6 addresses in transfer targets ( #8204 )
...
Signed-off-by: immanuwell <pchpr.00@list.ru >
2026-06-27 22:26:12 -07:00
Immanuel Tikhonov
69e7a4be73
fix(trace): correct Zipkin v2 endpoint docs ( #8202 )
2026-06-27 03:21:26 -07:00
Immanuel Tikhonov
1539f9b7d6
fix(log): synthesize deferred error responses ( #8200 )
...
Signed-off-by: immanuwell <pchpr.00@list.ru >
2026-06-26 01:58:20 -07:00
Jaime Hablutzel
1936a2bb40
fix(dnstap): store IPv4-mapped IPv6 addresses as 4 octets with SocketFamily INET ( #8186 )
...
Signed-off-by: Jaime Hablutzel <hablutzel1@gmail.com >
2026-06-25 15:49:32 -07:00
Amirhossein Ebrahimzade
6805f6f8a0
plugin/hosts: add wildcard support ( #8185 )
...
* plugin/hosts: add wildcard support for owner names
Signed-off-by: youknowforsearch <amirhebrahimzader@gmail.com >
* plugin/hosts: document wildcard owner name support
Signed-off-by: youknowforsearch <amirhebrahimzader@gmail.com >
* plugin/hosts: remove unused lookupStaticHost
Signed-off-by: Amirhossein Ebrahimzade <amirhossein.e@smartech.ir >
---------
Signed-off-by: youknowforsearch <amirhebrahimzader@gmail.com >
Signed-off-by: Amirhossein Ebrahimzade <amirhossein.e@smartech.ir >
Co-authored-by: Amirhossein Ebrahimzade <amirhossein.e@smartech.ir >
2026-06-24 22:08:08 -07:00
Immanuel Tikhonov
e45ad5f87a
fix(local): handle names under .localhost. ( #8151 )
2026-06-24 02:31:31 -07:00
houyuwushang
faeb8ba699
plugin/hosts: fall through unsupported query types ( #8193 )
2026-06-24 02:28:20 -07:00
Yong Tang
fc447d0658
plugin/rewrite: Fix nil-pointer panic in EDNS0 response reversion with no OPT record ( #8190 )
...
* plugin/rewrite: Fix nil-pointer panic in EDNS0 response reversion with no OPT record
This PR fix a nil-pointer panic in EDNS0 response reversion when downstream responses do not contain an OPT record,
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
* Fix
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
---------
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2026-06-23 16:02:35 -07:00
Thomas Gosteli
f2f5b5a1cc
feat(forward): add doh support ( #8004 )
...
* chore(pkg/proxy): prepare for DoH implementation
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore(pkg/proxy): prepare for DoH implementation
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(proxy): implement basic DoH resolution
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(forward): implement DoH forwarding
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(proxy): add basic DoH health checker
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore: align http transport with Go's DefaultTransport
and resolve some of the TODOs
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* docs(forward): add basic documentation for DoH
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore: add basic tests to cover DoH
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore(health): unify default timeout to 1s
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* feat(forward): make doh method configurable
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore: remove maxIdleConnsPerHost setting & update docs
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
* chore(forward): reject https upstreams with path
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
---------
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch >
2026-06-14 17:54:05 -07:00
Yong Tang
60a439dd4f
plugin/proxyproto: Prevent nil pointer dereference when dropping malformed PROXY packets ( #8154 )
...
Avoid a potential nil pointer dereference in PacketConn.ReadFrom() when malformed PROXY protocol headers cause readFrom() to return a nil address.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2026-06-08 16:26:32 -07:00
Yong Tang
3342b414e3
plugin/cache: allow cache TTLs above default 3600s ( #8134 )
...
* plugin/cache: allow cache TTLs above default 3600s
This change allows the cache plugin to honor configured maximum TTL values above the default 3600s limit. Default behavior remains unchanged
This PR fixes 7846
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
* Keep MinimalTTL
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
---------
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2026-06-06 07:48:26 +03:00
Isolus
b49fe2d469
plugin/dnssec: sign each RRset with the zone that owns its name, not the query zone ( #8138 )
...
Signed-off-by: Björn Kinscher <code@bjoern-kinscher.de >
Co-authored-by: Björn Kinscher <code@bjoern-kinscher.de >
2026-06-05 18:36:28 -07:00
Immanuel Tikhonov
4c07a287da
fix: reject invalid any and local config ( #8133 )
...
Signed-off-by: immanuwell <pchpr.00@list.ru >
2026-05-31 15:41:27 -07:00
Dmytro Alieksieiev
ce0e5a6f39
plugin/forward: add hostname resolution support for TO endpoints ( #5646 ) ( #7923 )
...
Signed-off-by: Dmytro Alieksieiev <1865999+dragoangel@users.noreply.github.com >
2026-05-30 19:36:01 -07:00
Immanuel Tikhonov
33c71b1554
fix(kubernetes): remove debug fmt.Println from multicluster zone validation ( #8131 )
...
Signed-off-by: immanuwell <pchpr.00@list.ru >
2026-05-28 22:11:35 -07:00
Immanuel Tikhonov
0bcb17df06
fix: use descriptive error for unknown block options in health and log plugins ( #8128 )
2026-05-27 16:29:24 -07:00
Jöran Malek
eb49f402cc
plugin/forward: Forward NODATA responses to Next handler ( #8065 )
2026-05-26 17:15:46 -07:00
Immanuel Tikhonov
17142359e0
fix: reject unknown chaos block options ( #8121 )
2026-05-24 05:58:11 -07:00
Ville Vesilehto
d9c6b9b8b4
fix: reject unknown trace and dnstap block options ( #8120 )
2026-05-21 16:06:25 -07:00
Immanuel Tikhonov
1fbc686758
fix: reject unknown ready plugin properties ( #8119 )
...
Signed-off-by: immanuwell <pchpr.00@list.ru >
2026-05-21 22:29:59 +03:00
JUN YANG
3e762bc603
Remove redundant code ( #8072 )
...
Signed-off-by: Yang Jun <yang.jun22@zte.com.cn >
Signed-off-by: 杨军10092085 <yang.jun22@zte.com.cn >
2026-05-21 22:11:29 +03:00
weiguozhang
65d15af3a9
pkg/tls: remove duplicate cipher suites ( #8118 )
...
Signed-off-by: Weiguo Zhang <weiguozhang1990@163.com >
2026-05-20 23:54:11 -07:00
James R T
84faec64c3
fix(azure): apply access mode to every zone in the same block ( #8110 )
2026-05-20 08:06:37 -07:00
Ville Vesilehto
f8dffa7fc2
feat(secondary): add fallthrough support ( #8041 )
2026-05-20 00:13:03 -07:00
Umut Polat
b1a7fc8db1
fix(cache): prefer positive cache over SERVFAIL in ncache ( #8003 )
...
When serve_stale is enabled, a cached SERVFAIL in ncache shadows a valid
positive entry in pcache because ncache is always checked first. SERVFAIL
is transient and should not mask a known-good answer.
When the ncache hit is a SERVFAIL, check pcache for a valid entry before
returning the SERVFAIL. NXDOMAIN and NODATA are unaffected and still
follow the existing ncache-first lookup per RFC 2308.
Fixes #7956
Signed-off-by: umut-polat <52835619+umut-polat@users.noreply.github.com >
2026-05-19 20:28:35 -07:00
Endre Szabo
35391dd8a9
plugin/file: trigger reload of zones based on mtime ( #8085 )
...
* Added fs.FileInfo.ModTime() based reload feature
Signed-off-by: Endre Szabo <git@end.re >
* Updated the plugin documentation.
Signed-off-by: Endre Szabo <git@end.re >
---------
Signed-off-by: Endre Szabo <git@end.re >
2026-05-19 19:43:46 -07:00
Endre Szabo
ee7ff82cf5
plugin/dnstap: feature: added incoming connection support ( #8086 )
...
* plugin/dnstap: added incoming connection support feature to dnstap plugin
Signed-off-by: Endre Szabo <git@end.re >
* fixed problems pointed out by ci linter
Signed-off-by: Endre Szabo <git@end.re >
---------
Signed-off-by: Endre Szabo <git@end.re >
2026-05-19 19:23:53 -07:00
Charlie Tonneslan
f4f767fb4e
plugin/file: canonicalize escape form in owner names ( #8109 )
...
The miekg/dns zone parser preserves whichever text form the input
used for an escaped byte. RFC 1035 §5.1 lets the same byte appear
as \DDD (decimal) or \c (literal character), so a zone file
written with has\046dot.campus.edu. is stored under that literal
string. Incoming queries, by contrast, arrive on the wire and are
unpacked by miekg/dns into the canonical form has\.dot.campus.edu.
The two strings don't compare equal in the tree, so the record is
silently unreachable.
Pack-then-unpack the owner name on Insert so the stored key uses
the same canonical form as anything that comes off the wire. Only
runs when the name contains a backslash, so the common case is a
no-op string compare.
Fixes #8012
Signed-off-by: Charlie Tonneslan <cst0520@gmail.com >
2026-05-19 18:08:16 -07:00
Syed Azeez
b2cb44b966
feat(cache): add optional verify timeout to serve_stale ( #8070 )
2026-05-06 00:32:28 -07:00
Peppi-Lotta
8c5ec14e31
Fix broken links ( #8051 )
...
Signed-off-by: peppi-lotta <peppi-lotta.saari@est.tech >
2026-04-16 20:31:32 +03:00
rpb-ant
50cbaf87a0
plugin/file: introduce snapshot()/setData() accessors for zone data ( #8040 )
...
Signed-off-by: Ryan Brewster <rpb@anthropic.com >
2026-04-12 20:34:36 +03:00
andreyrusanov-ec
8a28dc9c7d
fix(dnssec) TestDelegationUnSigned: Potential nil pointer dereference ( #8042 )
...
Signed-off-by: Andrey Rusanov <andrey.rusanov@edgecenter.ru >
2026-04-12 11:34:23 +03:00
JUN YANG
57a95e2677
[BUG] plugin/ready: fix Reset list of readiness plugins ( #8035 )
...
Signed-off-by: 杨军10092085 <yang.jun22@zte.com.cn >
2026-04-11 13:15:28 +03:00
rpb-ant
0ed3aae547
Fix data race in xfr.go ( #8039 )
...
Signed-off-by: Ryan Brewster <rpb@anthropic.com >
2026-04-11 11:39:31 +03:00
Yong Tang
c0e6e7cef3
core: Add full TSIG verification in DoH transport ( #8013 )
...
* core: Add full TSIG verification in DoH transport
This PR add full TSIG verification in DoH using dns.TsigVerify()
7943
---------
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2026-04-09 15:24:00 +03:00
Ville Vesilehto
4c71636a71
fix(auto): resolve symlinked directory before walk ( #8032 )
2026-04-08 14:38:01 -07:00
rpb-ant
010dc1e2b7
Allow selectively exporting all Go runtime metrics ( #7990 )
...
Signed-off-by: Ryan Brewster <rpb@anthropic.com >
2026-04-08 21:38:19 +03:00
Ville Vesilehto
5643d41ba7
fix(tls): use temp dir for keylog test path ( #8010 )
2026-04-04 11:37:51 -07:00
Umut Polat
61f4145506
fix(transfer): batch AXFR records by message size instead of count ( #8002 )
2026-04-04 11:35:27 -07:00
Umut Polat
2263340fab
fix(dnsserver): allow view server blocks in any declaration order ( #8001 )
...
When using the view plugin, filtered and unfiltered server blocks can
share the same zone and port. The zone overlap validation rejected this
configuration when the unfiltered block was not declared last, because
filtered configs treated an already-registered zone as an error.
Skip the 'already defined' check for configs that have filter functions,
since they are expected to coexist with an unfiltered catch-all block on
the same zone/port.
Fixes #7733
Signed-off-by: umut-polat <52835619+umut-polat@users.noreply.github.com >
2026-04-04 20:45:55 +03:00
Ville Vesilehto
4eb6eca9f0
fix(dnssec): return nil from ParseKeyFile on error ( #8000 )
2026-04-04 10:40:47 -07:00
Ville Vesilehto
cb40d84c85
fix(dnssec): return nil sigs on sign error ( #7999 )
2026-04-04 10:40:29 -07:00
Ville Vesilehto
510977c476
fix(dnssec): avoid caching empty signing results ( #7996 )
2026-04-01 14:20:15 -07:00
Ville Vesilehto
6d6c50db3a
fix(dnssec): add defensive nil checks ( #7997 )
2026-04-01 14:19:54 -07:00
Ville Vesilehto
503c2d7ea3
fix(kubernetes): sanitize non-UTF-8 host in metrics ( #7998 )
2026-04-01 14:19:29 -07:00
Ville Vesilehto
2ba4340362
chore: bump golangci-lint to v2.11.4 ( #7983 )
2026-03-30 14:39:09 -07:00
rpb-ant
20626a7464
Add an atomic.Bool to singleflight prefetching ( #7963 )
...
Also updated plugin to document single-flighting
Signed-off-by: Ryan Brewster <rpb@anthropic.com >
2026-03-30 23:18:24 +03:00
Ville Vesilehto
0ba8e3c850
test(dnstap): fix flaky TestReconnect ( #7982 )
2026-03-29 17:03:08 -07:00