open-consul/agent
Frank Schroeder 450d8a69b5
dns: provide correct SOA and NS responses
This patch changes the behavior of the DNS server as follows:

* The SOA response contains the SOA record in the Answer section instead
  of the Authority section. It also contains NS records in the Authority
  and the corresponding A glue records in the Extra section.
  In addition, CNAMEs are added to the Extra section to make the
  MNAME of the SOA record resolvable.

  AAAA glue records are not yet supported.

* The NS response returns up to three random servers from the
  consul cluster in the Answer section and the glue A
  records in the Extra section.

  AAAA glue records are not yet supported.
2017-08-07 11:11:55 +02:00
..
consul Use sanitized version of node name of server in NS record, and start with "server" rather than "ns" 2017-08-07 11:11:55 +02:00
mock agent: replace docker check 2017-07-18 20:24:38 +02:00
pool agent: move conn pool for muxed connections into separate pkg 2017-06-21 05:42:39 +02:00
systemd agent: notify systemd after JoinLAN (#2121) 2017-06-21 06:43:55 +02:00
token Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
acl.go Adds support for agent-side ACL token management via API instead of config files. (#3324) 2017-07-26 11:03:43 -07:00
acl_endpoint.go Adds a new /v1/acl/bootstrap API (#3349) 2017-08-02 17:05:18 -07:00
acl_endpoint_test.go Adds a new /v1/acl/bootstrap API (#3349) 2017-08-02 17:05:18 -07:00
acl_test.go Adds node read privileges to the acl_agent_master_token. (#3277) 2017-07-16 20:08:26 -07:00
agent.go Unify regex used to identify invalid dns characters 2017-08-07 11:11:55 +02:00
agent_endpoint.go Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
agent_endpoint_test.go Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
agent_test.go Moved handling advertise address to readConfig and out of the agent's constructor, plus unit test fixes 2017-07-27 22:06:31 -05:00
bindata_assetfs.go UI cleanup follow up from #3245. (#3251) 2017-07-10 09:40:00 -07:00
blacklist.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
blacklist_test.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
catalog_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
catalog_endpoint_test.go rpc: monkey patch fix for data races for localState 2017-07-07 09:22:34 +02:00
check.go agent: replace docker check 2017-07-18 20:24:38 +02:00
check_test.go agent: replace docker check 2017-07-18 20:24:38 +02:00
config.go Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
config_test.go Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
coordinate_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
coordinate_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
dns.go dns: provide correct SOA and NS responses 2017-08-07 11:11:55 +02:00
dns_test.go Use sanitized version of node name of server in NS record, and start with "server" rather than "ns" 2017-08-07 11:11:55 +02:00
docker.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_unix.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_windows.go agent: replace docker check 2017-07-18 20:24:38 +02:00
event_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
event_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
health_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
health_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
http.go Adds a new /v1/acl/bootstrap API (#3349) 2017-08-02 17:05:18 -07:00
http_test.go Adds support for agent-side ACL token management via API instead of config files. (#3324) 2017-07-26 11:03:43 -07:00
keyring.go Prevents disabling gossip keyring file from disabling gossip encryption. (#3278) 2017-07-17 12:48:45 -07:00
keyring_test.go Prevents disabling gossip keyring file from disabling gossip encryption. (#3278) 2017-07-17 12:48:45 -07:00
kvs_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
kvs_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
local.go Adds support for agent-side ACL token management via API instead of config files. (#3324) 2017-07-26 11:03:43 -07:00
local_test.go Removed extra newlines 2017-07-28 10:51:11 -05:00
notify.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
notify_test.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
operator_endpoint.go Fix UpgradeVersionTag field not being passed correctly (#3304) 2017-07-19 17:39:48 -07:00
operator_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
prepared_query_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
prepared_query_endpoint_test.go agent: fix data races with registerEndpoint 2017-07-07 09:22:34 +02:00
remote_exec.go Adds support for agent-side ACL token management via API instead of config files. (#3324) 2017-07-26 11:03:43 -07:00
remote_exec_test.go Changes remote exec KV read to call GetTokenForAgent(). (#3283) 2017-07-16 21:12:16 -07:00
retry_join.go agent: fix code for updated go-discover signature 2017-08-03 21:32:11 +02:00
retry_join_test.go agent: fix code for updated go-discover signature 2017-08-03 21:32:11 +02:00
session_endpoint.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
session_endpoint_test.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
snapshot_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
snapshot_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
status_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
status_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
testagent.go Moved handling advertise address to readConfig and out of the agent's constructor, plus unit test fixes 2017-07-27 22:06:31 -05:00
translate_addr.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
txn_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
txn_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
ui_endpoint.go agent: fix go vet issue 2017-07-11 07:13:46 -07:00
ui_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
user_event.go pkg refactor 2017-06-10 18:52:45 +02:00
user_event_test.go pkg refactor 2017-06-10 18:52:45 +02:00
util.go agent: Fix script quoting on windows (#1875) 2017-08-02 17:01:21 +02:00
util_other.go agent: Fix script quoting on windows (#1875) 2017-08-02 17:01:21 +02:00
util_test.go pkg refactor 2017-06-10 18:52:45 +02:00
util_windows.go agent: Fix script quoting on windows (#1875) 2017-08-02 17:01:21 +02:00
watch_handler.go pkg refactor 2017-06-10 18:52:45 +02:00
watch_handler_test.go pkg refactor 2017-06-10 18:52:45 +02:00