Fix nameserver regex


This PR simply fixes the regex pattern used to parse nameserver ip.