diff --git a/dns/manifests/init.pp b/dns/manifests/init.pp index 234dc53..ecc373d 100644 --- a/dns/manifests/init.pp +++ b/dns/manifests/init.pp @@ -269,7 +269,7 @@ define dns::zone($role = "master", $master = "", $slaves = [], $forwarders = [], $source = "AUTO", $key = "none", $keytype = "hmac-md5", $contact = "NONE") { - if $name =~ /([^\/]+\/)?([0-9]+)\/([0-9\.]+\.in-addr\.arpa)/ { + if $name =~ /^([^\/]+\/)?([0-9]+)\/([0-9\.]+\.in-addr\.arpa)$/ { # Special handling for RFC2317 style in-addr.arpa zones case $1 { ".": { $view = "" }