diff options
author | 2018-02-14 14:19:32 -0500 | |
---|---|---|
committer | 2018-02-14 20:19:32 +0100 | |
commit | 76455c6a0deb812db4a6a091cdf305ef4960c5b7 (patch) | |
tree | 8250653a6d6b8bb304f8e9d7f4ccd23f8ff32263 /plugin/trace/setup.go | |
parent | a0834b1dd50ea6d46b0e28c66868dec03422bdd5 (diff) | |
download | coredns-76455c6a0deb812db4a6a091cdf305ef4960c5b7.tar.gz coredns-76455c6a0deb812db4a6a091cdf305ef4960c5b7.tar.zst coredns-76455c6a0deb812db4a6a091cdf305ef4960c5b7.zip |
Plugin/BIND - extend the syntax to allow multiple addresses (#1512)
* Extend bind to allow multiple addresses. UTs added. Changes the log for server starting, adding address when available
* update readme for bind
* fixes after review
* minor fix on readme
* accept multiple BIND directives in blocserver, consolidate the addresses
* fixes after review - format logging server address, variable names
Diffstat (limited to 'plugin/trace/setup.go')
-rw-r--r-- | plugin/trace/setup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/trace/setup.go b/plugin/trace/setup.go index 5c6e473c3..2eb93c3a2 100644 --- a/plugin/trace/setup.go +++ b/plugin/trace/setup.go @@ -41,7 +41,7 @@ func traceParse(c *caddy.Controller) (*trace, error) { ) cfg := dnsserver.GetConfig(c) - tr.ServiceEndpoint = cfg.ListenHost + ":" + cfg.Port + tr.ServiceEndpoint = cfg.HostAddresses() for c.Next() { // trace var err error args := c.RemainingArgs() |