Commit Graph

89 Commits (fd871dc4caf1e32c660fd51a06fc5b0c432c7478)

Author SHA1 Message Date
Matt Keeler d065d3a6db GH-3798: Updates for PR
7 years ago
Matt Keeler 283a7942c4 GH-3798: Wrap DNS request validation in a retry
7 years ago
Matt Keeler 5794fa8837 GH-3798: Add DNS near=_ip test
7 years ago
Matt Keeler 27899f9f46
Merge pull request #3948 from pierresouchay/fix_tcp_dns_limit
7 years ago
Matt Keeler ebc6f414ac Formatting update
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Pierre Souchay aebfcb6767 Fixed minor typo (+ travis tests is unstable)
7 years ago
Pierre Souchay 93fa1f6f49 Optimize size for SRV records, should improve performance a bit
7 years ago
Pierre Souchay d0e45f22df Fixed wrong format of debug msg in unit test
7 years ago
Pierre Souchay 7d59249d96 Avoid issue with compression of DNS messages causing overflow
7 years ago
Pierre Souchay 419bf29041 Cleaner Unit tests from suggestions from @preetapan
7 years ago
Pierre Souchay be39fb20cc [BUGFIX] do not break when TCP DNS answer exceeds 64k
7 years ago
Pierre Souchay 0b7f620dc6 Allow to control the number of A/AAAA Record returned by DNS
7 years ago
James Phillips 3724e49ddf
Fixes a panic on TCP-based DNS lookups.
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
Preetha Appan e7dc345cfa Fix unit test after dns library upgrade to account for correct data length
7 years ago
Frank Schroeder abe41d231c
Fix tests after config refactor
7 years ago
Patrick Sodré 2cc6ac542c
Add RFC1464 tests
7 years ago
Patrick Sodré 12fb0bfd5b
Use verify for NodeLookup CNAME, and TXT tests
7 years ago
Patrick Sodré 655c89ee10
Fix editorial suggestions
7 years ago
Patrick Sodré ab90865865
Add test for NoteLookup ANY request
7 years ago
Patrick Sodré 4c6b8022c2
Add test for querying Node.Meta with DNS TXT
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs
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
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 f9db387097
Add NS records and A records for each server. Constructs ns host names using the advertise address of the server.
7 years ago
Frank Schroeder 4a4b91a2db agent: fix data races with registerEndpoint
7 years ago
Frank Schroeder 00f6ba298e dns: fix data race in TestDNS_ServiceLookup_FilterACL
7 years ago
Frank Schroeder 727b6444ad dns: fix data races in DNS compression tests
7 years ago
Frank Schröder 4b51d00458 agent: fix DNS recursor tests (#3190)
8 years ago
Frank Schroeder c4fc581e07 agent: make registerEndpoint private
8 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