mirror of
https://github.com/coredns/coredns.git
synced 2025-12-07 19:05:19 -05:00
correct test and code (#3184)
This commit is contained in:
committed by
John Belamaric
parent
338d148c78
commit
59e74eb15d
@@ -20,7 +20,7 @@ func (e *External) serveApex(state request.Request) (int, error) {
|
||||
addr := e.externalAddrFunc(state)
|
||||
for _, rr := range addr {
|
||||
rr.Header().Ttl = e.ttl
|
||||
rr.Header().Name = state.QName()
|
||||
rr.Header().Name = dnsutil.Join("ns1", e.apex, state.QName())
|
||||
m.Extra = append(m.Extra, rr)
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user