oops, forgot to uncomment code for NS queries

This commit is contained in:
m5r 2022-10-30 00:17:39 +02:00
parent 0adf0a23e3
commit 2c3b07c2c6
No known key found for this signature in database
GPG Key ID: 5BC847276DD5DDEA

View File

@ -165,15 +165,13 @@ func (xip *Xip) handleNS(question dns.Question, message *dns.Msg) {
additionals = append(additionals, xip.fqdnToA(ns.Ns)...)
}
log.Println(additionals)
for _, record := range nameServers {
message.Answer = append(message.Answer, record)
}
// for _, record := range additionals {
// message.Extra = append(message.Extra, record)
// }
for _, record := range additionals {
message.Extra = append(message.Extra, record)
}
}
func (xip *Xip) handleTXT(question dns.Question, message *dns.Msg) {