correct test and code (#3184)

This commit is contained in:
Chris O'Haver
2019-08-23 14:51:42 -04:00
committed by John Belamaric
parent 338d148c78
commit 59e74eb15d
2 changed files with 2 additions and 2 deletions

View File

@@ -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: