Commit Graph

89 Commits (dabb08de5156fec9932eefdd0a19fca53766bec9)

Author SHA1 Message Date
James Phillips c06a107638
Removes unnecessary clause in unit test check.
8 years ago
James Phillips 7b98ae921e Adds support for DNS recurse truncation. (#2467)
8 years ago
Kyle Havlovitz 63534aca7e Added tests for lookups on the 'addr.consul' domain
8 years ago
Kyle Havlovitz 84c87325ae Add a service address SRV lookup test for IPv6
8 years ago
Kyle Havlovitz f7ef84812d Fix test cases
8 years ago
Kyle Havlovitz 554440ab1d Resolve Consul CNAME records on external services (#2444)
8 years ago
James Phillips da34496645
Fixes a typo in a test error message.
8 years ago
Pivotal DX129 fe61650ef0 Merge remote-tracking branch 'upstream/master'
8 years ago
James Phillips ed7356dd5c
Changes default DNS allow_stale to true.
8 years ago
Pierre Delagrave db8ff0a582 Made the dns recursor timeout test more reliable
8 years ago
Pierre Delagrave d9bd41fc4d Renamed dns config parameter internal_client_timeout for recursor_timeout
8 years ago
Pierre Delagrave c8c4b9d344 Added a configurable timeout to the client making DNS queries to downstream name servers
8 years ago
James Phillips defa2a6180 Merge pull request #2226 from abhinavdahiya/rm-health-unknown
8 years ago
James Phillips a53c6a38e2
Tweaks DNS prepared query failover unit test.
8 years ago
Max Timchenko 3b08db47dc
Corrects two issues with DNS prepared query failover
8 years ago
James Phillips 17c10d78bc
Passes the index by reference so we can control the allocation.
8 years ago
James Phillips f7fcb03004
Makes name compares case-insensitive.
8 years ago
James Phillips 34d6c2d5e1
Fixes the DNS SRV trim bug.
8 years ago
James Phillips bcb0f71759
Finishes up DNS compression by adding opt-out, tests, and documentation. Fixes trim routine.
8 years ago
Abhinav Dahiya 7c6c3b38bc Fixes #1775; Removes 'unknown' state
8 years ago
Ryan Uber 00819e89de agent: test that DNS passes the agent data through
9 years ago
Sean Chittenden 53380f8e92 Change tests to accept an "at least this many" answers semantic
9 years ago
Sean Chittenden 7a7063c072 Fix tests
9 years ago
Sean Chittenden 5ba7e74bb8 Use table-driven test for response limits
9 years ago
Sean Chittenden 0cb965f901 Remove duplicate paste-o
9 years ago
Sean Chittenden ce88cde7b0 Test services and PQT limits
9 years ago
Sean Chittenden e1e441fdee Improve the use of constants across DNS tests
9 years ago
Sean Chittenden 9fb64ab114 Allow adjusting the number of DNS records in a response...
9 years ago
James Phillips 5c80647e34 Tweaks algorithm so it's safe with an empty list and adds a PQ test.
9 years ago
Igor Dubinskiy 3a25860270 Make sure UDP DNS responses aren't larger than allowed
9 years ago
James Phillips 607728ddca Adds a test to make sure we get the local address within the DC.
9 years ago
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members.
9 years ago
Evan Gilman de8fd561d0 Use a map for additional node addresses
9 years ago
Evan Gilman 2f26771bb1 Add tests for consul WAN translation
9 years ago
James Phillips cd6be4a88d Avoids taking the length again when parsing DNS queries.
9 years ago
James Phillips 4715c04c98 Adds a test to make sure a stale retry terminates.
9 years ago
James Phillips e9480ecb02 Plumbs the service name back and uses agent-specific TTL settings as a fallback.
9 years ago
James Phillips 81b43135f9 Adds unit tests for prepared queries and DNS, using existing tests for equivalence.
9 years ago
James Phillips 98731f7272 Fixes unit test fail due to expected truncated message.
9 years ago
Wim 0bc4d9322e Allow AAAA queries for nodeLookup
9 years ago
Wim 2701bb5cc2 No NXDOMAIN when the answer is empty
9 years ago
Wim 4a1dc90cba Limit the DNS responses after getting the NodeRecords
9 years ago
Wim 369982270d Return SOA/not found when the answer is empty
9 years ago
Ryan Breen 0a7dc85076 Test for GH-1142.
9 years ago
Ryan Uber 1bbdf3b03b agent: vet fixes
10 years ago
Wim 3b1bcaea98 Send SOA with negative responses
10 years ago
Ryan Uber f7f7c4695e agent: testing dns when acls are in use
10 years ago
Armon Dadgar 27a820d611 agent: Adding test for DNS enable_truncate
10 years ago
Ryan Uber c9fd3eb469 agent: re-work DNS tests to not rely on the external network
10 years ago
Ryan Uber 6f0b1a3b46 agent: Add test for CNAME recursion
10 years ago