mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
dns: remove unused method
It was added in 5934f803bfb54c1ceeeb6518398f1b82a726459f but it was never used.
This commit is contained in:
parent
f31aa12cf1
commit
4beff900d1
@ -587,12 +587,6 @@ func (d *DNSServer) nameservers(cfg *dnsConfig, maxRecursionLevel int) (ns []dns
|
|||||||
return
|
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 {
|
func (d *DNSServer) parseDatacenter(labels []string, datacenter *string) bool {
|
||||||
switch len(labels) {
|
switch len(labels) {
|
||||||
case 1:
|
case 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user