mirror of
https://github.com/coredns/coredns.git
synced 2025-10-02 11:01:04 +02:00
not used anymore (#832)
This commit is contained in:
parent
b0c94c5e53
commit
b11cf7c2bc
@ -14,16 +14,6 @@ const defaultNSName = "ns.dns."
|
|||||||
|
|
||||||
var corednsRecord dns.A
|
var corednsRecord dns.A
|
||||||
|
|
||||||
type interfaceAddrser interface {
|
|
||||||
interfaceAddrs() ([]net.Addr, error)
|
|
||||||
}
|
|
||||||
|
|
||||||
type interfaceAddrs struct{}
|
|
||||||
|
|
||||||
func (i interfaceAddrs) interfaceAddrs() ([]net.Addr, error) {
|
|
||||||
return net.InterfaceAddrs()
|
|
||||||
}
|
|
||||||
|
|
||||||
// DefaultNSMsg returns an msg.Service representing an A record for
|
// DefaultNSMsg returns an msg.Service representing an A record for
|
||||||
// ns.dns.[zone] -> dns service ip. This A record is needed to legitimize
|
// ns.dns.[zone] -> dns service ip. This A record is needed to legitimize
|
||||||
// the SOA response in middleware.NS(), which is hardcoded at ns.dns.[zone].
|
// the SOA response in middleware.NS(), which is hardcoded at ns.dns.[zone].
|
||||||
|
Loading…
x
Reference in New Issue
Block a user