Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
|
|
Signed-off-by: Alejandro de Brito Fontes <aledbf@gmail.com>
|
|
If using a coredns config with only the dns64 plugin specified, the
`Next` plugin that dns64 will attempt to call will be nil, resulting in
a nil pointer dereference. We should return an error instead of
crashing.
Signed-off-by: Jared Baur <jaredbaur@fastmail.com>
|
|
|
|
Add a NativeHistogramBucketFactor parameter to the use of
`NewHistogramVec` in order to enable use of Prometheus Native
Histograms.
This will store automatically computed sparse buckets in CoreDNS.
If a compatible Prometeus requests native histograms this data will
returned instead of the static buckets.
The default factor of 1.05 should provide high quality resolution data.
Signed-off-by: SuperQ <superq@gmail.com>
|
|
Signed-off-by: Vladislav Yarmak <vladislav-ex-src@vm-0.com>
|
|
Signed-off-by: Nolan Miles <nolanpmiles@gmail.com>
|
|
Signed-off-by: Masaki Nakano <admin@namachan10777.dev>
|
|
Signed-off-by: Jeffrey Damick <jdamick@amazon.com>
Co-authored-by: Jeffrey Damick <jdamick@amazon.com>
|
|
Signed-off-by: keita <keitap@gmail.com>
|
|
* fix concurrent issue with cname rewrite plugin
Signed-off-by: amila <amila.15@cse.mrt.ac.lk>
* add nil check before deref, add AAAA type test case
Signed-off-by: amila <amila.15@cse.mrt.ac.lk>
---------
Signed-off-by: amila <amila.15@cse.mrt.ac.lk>
|
|
* plugin/tls: respect the path specified by root plugin
Signed-off-by: Marius Kimmina <mar.kimmina@gmail.com>
* improve readme
Signed-off-by: Marius Kimmina <mar.kimmina@gmail.com>
---------
Signed-off-by: Marius Kimmina <mar.kimmina@gmail.com>
|
|
(#6333)
* warn when auto is unable to read elements of the directory tree
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
---------
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
|
|
|
|
twice (#6396)
|
|
* plugin/cache: key cache on Checking Disabled (CD) bit
Key the cache on CD bit, which effectively separates the entries for
queries with CD disabled or enabled.
Signed-off-by: Grant Spence <gspence@redhat.com>
|
|
When packing the empty domain name, miekg/dns can end up creating
corrupt DNS messages. With some planned unpacking changes, this now
trips an error condition and causes these tests to fail. Correct this
by using the root domain explicitly as this gets correctly encoded on
the wire.
Signed-off-by: Tom Thorogood <me+github@tomthorogood.net>
|
|
Manually update expr to resolve test failures
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
|
Signed-off-by: SriHarshaBS001 <SriHarshaBS009@gmail.com>
|
|
* plugin/forward add ignore_server_failure for masking upstream server faults
Signed-off-by: schou <pschou@users.noreply.github.com>
* Switch from a ignore_server_fail to a rewrite rcode type.
Signed-off-by: schou <pschou@users.noreply.github.com>
* trim down the tests
Signed-off-by: schou <pschou@users.noreply.github.com>
* fixing readme TTL and using map for rcode
Signed-off-by: schou <pschou@users.noreply.github.com>
* add newline
Signed-off-by: schou <pschou@users.noreply.github.com>
---------
Signed-off-by: schou <pschou@users.noreply.github.com>
|
|
(#6014)" (#6270)
This reverts commit 604a902e2c7e0317aecaa3666124079c75a31573.
|
|
* dnstap: add 'extra' field
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* dnstap: add setup_test for 'extra' field
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* udnstap: update document and test
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* dnstap: update setup_test for more coverage
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* dnstap: add TapMessageWithMetadata function to Dnstap
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* dnstap: adapt dnstap and forward plugins to use TapMessageWithMetadata
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* change TapMessageWithMetadata function
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* tab inconsistency fix
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* fix replacer to support empty state
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* add replacer test for empty status parameter
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* dnstap: update unit test for 'extra' field
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* clean up code
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* gofmt fix & static analysis fix
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
* dnstap: refactor
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
---------
Signed-off-by: chenyuheng <chenyuheng99@qq.com>
|
|
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
|
|
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
|
|
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
|
|
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>
|
|
Signed-off-by: Diogenes Pelisson <diogenes.pelisson@gmail.com>
|
|
* Change default value to 1232
As specified by DNS flag day 2020, good and decent default value
avoiding fragmentation issues should be 1232. It is quite likely 1500
would work reliably on local ethernet networks.
Value 512 is set implicitly and must be used for all clients, which did
not include OPT RR with explicit value they support.
Since MR #5368 it should work correctly.
Signed-off-by: Petr Menšík <pemensik@redhat.com>
* Adapt bufsize test to new default value
Check also buffer size smaller than legacy value is not accepted.
Signed-off-by: Petr Menšík <pemensik@redhat.com>
* Update bufsize documentation
Mention also increasing request size is not possible, it can only reduce
the accepted size.
Signed-off-by: Petr Menšík <pemensik@redhat.com>
---------
Signed-off-by: Petr Menšík <pemensik@redhat.com>
|
|
|
|
Signed-off-by: rokkiter <101091030+rokkiter@users.noreply.github.com>
|
|
subdomain wildcard (#6162)
remove double subdomain reference from review feedback
not subdoman
Signed-off-by: emaildanwilson <dan@controlplane.com>
Co-authored-by: emaildanwilson <dan@controlplane.com>
|
|
|
|
* remove endpoint and endpointslicev1beta watch support
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* adjust readme
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* informer object changes
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* remove unused funcs
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
---------
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
|
|
Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
|
|
disabled (#6137)
* always create listers, so we dont panic
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
---------
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
|
|
This reverts commit d0375bc0269eccb1966ccf38a9b43263d551dee4.
|
|
Signed-off-by: Marius Kimmina <mar.kimmina@gmail.com>
|
|
Signed-off-by: yyzxw <1020938856@qq.com>
Signed-off-by: xiaowu.zhu <xiaowu.zhu@daocloud.io>
|
|
Signed-off-by: Justin <cattyhouse@users.noreply.github.com>
|
|
|
|
Signed-off-by: Philippe Antoine <contact@catenacyber.fr>
|
|
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
|
|
Avoid Go 1.20 test error by not attempting to close the testing temp
file unless there was an error in Read().
* Use a CreateTemp() to create unique test files.
* Defer the deletion of the temp file.
Woarkaround for: https://github.com/golang/go/issues/59938
Signed-off-by: SuperQ <superq@gmail.com>
|
|
* forward: continue waiting after malformed responses
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* add test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* fix test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* clean up
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* clean up
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* move test to /test/. Add build tag.
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* install libpcap-dev for e2e tests
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* sudo the test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* remove stray err check
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* disable the test
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* use -exec flag to run test binary as root
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* run new test by itself in a new workflow
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* fix test name
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* only for udp
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* remove libpcap test workflow action
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* remove test, since it cant run in ci
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* and remove gopacket package
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
---------
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
|
|
|
|
Signed-off-by: cui fliter <imcusg@gmail.com>
|
|
|
|
* When returning NS for delegation point, we sign any DS Record or if not
found we generate a NSEC proving absence of DS. This follow behaviour
describe in rfc4035 (Section 3.1.4)
* DS request at apex behave as before.
* Fix edge case of requesting NSEC which prove that NSEC does not exist.
Signed-off-by: Jeremiejig <me@jeremiejig.fr>
|
|
|
|
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
|