diff options
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ func dnsRegex(s string) (*regexp.Regexp, error) { b = append(b, regexp.QuoteMeta(f)) } } - return regexp.Compile(strings.Join(b, `\.`)) + return regexp.Compile(fmt.Sprintf("^%s$", strings.Join(b, `\.`))) } // Match returns the backend for hostname. |