Wim
369982270d
Return SOA/not found when the answer is empty
2015-09-01 22:28:12 +02:00
Ryan Uber
05216d3cc4
agent: log network address of DNS clients
2015-08-11 10:33:27 -07:00
Ryan Breen
018fd69aa2
Merge pull request #1143 from hashicorp/GH-1142
...
Check NXDOMAIN after filtering nodes
2015-07-29 18:56:08 -04:00
Ryan Breen
42648438a0
Check NXDOMAIN after filtering nodes
...
Move the check for NXDOMAIN below the service health filter.
2015-07-29 17:16:48 -04:00
Wim
5647a37ffe
Recurse when PTR answer is empty
2015-07-27 23:22:36 +02:00
Wim
3b1bcaea98
Send SOA with negative responses
2015-06-14 00:03:44 +02:00
Ryan Uber
fb3938d88e
agent: dns uses the configured token during queries
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
116f8b9131
agent: pass through CNAME types for service resolution
2015-04-14 12:52:26 -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
Matt Good
65ada1a62d
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
18b5ab3539
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
ee6d59d4dd
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
419447d9f7
agent: Fix de-duplication of SRV with service address
2015-01-08 10:47:41 -08:00
Armon Dadgar
23b9c96169
consul: Fixing merge conflict
2015-01-08 10:42:19 -08:00
Armon Dadgar
f2e1065246
agent: Testing reverse lookup with custom TLD
2015-01-08 10:24:49 -08:00
dankennedy
63af8d08e1
replaced consul domain with configured domain. Fixes #582
2015-01-08 10:16:05 +00:00
Daniel Malon
bd65cbb7d7
use the service specific address in SRV response
2015-01-05 22:48:30 +00:00
Daniel Malon
051ac8eb0b
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
d73e1cae85
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
3b1068387a
typofixes - https://github.com/vlajos/misspell_fixer
2014-12-04 23:25:06 +00:00
Ali Abbas
e395420af6
cleanup unreachable code
2014-11-25 19:54:30 +01:00
Armon Dadgar
50e21b071c
agent: Adding TODO for future optimization
2014-11-24 11:09:04 -08:00
lalyos
8f04401648
agent: implementing reverse dns lookup for ipv4 and ipv6
2014-11-23 09:16:37 +01:00
Armon Dadgar
cf7e9e40d5
Fixing unit tests
2014-11-03 11:40:55 -08:00
foostan
35b006d884
Add multiple recursor definition support
2014-11-01 04:26:26 +09:00
Alex Wheeler
6cac440a8d
Adding support for enabling the DNS truncate flag for UDP queries.
2014-09-30 15:15:36 -04:00
Jack Pearkes
1e4bdf6820
go fmt
2014-08-20 16:27:12 -07:00
Gavin M. Roy
b030991c8b
Fix the over-indent
2014-08-18 15:50:36 -04:00
Gavin M. Roy
6000f6977d
Add RFC-2782 style SRV lookups
2014-08-18 15:45:56 -04:00
William Tisäter
e4de221078
Always lowercase incoming DNS query
2014-07-23 23:42:22 +02:00
Armon Dadgar
663bd102e7
agent: Provide better DNS setup error messages
2014-07-17 10:57:21 -07:00
Armon Dadgar
6eb3e8ee30
agent: Fixing issue with excessive failed node filtering
2014-07-16 15:11:45 -07:00
Armon Dadgar
66a5387742
agent: First pass supporting DNS TTLs
2014-06-08 16:02:17 -07:00
Armon Dadgar
3b3d235880
agent: Support stale queries with retries
2014-06-08 16:02:17 -07:00
Armon Dadgar
c1bd7169f5
agent: Improve DNS parser. Fixes #39 .
2014-04-21 15:33:01 -07:00
Armon Dadgar
3cf1a64f87
agent: Handle API changes
2014-03-05 15:03:23 -08:00
Armon Dadgar
78e28a84a1
agent: Fixing DNS CNAME recursion
2014-02-25 17:41:48 -08:00
Armon Dadgar
60b7fccf02
agent: Tell client DNS recursion is available
2014-02-25 16:30:10 -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
467db27813
agent: Only truncate DNS results for a UDP query
2014-02-14 14:22:49 -08:00
Armon Dadgar
d35de5bc11
agent: Shuffle DNS responses, limit records
2014-02-14 12:26:51 -08:00
Armon Dadgar
c58c53f448
agent: RPC changes and blocking query support
2014-02-05 14:36:13 -08:00
Armon Dadgar
54359b9ad6
DNS filters service nodes if they have failing checks
2014-01-15 11:30:04 -10:00
Armon Dadgar
0e08e200e4
DNS Lookup uses Health.ServiceNodes
2014-01-15 11:20:01 -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
04c2540072
Remove fix for upstream DNS bug
2014-01-06 14:37:02 -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
a8d6e1cfd4
Start DNS server, change logs, add SOA records
2014-01-02 15:10:13 -08:00
Armon Dadgar
423ffaecc5
Adding basic DNS framework
2014-01-02 13:12:05 -08:00