oops, forgot to uncomment code for NS queries
This commit is contained in:
parent
0adf0a23e3
commit
2c3b07c2c6
@ -165,15 +165,13 @@ func (xip *Xip) handleNS(question dns.Question, message *dns.Msg) {
|
|||||||
additionals = append(additionals, xip.fqdnToA(ns.Ns)...)
|
additionals = append(additionals, xip.fqdnToA(ns.Ns)...)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println(additionals)
|
|
||||||
|
|
||||||
for _, record := range nameServers {
|
for _, record := range nameServers {
|
||||||
message.Answer = append(message.Answer, record)
|
message.Answer = append(message.Answer, record)
|
||||||
}
|
}
|
||||||
|
|
||||||
// for _, record := range additionals {
|
for _, record := range additionals {
|
||||||
// message.Extra = append(message.Extra, record)
|
message.Extra = append(message.Extra, record)
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (xip *Xip) handleTXT(question dns.Question, message *dns.Msg) {
|
func (xip *Xip) handleTXT(question dns.Question, message *dns.Msg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user