fix nameserver regex.
modify test of GetNameserversAsCIDR for its regex change.
Merge pull request #2663 from viirya/fix_nameserver_regex

Fix nameserver regex