mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
@@ -304,11 +304,11 @@ func (s *Server) OnStartupComplete() {
|
||||
if err != nil {
|
||||
// this should not happen, but we need to take care of it anyway
|
||||
fmt.Println(zone + ":" + s.Addr)
|
||||
return
|
||||
continue
|
||||
}
|
||||
if ip == "" {
|
||||
fmt.Println(zone + ":" + port)
|
||||
return
|
||||
continue
|
||||
}
|
||||
// if the server is listening on a specific address let's make it visible in the log,
|
||||
// so one can differentiate between all active listeners
|
||||
|
||||
Reference in New Issue
Block a user