Commit Graph

102 Commits

Author SHA1 Message Date
James Phillips 81b43135f9 Adds unit tests for prepared queries and DNS, using existing tests for equivalence. 2015-11-15 17:06:00 -08:00
James Phillips 98731f7272 Fixes unit test fail due to expected truncated message. 2015-11-12 18:16:44 -08:00
Wim 0bc4d9322e Allow AAAA queries for nodeLookup 2015-09-08 16:54:36 +02:00
Wim 2701bb5cc2 No NXDOMAIN when the answer is empty 2015-09-02 16:12:22 +02:00
Wim 4a1dc90cba Limit the DNS responses after getting the NodeRecords 2015-09-01 23:23:05 +02:00
Wim 369982270d Return SOA/not found when the answer is empty 2015-09-01 22:28:12 +02:00
Ryan Breen 0a7dc85076 Test for GH-1142. 2015-07-29 18:21:16 -04:00
Ryan Uber 1bbdf3b03b agent: vet fixes 2015-07-14 11:42:51 -07:00
Wim 3b1bcaea98 Send SOA with negative responses 2015-06-14 00:03:44 +02:00
Ryan Uber f7f7c4695e agent: testing dns when acls are in use 2015-06-12 16:01:57 -07:00
Armon Dadgar 27a820d611 agent: Adding test for DNS enable_truncate 2015-05-05 14:14:41 -07:00
Ryan Uber c9fd3eb469 agent: re-work DNS tests to not rely on the external network 2015-04-14 12:52:26 -07:00
Ryan Uber 6f0b1a3b46 agent: Add test for CNAME recursion 2015-04-14 12:52:26 -07:00
Ryan Uber deec3bef9e agent: fix dns test 2015-04-01 10:58:05 -07:00
Matt Good 062e4f94c0 Remove unnecessary DNS test entry
By using the startup callbacks, the DNS test entry is not needed to check that
the server is alive.
2015-03-31 16:50:44 -07:00
Ryan Uber 67190e6f68 agent: more lenient dns response test 2015-01-22 15:31:12 -08:00
Armon Dadgar aedaf7a7c8 Merge pull request #595 from ebroder/dns-only-passing
Add "only_passing" option to DNS config
2015-01-13 12:07:22 -08:00
Evan Broder a0228a64e2 Add more thorough testing for only_passing behavior 2015-01-13 14:59:24 +01:00
Ryan Uber b2fbaea18c agent: make dns randomization test more reliable 2015-01-12 16:05:41 -08:00
Armon Dadgar 77a3bfd606 agent: Adding test for DNS lookup with service address 2015-01-08 11:58:32 -08:00
Armon Dadgar f2e1065246 agent: Testing reverse lookup with custom TLD 2015-01-08 10:24:49 -08:00
lalyos 8f04401648 agent: implementing reverse dns lookup for ipv4 and ipv6 2014-11-23 09:16:37 +01:00
foostan 35b006d884 Add multiple recursor definition support 2014-11-01 04:26:26 +09:00
Armon Dadgar e86c5b2627 agent: Address overrides. Fixes #301 and #253 2014-09-02 12:47:40 -07:00
Gavin M. Roy 6000f6977d Add RFC-2782 style SRV lookups 2014-08-18 15:45:56 -04:00
William Tisäter 0d71b97f8e Remove DC case-insensitive check from node test 2014-07-23 23:42:22 +02:00
William Tisäter e0ba9a48a7 Test DNS case-insensitivity 2014-07-23 23:42:22 +02:00
Armon Dadgar 6eb3e8ee30 agent: Fixing issue with excessive failed node filtering 2014-07-16 15:11:45 -07:00
Armon Dadgar e6a8cfbfc1 agent: Testing DNS TTLs 2014-06-08 16:14:21 -07:00
Armon Dadgar 3b3d235880 agent: Support stale queries with retries 2014-06-08 16:02:17 -07:00
Armon Dadgar 14be60aaca gofmt 2014-05-20 16:25:29 -07:00
William Tisäter 78145ecfd5 Require datacenter argument for `WaitForLeader` 2014-05-09 01:17:35 +02:00
William Tisäter 93c7103bb5 Move `WaitForLeader` calls to top of test 2014-05-07 23:47:16 +02:00
William Tisäter c8168bd8fe Drop client arguments from `WaitForLeader` 2014-05-07 23:41:14 +02:00
William Tisäter f1b9dbe5c3 Add `testutils.WaitForLeader` and truly wait 2014-05-07 11:43:42 +02:00
Armon Dadgar c1bd7169f5 agent: Improve DNS parser. Fixes #39. 2014-04-21 15:33:01 -07:00
Armon Dadgar 8dd1e51bae agent: Simplifying configs 2014-04-11 15:46:55 -07:00
Armon Dadgar 8db2e3bd58 agent: Support multiple tags per service registration 2014-04-03 12:12:23 -07:00
Armon Dadgar 78e28a84a1 agent: Fixing DNS CNAME recursion 2014-02-25 17:41:48 -08:00
Armon Dadgar 598cd013b9 agent: Support CNAME recursion if we have a recursor 2014-02-25 12:46:11 -08:00
Armon Dadgar 222e689ac6 agent: DNS layer properly handles AAAA and CNAME records 2014-02-25 12:07:20 -08:00
Armon Dadgar 76ec9d22b1 agent: Fixing bug in dns service filtering 2014-02-23 18:04:12 -08:00
Armon Dadgar 49ba21a820 consul: Default recursor port 53. Fixes #4 2014-02-22 17:31:30 -08:00
Armon Dadgar d35de5bc11 agent: Shuffle DNS responses, limit records 2014-02-14 12:26:51 -08:00
Armon Dadgar 54359b9ad6 DNS filters service nodes if they have failing checks 2014-01-15 11:30:04 -10:00
Armon Dadgar 799cba67a5 Updating agent to deal with new API 2014-01-08 15:13:27 -08:00
Armon Dadgar 7e96658fdb Testing DNS correctly deduplicates records 2014-01-06 14:56:41 -08:00
Armon Dadgar 29fe144b5b Support DNS recursion and TCP queries 2014-01-03 15:43:35 -08:00
Armon Dadgar b9e0eef1ff Support Service lookups 2014-01-03 13:00:03 -08:00
Armon Dadgar 0061b9a105 Adding DNS based node lookup 2014-01-02 17:58:58 -08:00
Armon Dadgar 71e85cea72 Adding a DNS domain config 2014-01-02 15:50:52 -08:00
Armon Dadgar 423ffaecc5 Adding basic DNS framework 2014-01-02 13:12:05 -08:00