Commit Graph

43 Commits (a0583fc42601e5ef8094a224214d98454ba4e4a6)

Author SHA1 Message Date
Pierre Souchay 0b7f620dc6 Allow to control the number of A/AAAA Record returned by DNS
7 years ago
Andrei Burd b608091014 adding human readability for dns requests debug log (#3751)
7 years ago
Veselkov Konstantin 5f38e1148a fix refactoring
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
Frank Schröder 350932161d dns: return NXDOMAIN if datacenter is invalid (#3200) (#3596)
7 years ago
Ryan Slade 85e4aea9d1 Replace time.Now().Sub(x) with time.Since(x)
7 years ago
Kyle Havlovitz c728564994
Update metric names and add a legacy config flag
7 years ago
Patrick Sodré 7501331d13
Implement encodeKVasRFC1464 function
7 years ago
Patrick Sodré 865f087ec9
Turn encodeKVasRFC1464 into a plain function
7 years ago
Patrick Sodré d5e3b9d843
Refactor formatTxtRecords as encodeKVasRFC1464
7 years ago
Patrick Sodré 655c89ee10
Fix editorial suggestions
7 years ago
Patrick Sodré afb0c92334
Remove redundant check of Node.Meta size
7 years ago
Patrick Sodré 53e812e759
Return Node.Meta info using the DNS interface
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Kyle Havlovitz baa501e0c5
Fill in the segment in the QuerySource for prepared query lookups
7 years ago
Frank Schroeder bf96857b17 dns: replace nameserver lookup with consistent rpc call
7 years ago
Frank Schroeder 4052c6d2d2 dns: split node lookup from request handling
7 years ago
Frank Schroeder d4e3d4344a dns: refactor label by unrolling loop
7 years ago
Frank Schroeder 70be1ab635 dns: move ttl closer to usage
7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs
7 years ago
James Phillips 7442039c2d
Fixes a vet error.
7 years ago
Kyle Havlovitz cf02e3bc22 Merge pull request #3369 from hashicorp/metrics-enhancements
7 years ago
Frank Schroeder 9fa237ddb6
dns: minor cleanups
7 years ago
Kyle Havlovitz d5634fe2a8
Add support for labels/filters from go-metrics
7 years ago
Preetha Appan 72ae8c8f33 Go back to using <nodename>.node.dc.consul as the name of the ns record being returned.
7 years ago
Frank Schroeder 8a9653bdf8
dns: keep NS names in consul domain
7 years ago
Frank Schroeder f17bf78bb1
dns: postmaster -> hostmaster
7 years ago
Frank Schroeder 60608b455d
dns: we do not support zone transfers
7 years ago
Frank Schroeder 76b2538915
dns: drop CNAME for primary name server
7 years ago
Preetha Appan 7f34dc08a5
Added test case with IPV6 bind address for NS records, rewrote tests to use verify library and other code review feedback
7 years ago
Preetha Appan 76319f751d
Added back glue records in NS response, expanded unit test. Also reused same function used in node lookup for adding A/AAAA records in the extra section of the NS response
7 years ago
Preetha Appan f01f17bda3
Don't add A records for NS requests, because the record being returned already resolves correctly. Also fixed all the unit tests, and ignored hostnames that don't meet valid dns hostname criteria
7 years ago
Frank Schroeder 7ea11c2f45
dns: provide correct SOA and NS responses
7 years ago
Preetha Appan 824fc4ee20
Unify regex used to identify invalid dns characters
7 years ago
Preetha Appan 37f75a393e
Use sanitized version of node name of server in NS record, and start with "server" rather than "ns"
7 years ago
Preetha Appan 794d1afe44
Removed a copy pasted irrelevant comment, and other code review feedback
7 years ago
Preetha Appan f9db387097
Add NS records and A records for each server. Constructs ns host names using the advertise address of the server.
7 years ago
James Phillips 496b0bcf07 Adds support for agent-side ACL token management via API instead of config files. (#3324)
7 years ago
Frank Schroeder 727b6444ad dns: fix data races in DNS compression tests
7 years ago
Frank Schroeder 63447a0cf3 agent: refactor: make address translation part of the agent
7 years ago
Frank Schroeder 2b41f2e3a3 agent: make the RPC endpoint overwrite mechanism more transparent
8 years ago
Seth Vargo a8f1e7ebf9 Add EDNS0 support (#3131)
8 years ago
Frank Schroeder 1c75cf1af5 pkg refactor
8 years ago