Commit Graph

103 Commits

Author SHA1 Message Date
Ben Kochie
83afff1fec view: Add IPv6 example match (#7355)
Add an IPv6 source address matching example to the view plugin.

Fixes: https://github.com/coredns/coredns/issues/7354

Signed-off-by: SuperQ <superq@gmail.com>
2025-06-05 18:20:24 +02:00
vdbe
b3acbe5046 feat(plugin/file): fallthrough (#7327)
* feat(plugin/file): fallthrough

implement and test fallthrough for the file plugin

Signed-off-by: vdbe <vdbewout@gmail.com>

* docs(plugin/file): fallthrough

Signed-off-by: vdbe <vdbewout@gmail.com>

* docs(plugin/file): regenerate man page

`make -f Makefile.doc man/coredns-file.7`

Signed-off-by: vdbe <vdbewout@gmail.com>

---------

Signed-off-by: vdbe <vdbewout@gmail.com>
2025-05-28 17:34:16 -07:00
Ville Vesilehto
32ea433a29 fix(metrics): preserve request size from plugins (#7313)
The rewrite plugin modifies DNS messages, affecting the request
size observed in the coredns_dns_request_size_bytes metric.

This change captures the original request size before any plugins
can modify it. It adds a functional options pattern to Report() to
pass this information while maintaining API compatibility.

Tests have been added to verify the fix prevents rewrite from
affecting the request size metrics.

Docs included.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-05-22 06:38:22 -07:00
Ville Vesilehto
efaed02c6a feat: limit concurrent DoQ streams and goroutines (#7296) 2025-05-18 17:49:21 -07:00
Ville Vesilehto
7391755f7c docs: add man page for multisocket plugin (#7297)
Missed from #6882

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-05-17 20:25:15 -07:00
TAKAHASHI Shuuji
5100feebd3 Fix "GitHub" capitalization (#6806)
Signed-off-by: TAKAHASHI Shuuji <shuuji3@gmail.com>
2024-10-01 12:15:42 -04:00
Kevin Lyda
c742ec03f5 Upgrade antonmedv/expr to expr-lang/expr (#6814)
* Upgrade antonmedv/expr to expr-lang/expr

The project has moved.  This also upgrades from 1.15.5 to 1.16.9.
The expr project lacks a changelog but tests pass and the changes don't
seem to change it much - but there were a lot of changes.

Signed-off-by: Kevin Lyda <kevin@lyda.ie>

* Upgrade build image

In reviewing the build results I see the old build image was deprecated so
upgrading to something newer.

Signed-off-by: Kevin Lyda <kevin@lyda.ie>

---------

Signed-off-by: Kevin Lyda <kevin@lyda.ie>
2024-08-11 08:00:49 -04:00
João Henri
cc7a364633 [RFC-9250]: Add QUIC server support (#6182)
Add DNS-over-QUIC server 

Signed-off-by: jaehnri <joao.henri.cr@gmail.com>
Signed-off-by: João Henri <joao.henri.cr@gmail.com>
2023-07-31 15:34:31 -04:00
coredns[bot]
9b7c046fc3 auto make -f Makefile.doc
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2022-09-11 10:31:46 +00:00
coredns[bot]
ed6eb57126 auto make -f Makefile.doc
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2022-07-03 10:30:40 +00:00
coredns[bot]
3f881c7202 auto remove trailing whitespaces
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2021-07-20 10:28:21 +00:00
coredns[bot]
81722196b3 auto make -f Makefile.doc
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
2021-07-18 10:30:13 +00:00
Miek Gieben
bcbe624eb4 Add -p for port flag (#4653)
-p is the default flag in DNS software for setting the port, we use
'dns.port' because of preventing clashes with other caddy software
users. This is no longer an issue, so we can do what we want here.

Add -p to works like -dns.port.

(this PR includes generated manpage, but that shouldn't matter too much)

Signed-off-by: Miek Gieben <miek@miek.nl>
2021-05-28 07:08:13 -07:00
coredns-auto-go-mod-tidy[bot]
3933b46fb9 auto make -f Makefile.doc
Signed-off-by: coredns-auto-go-mod-tidy[bot] <coredns-auto-go-mod-tidy[bot]@users.noreply.github.com>
2021-03-18 06:39:10 +00:00
coredns-auto-go-mod-tidy[bot]
5a40a2cd63 auto make -f Makefile.doc 2021-03-16 12:51:42 +00:00
coredns-auto-go-mod-tidy[bot]
e4c9daf3aa auto make -f Makefile.doc 2021-03-15 14:42:45 +00:00
coredns-auto-go-mod-tidy[bot]
94e027cd6f auto make -f Makefile.doc 2021-03-08 11:15:45 +00:00
coredns-auto-go-mod-tidy[bot]
d29fd8c550 auto make -f Makefile.doc 2021-02-09 13:36:55 +00:00
coredns-auto-go-mod-tidy[bot]
fc5c172109 auto make -f Makefile.doc 2021-01-28 15:37:39 +00:00
coredns-auto-go-mod-tidy[bot]
8b2032bbb6 auto make -f Makefile.doc 2021-01-15 16:27:27 +00:00
coredns-auto-go-mod-tidy[bot]
79cd81473b auto make -f Makefile.doc 2021-01-10 10:06:46 +00:00
coredns-auto-go-mod-tidy[bot]
6af47bac39 auto make -f Makefile.doc 2020-12-15 13:02:37 +00:00
coredns-auto-go-mod-tidy[bot]
9d085f7e67 auto make -f Makefile.doc 2020-11-05 14:02:29 +00:00
Miek Gieben
7bbcf6920f add local plugin (#4262)
* add local plugin

See: #4260

Signed-off-by: Miek Gieben <miek@miek.nl>

* stickler bot

Signed-off-by: Miek Gieben <miek@miek.nl>

* See Also

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-11-05 15:02:07 +01:00
coredns-auto-go-mod-tidy[bot]
b091eff139 auto make -f Makefile.doc 2020-11-05 13:37:38 +00:00
coredns-auto-go-mod-tidy[bot]
1f07f7dddd auto make -f Makefile.doc 2020-10-16 12:29:11 +00:00
coredns-auto-go-mod-tidy[bot]
5f5cc3188f auto make -f Makefile.doc 2020-10-12 17:10:58 +00:00
coredns-auto-go-mod-tidy[bot]
8c6ca43571 auto make -f Makefile.doc 2020-09-24 18:30:59 +00:00
coredns-auto-go-mod-tidy[bot]
fd49c80514 auto make -f Makefile.doc 2020-09-14 09:43:13 +00:00
coredns-auto-go-mod-tidy[bot]
aced73f8cb auto make -f Makefile.doc 2020-08-24 07:12:24 +00:00
coredns-auto-go-mod-tidy[bot]
43ea8f7a1f auto make -f Makefile.doc 2020-08-10 13:20:19 +00:00
coredns-auto-go-mod-tidy[bot]
964b621d32 auto make -f Makefile.doc 2020-08-10 08:38:37 +00:00
coredns-auto-go-mod-tidy[bot]
5b09d62f86 auto make -f Makefile.doc 2020-07-23 07:40:36 +00:00
coredns-auto-go-mod-tidy[bot]
f4a1a0fe8a auto make -f Makefile.doc 2020-06-24 04:54:32 +00:00
Zou Nengren
73e927d6a8 completed metrics of cache and forward (#3962)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-06-24 06:54:03 +02:00
Ben Kochie
7504b410f3 Update dns64 plugin bugs list (#3955)
Remove the "Follow CNAMEs" bug, CNAME following is handled by the
forward plugin.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-06-20 07:01:35 -07:00
Yong Tang
9545346174 Regenerate man page (#3946)
Regenerate man page `make -f Makefile.doc`, in praparation for 1.7.0
release.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2020-06-13 07:41:05 -07:00
coredns-auto-go-mod-tidy[bot]
aa75e0c295 auto make -f Makefile.doc 2020-04-23 08:22:49 +00:00
Zou Nengren
4ccd55e95e correct metrics name of cache size (#3805)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-04-03 09:30:06 -07:00
coredns-auto-go-mod-tidy[bot]
0a4047d88e auto make -f Makefile.doc 2020-03-31 18:03:49 +00:00
coredns-auto-go-mod-tidy[bot]
db1d4f91da auto make -f Makefile.doc 2020-03-31 14:18:39 +00:00
Zou Nengren
87214a4c5c introduce metric naming test (#3789)
* introduce metric naming test

Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>

* Update metrics.go

Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-31 08:07:36 +02:00
Zou Nengren
8bbfa19223 remove federation (#3794)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-30 09:08:20 -07:00
Ben Kochie
14ca454981 Documentation improvements for dns64 plugin (#3777)
Minor typo and improvements to the dns64 plugin README.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-03-26 09:22:29 +01:00
Ben Kochie
4eeaef29ea Add dns64 plugin (#3534)
* Add dns64 plugin

Add external plugin to core in-tree.
* Pull code from upstream: https://github.com/serverwentdown/dns64
* Update docs.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Make dns64 consistent.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Cleanup README

Signed-off-by: Ben Kochie <superq@gmail.com>

* Cleanup minor issues.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Remove proxy method.

Signed-off-by: Ben Kochie <superq@gmail.com>

* dns64: big cleanup

* Make the code a bit more idiomatic
* Add tests
* use proper Upstream API

Signed-off-by: Casey Callendrello <c1@caseyc.net>
Signed-off-by: Ben Kochie <superq@gmail.com>

* A little more clenaup

* Fix some docs.
* Use the correct plugin register method.
* Cleanup some review items.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Add metrics counter for DNS64 translations

Add a basic counter of how many DNS64 translations have been completed.

Signed-off-by: Ben Kochie <superq@gmail.com>

* Add DNSSEC bug link

Signed-off-by: Ben Kochie <superq@gmail.com>

* Test cleanup

Signed-off-by: Ben Kochie <superq@gmail.com>

* dns64: more test cleanup

Signed-off-by: Casey Callendrello <c1@caseyc.net>

Co-authored-by: Casey Callendrello <c1@caseyc.net>
2020-03-26 08:42:23 +01:00
Miek Gieben
e2515fe0e3 doc: regen man-pages (#3725)
Mechanical change: make -f Makefile.doc

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-03-06 12:11:45 +01:00
Miek Gieben
da7f65b3a8 make -f Makefile.doc (#3633)
Preparing a release; don't want to end up with a dirty repo again.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-28 19:11:57 +00:00
Miek Gieben
672ce6d04e Fix acl page (#3626)
* Fix acl page

It must have a Name section.

Fixes: https://github.com/coredns/coredns.io/issues/177

Signed-off-by: Miek Gieben <miek@miek.nl>

* generate

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-27 16:47:42 +01:00
Miek Gieben
ff981b1d69 Prepare release: (#3614)
* run Makefile.doc to update to the latest
* add prs and authors to Makefile.release to aid in creating release
  notes. And update the comments in the makefile.
* add 1.6.7 release notes.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-23 07:06:52 -08:00
Miek Gieben
dcff271480 doc: run make -f Makefile.doc (#3595)
Update the docs (mechanical change).

Also run: go generate (no changes, good!)

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-01-13 06:31:42 -08:00