Armon Dadgar
c457b6cb75
agent: Adding test for DNS enable_truncate
2015-05-05 14:14:41 -07:00
Ryan Uber
cd65aaa2e0
agent: re-work DNS tests to not rely on the external network
2015-04-14 12:52:26 -07:00
Ryan Uber
ed4de526f1
agent: pass through CNAME types for service resolution
2015-04-14 12:52:26 -07:00
Matt Good
755522fa48
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
Matt Good
f5d27daf63
Use DNS server startup callbacks
...
Simplify waiting for the DNS server to start with the newer "NotifyStartedFunc"
callback.
2015-03-31 16:48:48 -07:00
Dave Tucker
f026b8781e
Don't forget to Shutdown the DNS Server!
...
Fixes #609
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-01-17 00:30:53 +00:00
Evan Broder
b5e1de165b
Add "only_passing" option to DNS config
...
This excludes nodes from DNS results if their healthchecks are in any
non-passing state, not just if they're critical.
2015-01-10 13:17:11 +01:00
Armon Dadgar
0164de5f44
agent: Fix de-duplication of SRV with service address
2015-01-08 10:47:41 -08:00
Armon Dadgar
957fa1f5ec
consul: Fixing merge conflict
2015-01-08 10:42:19 -08:00
Armon Dadgar
7d9697dcf3
agent: Testing reverse lookup with custom TLD
2015-01-08 10:24:49 -08:00
dankennedy
3c43e0440f
replaced consul domain with configured domain. Fixes #582
2015-01-08 10:16:05 +00:00
Daniel Malon
1889841acd
use the service specific address in SRV response
2015-01-05 22:48:30 +00:00
Daniel Malon
e56b3861dc
advertise specific address for a service
...
Enable setting a specific address in a service definition for advertise. If no specific address is given it will fallback to the node address and reassemble the old behaviour.
2015-01-02 21:10:05 +00:00
Ali Abbas
154c4e93e4
since dns.TXT is an external dependency, it is safer to add keys to the fields to avoid some potential ordering issues if changes in this field occur with upstream
2014-12-06 13:13:35 +01:00
Veres Lajos
850d5bdc32
typofixes - https://github.com/vlajos/misspell_fixer
2014-12-04 23:25:06 +00:00
Ali Abbas
73504a01e9
cleanup unreachable code
2014-11-25 19:54:30 +01:00
Armon Dadgar
521414f09a
agent: Adding TODO for future optimization
2014-11-24 11:09:04 -08:00
lalyos
adc5d0a522
agent: implementing reverse dns lookup for ipv4 and ipv6
2014-11-23 09:16:37 +01:00
Armon Dadgar
f5acbace17
Fixing unit tests
2014-11-03 11:40:55 -08:00
foostan
4d8f1c2133
Add multiple recursor definition support
2014-11-01 04:26:26 +09:00
Alex Wheeler
a805e17b9c
Adding support for enabling the DNS truncate flag for UDP queries.
2014-09-30 15:15:36 -04:00
Jack Pearkes
b7a9a9fa91
go fmt
2014-08-20 16:27:12 -07:00
Gavin M. Roy
b4989ef9ee
Fix the over-indent
2014-08-18 15:50:36 -04:00
Gavin M. Roy
97b8960bd8
Add RFC-2782 style SRV lookups
2014-08-18 15:45:56 -04:00
William Tisäter
eab2cbc1ef
Always lowercase incoming DNS query
2014-07-23 23:42:22 +02:00
Armon Dadgar
84e5bd2727
agent: Provide better DNS setup error messages
2014-07-17 10:57:21 -07:00
Armon Dadgar
c13f9f2a98
agent: Fixing issue with excessive failed node filtering
2014-07-16 15:11:45 -07:00
Armon Dadgar
ba4c40531d
agent: First pass supporting DNS TTLs
2014-06-08 16:02:17 -07:00
Armon Dadgar
dea2eba631
agent: Support stale queries with retries
2014-06-08 16:02:17 -07:00
Armon Dadgar
c7605f070d
agent: Improve DNS parser. Fixes #39 .
2014-04-21 15:33:01 -07:00
Armon Dadgar
b4a9b4301b
agent: Handle API changes
2014-03-05 15:03:23 -08:00
Armon Dadgar
141086eee8
agent: Fixing DNS CNAME recursion
2014-02-25 17:41:48 -08:00
Armon Dadgar
8c314d3041
agent: Tell client DNS recursion is available
2014-02-25 16:30:10 -08:00
Armon Dadgar
b14ff9e3db
agent: Support CNAME recursion if we have a recursor
2014-02-25 12:46:11 -08:00
Armon Dadgar
b57e806c23
agent: DNS layer properly handles AAAA and CNAME records
2014-02-25 12:07:20 -08:00
Armon Dadgar
8fdbf95452
agent: Fixing bug in dns service filtering
2014-02-23 18:04:12 -08:00
Armon Dadgar
4be7fefe83
consul: Default recursor port 53. Fixes #4
2014-02-22 17:31:30 -08:00
Armon Dadgar
e2b870b65c
agent: Only truncate DNS results for a UDP query
2014-02-14 14:22:49 -08:00
Armon Dadgar
622aafb7c9
agent: Shuffle DNS responses, limit records
2014-02-14 12:26:51 -08:00
Armon Dadgar
500d2d2282
agent: RPC changes and blocking query support
2014-02-05 14:36:13 -08:00
Armon Dadgar
e3159d0318
DNS filters service nodes if they have failing checks
2014-01-15 11:30:04 -10:00
Armon Dadgar
9af24bd4c2
DNS Lookup uses Health.ServiceNodes
2014-01-15 11:20:01 -10:00
Armon Dadgar
c4af4b7bda
Updating agent to deal with new API
2014-01-08 15:13:27 -08:00
Armon Dadgar
1f3fedf8b8
Testing DNS correctly deduplicates records
2014-01-06 14:56:41 -08:00
Armon Dadgar
ed1a200efe
Remove fix for upstream DNS bug
2014-01-06 14:37:02 -08:00
Armon Dadgar
e2e844a70b
Support DNS recursion and TCP queries
2014-01-03 15:43:35 -08:00
Armon Dadgar
43bf345d32
Support Service lookups
2014-01-03 13:00:03 -08:00
Armon Dadgar
c0d53a9d62
Adding DNS based node lookup
2014-01-02 17:58:58 -08:00
Armon Dadgar
13028a43f7
Adding a DNS domain config
2014-01-02 15:50:52 -08:00
Armon Dadgar
40a50780d3
Start DNS server, change logs, add SOA records
2014-01-02 15:10:13 -08:00