Commit Graph

148 Commits (019aeaa57de97100d57f8ab9c771365b1cfcf7b8)

Author SHA1 Message Date
Mark Anderson 98a2e282be Fixup acl.EnterpriseMeta
3 years ago
Kyle Havlovitz 0546bbe08a dns: add endpoint for querying service virtual IPs
3 years ago
Jared Kirschner 0854e1d684
Merge pull request #11348 from kbabuadze/fix-answers-alt-domain
3 years ago
R.B. Boyer ef559dfdd4
agent: refactor the agent delegate interface to be partition friendly (#11429)
3 years ago
Konstantine 55599d0b41 remove spaces
3 years ago
Konstantine ce85d2eada fix altDomain responses for services where address is IP, added tests
3 years ago
Konstantine a7e8c51f80 fix encodeIPAsFqdn to return alt-domain when requested, added test case
3 years ago
Konstantine ffb00f01b5 fixed altDomain response for NS type queries, and added test
3 years ago
Konstantine 0864bfdb71 fixed alt-domain answer for SRV records, and TXT records in additional section
3 years ago
Joshua Montgomery 8eb5915f7d
Fixing SOA record to use alt domain when alt domain in use (#10431)
3 years ago
Daniel Nephin eb632c53a2 structs: rename the last helper method.
3 years ago
R.B. Boyer 097e1645e3
agent: ensure that most agent behavior correctly respects partition configuration (#10880)
3 years ago
R.B. Boyer 188e8dc51f
agent/structs: add a bunch more EnterpriseMeta helper functions to help with partitioning (#10669)
3 years ago
Blake Covarrubias a0cd3dd88e
Add DNS recursor strategy option (#10611)
3 years ago
Daniel Nephin 4bf58d8e6a dns: improve naming of error to match DNS terminology
3 years ago
Dhia Ayachi f0cd1441a9 fix truncate when NS is set
3 years ago
Daniel Nephin 204bf2b345 dns: correct rcode for qtype not supported
3 years ago
Daniel Nephin d116bda958 dns: remove network parameter from two funcs
3 years ago
Daniel Nephin 42f7963252 dns: trim response immediately before the write
3 years ago
Daniel Nephin 436a02af31 dns: handle errors from dispatch
3 years ago
Daniel Nephin 9267b09c32 dns: error response from dispatch
3 years ago
Daniel Nephin 68d6f1315f dns: refactor dispatch to use an explicit return in each case
3 years ago
Daniel Nephin b96c8195a5 dns: small refactor to setEDNS to return early
3 years ago
Daniel Nephin 4beff900d1 dns: remove unused method
3 years ago
Daniel Nephin f31aa12cf1 dns: remove unnecessary function wrapping
3 years ago
Dhia Ayachi a64c9a3e62
return an empty record when asked for an addr dns with type other then A, AAAA and ANY (#10401)
3 years ago
Dhia Ayachi f2eed912b2
upgrade golangci-lint to v1.40.1 (#10276)
4 years ago
Pierre Souchay 5bee19ee16 Do not filter tags unless req.TagFilter is set
4 years ago
Kit Patella 15af5ead0b trim help strings to save a few bytes
4 years ago
Kit Patella 5da2f1efa8 finish adding static server metrics
4 years ago
Kit Patella 24a2471029 first pass on agent-configured prometheusDefs and adding defs for every consul metric
4 years ago
Daniel Nephin 9b1944dae0 dns: remove goto INVALID and a naked return
4 years ago
Daniel Nephin 529f252d5c rpcclient: Add health.Client and use it in http and dns
4 years ago
Daniel Nephin 27b36bfc4e config: move NodeName validation to config validation
4 years ago
Yury Evtikhov 10361dd210 DNS: add IsErrQueryNotFound function for easier error evaluation
4 years ago
Yury Evtikhov 8d18422f19 DNS: fix agent returning SERVFAIL where NXDOMAIN should be returned
4 years ago
Daniel Nephin a891ee8428
Merge pull request #8176 from hashicorp/dnephin/add-linter-unparam-1
5 years ago
Chris Piraino b3db907bdf Update gateway-services-nodes API endpoint to allow multiple addresses
5 years ago
Daniel Nephin f65e21e6dc Remove unused return values
5 years ago
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues
5 years ago
Pierre Souchay 35d852fd9a
Returns DNS Error NSDOMAIN when DC does not exists (#8103)
5 years ago
Matt Keeler 8837907de4
Make the Agent Cache more Context aware (#8092)
5 years ago
Kyle Havlovitz e9e8c0e730
Ingress Gateways for TCP services (#7509)
5 years ago
Pierre Souchay c9e01ed0a3 Pre-allocations of DNS meta to avoid several allocations
5 years ago
Daniel Nephin 326453eaa1 dns: Remove a few unused params
5 years ago
Matt Keeler 861f754dad
Properly detect no alt domain set (#7323)
5 years ago
Wim 3a2c865ff6
Fix high cpu usage with IPv6 recursor address. Closes #6120 (#6128)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Aestek ba8fd8296f Add support for dual stack IPv4/IPv6 network (#6640)
5 years ago
Wim 4f5d5020b8 dns: fix memoryleak by upgrading outdated miekg/dns (#6748)
5 years ago