mirror of https://github.com/status-im/consul.git
Domain pass through
This commit is contained in:
parent
71e85cea72
commit
470d9f9984
|
@ -148,7 +148,7 @@ func (c *Command) setupAgent(config *Config, logOutput io.Writer, logWriter *log
|
|||
}
|
||||
|
||||
if config.DNSAddr != "" {
|
||||
server, err := NewDNSServer(agent, logOutput, config.DNSAddr)
|
||||
server, err := NewDNSServer(agent, logOutput, config.Domain, config.DNSAddr)
|
||||
if err != nil {
|
||||
agent.Shutdown()
|
||||
c.Ui.Error(fmt.Sprintf("Error starting dns server: %s", err))
|
||||
|
|
Loading…
Reference in New Issue