for ifsubnet in $UB_LIST_NETW_ALL ; do
case $ifsubnet in
"${ifdashname}"@*)
- # Special GLA protection for local block; ULA protected as a catagory
+ # Special GLA protection for local block; ULA protected default
UB_LIST_NETW_LAN="$UB_LIST_NETW_LAN $ifsubnet"
;;
esac
for server in $UB_LIST_ZONE_SERVERS ; do
if [ "$( valid_subnet_any $server )" = "not" ] ; then
case $server in
- *@[0-9]*)
+ *@[0-9]*|*#[A-Za-z0-9]*)
# unique Unbound option for server host name
servers_host="$servers_host $server"
;;
else
servers_host="$servers_host $server${port:+@${port}}"
fi
+ ;;
esac
else
case $server in
- *[0-9]@[0-9]*)
+ *@[0-9]*|*#[A-Za-z0-9]*)
# unique Unbound option for server address
servers_ip="$servers_ip $server"
;;
else
servers_ip="$servers_ip $server${port:+@${port}}"
fi
+ ;;
esac
fi
done
namerec=" local-data: \"$name. 300 IN AAAA $ifaddr\""
echo "$namerec" >> $UB_HOST_CONF
fi
- ;;
+ ;;
esac
done
echo >> $UB_HOST_CONF