mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Typo fixes (#2031)
This commit is contained in:
@@ -197,7 +197,7 @@ func (rule *substringNameRule) GetResponseRule() ResponseRule { return ResponseR
|
||||
// GetResponseRule return a rule to rewrite the response with.
|
||||
func (rule *regexNameRule) GetResponseRule() ResponseRule { return rule.ResponseRule }
|
||||
|
||||
// validName returns true if s is valid domain name and shortern than 256 characters.
|
||||
// validName returns true if s is valid domain name and shorter than 256 characters.
|
||||
func validName(s string) bool {
|
||||
_, ok := dns.IsDomainName(s)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user