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