Commit Graph

28 Commits (1dffefff36a32f697aee1774e7804b43e9e88d8f)

Author SHA1 Message Date
hc-github-team-consul-core 43b5ed1283
Backport of DNS v2 - split up router into multiple responsibilities & break up router tests into multiple files. into release/1.18.x (#20780)
* backport of commit 008451aa1e

* backport of commit abdf8c8205

* backport of commit a0176356f7

* DNS v2 - split up router into multiple responsibilities & break up router tests into multiple files. (#20688)

* Update agent/dns.go

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>

* PR feedback

* split tests out into multiple files.

* Extract responsibilities from router into discoveryResultsFetcher, messageSerializer, responseGenerator.

* adding recordmaker tests

* add response generator test coverage.

* changing tests case name based on PR feedback

---------

Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>

---------

Co-authored-by: John Murret <john.murret@hashicorp.com>
Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
2024-03-01 17:09:38 +00:00
hc-github-team-consul-core c318c0ccb6
Backport of NET-8056 - v2 DNS Testing Improvements into release/1.18.x (#20778)
* backport of commit 69342339ad

* backport of commit 881a49dcd7

* backport of commit a2ed143e62

---------

Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-03-01 13:05:09 +00:00
Dan Stough e8d5ccdda3
[CE] fix(v2dns): allow secondary datacenters (#20657)
fix(v2dns): allow secondary datacenters
2024-02-15 17:42:29 -05:00
hc-github-team-consul-core 00a3f24fb4
Backport of fix(v2dns): add node ttl to workloads, comment cleanup, and changelog into release/1.18.x (#20650)
* backport of commit 5ffa4046f6

* backport of commit 17de0e4b57

---------

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2024-02-14 22:20:17 -05:00
hc-github-team-consul-core c475b8c6c6
Backport of [CE] Misc cleanup for V2 DNS into release/1.18.x (#20641)
* backport of commit 6661620907

* backport of commit 0cc49cbd12

* backport of commit 08c48a7381

* backport of commit 323858b3ca

* backport of commit 5a441e2d01

---------

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2024-02-14 13:40:47 -05:00
hc-github-team-consul-core 013d51f782
Backport of [CE] feat(v2dns): add v2 style query metrics into release/1.18.x (#20617)
backport of commit 95a869a380

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2024-02-13 12:55:13 -05:00
hc-github-team-consul-core 5b8e38cd88
Backport of NET-7644/NET-7634 - Implement query lookup for tagged addresses on nodes and services including WAN translation. into release/1.18.x (#20592)
NET-7644 - Implement tagged addresses and wan translation

Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-02-12 14:56:14 -05:00
hc-github-team-consul-core 8728d17d6e
Backport of feat(v2dns): catalog v2 service query support into release/1.18.x (#20578)
backport of commit b0effe2e79

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2024-02-09 21:52:09 -05:00
hc-github-team-consul-core 4576777832
Backport of feat(v2dns): prepared query ttls into release/1.18.x (#20565)
backport of commit eabd7bff65

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2024-02-09 12:40:24 -05:00
hc-github-team-consul-core 981288e408
Backport of NET-7637 / NET-7659/NET-7636/NET-7647/NET-7648/NET-7646/NET-7649/NET-7645 - Multiple DNS v2 fixes into release/1.18.x (#20561)
* no-op commit due to failed cherry-picking

* Do not parallelize DNS tests because they consume too many ports (#20482)

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-02-09 04:56:59 +00:00
hc-github-team-consul-core e309d51a5b
Backport of DNS v2 Multiple fixes. into release/1.18.x (#20530)
* no-op commit due to failed cherry-picking

* DNS v2 Multiple fixes. (#20525)

* DNS v2 Multiple fixes.

* add license header

* get rid of DefaultIntentionPolicy change that was not supposed to be there.

---------

Co-authored-by: temp <temp@hashicorp.com>
Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-02-08 05:20:09 +00:00
hc-github-team-consul-core d9bedd02dc
Backport of NET-7631 - Fix Node records that point to external/ non-IP addresses into release/1.18.x (#20502)
NET-7631 - Fix Node records that point to external/ non-IP addresses (#20491)

* NET-7630 - Fix TXT record creation on node queries

* NET-7631 - Fix Node records that point to external/ non-IP addresses

* NET-7630 - Fix TXT record creation on node queries

Co-authored-by: John Murret <john.murret@hashicorp.com>
2024-02-06 18:31:25 +00:00
hc-github-team-consul-core 44d1d51f70
Backport of feat(v2dns): catalog v2 workload query support into release/1.18.x (#20469)
backport of commit dfe82b9e5a

Co-authored-by: DanStough <dan.stough@hashicorp.com>
2024-02-04 17:14:10 -05:00
John Murret c82b78b088
NET-7165 - fix address and target setting (#20403) 2024-01-30 15:34:35 -07:00
John Murret 7c6a3c83f2
NET-7165 - v2 - add service questions (#20390)
* NET-7165 - v2 - add service  questions

* removing extraneous copied over code from autogen PR script.

* fixing license checking
2024-01-29 22:33:45 +00:00
Dan Stough 0ca7313b07
feat(v2dns): add PTR query support (#20362) 2024-01-29 11:40:10 -05:00
Dan Stough 6828780131
feat(v2dns): add partial support for SOA records (#20320) 2024-01-24 15:32:42 -05:00
Dan Stough 97ae244d8a
feat(v2dns): add grpc DNS support (#20296) 2024-01-22 10:10:03 -05:00
Dan Stough 0edfa74d15
feat(v2dns): recursor support (#20249)
* feat(v2dns): recursor support

* test: fix leaking test agent in dns svc test
2024-01-18 18:30:04 -05:00
John Murret 938d2315e0
DNS v2 - add virtual ip questions (#20245) 2024-01-17 23:46:18 +00:00
Dan Stough cb384ac068
feat(v2dns): addr. query support (#20224) 2024-01-16 22:36:02 -05:00
Dan Stough d52e80b619
[OSS] feat: add experiments flag for v2 dns and skeleton interfaces (#20115)
feat: add experiments flag for v2 dns and skeleton interfaces
2024-01-10 11:19:20 -05:00
hashicorp-copywrite[bot] 5fb9df1640
[COMPLIANCE] License changes (#18443)
* Adding explicit MPL license for sub-package

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Adding explicit MPL license for sub-package

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Updating the license from MPL to Business Source License

Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at <Blog URL>, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.

* add missing license headers

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

* Update copyright file headers to BUSL-1.1

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-08-11 09:12:13 -04:00
Ronald 94ec4eb2f4
copyright headers for agent folder (#16704)
* copyright headers for agent folder

* Ignore test data files

* fix proto files and remove headers in agent/uiserver folder

* ignore deep-copy files
2023-03-28 14:39:22 -04:00
R.B. Boyer 1e31dc891a
test: fix incorrect use of t instead of r in retry test (#13146) 2022-05-19 14:00:07 -05:00
Evan Culver e3e481022e
lib: add validation package + DNS label validation (#12535)
Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
2022-03-17 18:31:28 -07:00
Blake Covarrubias a0cd3dd88e
Add DNS recursor strategy option (#10611)
This change adds a new `dns_config.recursor_strategy` option which
controls how Consul queries DNS resolvers listed in the `recursors`
config option. The supported options are `sequential` (default), and
`random`.

Closes #8807

Co-authored-by: Blake Covarrubias <blake@covarrubi.as>
Co-authored-by: Priyanka Sengupta <psengupta@flatiron.com>
2021-07-19 15:22:51 -07:00
Daniel Nephin 27b36bfc4e config: move NodeName validation to config validation
Previsouly it was done in Agent.Start, which is much later then it needs to be.

The new 'dns' package was required, because otherwise there would be an
import cycle. In the future we should move more of the dns server into
the dns package.
2020-08-17 17:25:02 -04:00