dns: remove unused method

It was added in 5934f803bf but it was never used.
This commit is contained in:
Daniel Nephin 2021-04-13 14:08:50 -04:00
parent f31aa12cf1
commit 4beff900d1
1 changed files with 0 additions and 6 deletions

View File

@ -587,12 +587,6 @@ func (d *DNSServer) nameservers(cfg *dnsConfig, maxRecursionLevel int) (ns []dns
return
}
func (d *DNSServer) invalidQuery(req, resp *dns.Msg, cfg *dnsConfig, qName string) {
d.logger.Warn("QName invalid", "qname", qName)
d.addSOA(cfg, resp)
resp.SetRcode(req, dns.RcodeNameError)
}
func (d *DNSServer) parseDatacenter(labels []string, datacenter *string) bool {
switch len(labels) {
case 1: