diff --git a/pythonwhois/parse.py b/pythonwhois/parse.py index 513d46f..b598b63 100644 --- a/pythonwhois/parse.py +++ b/pythonwhois/parse.py @@ -65,7 +65,7 @@ grammar = { '\tName:\t\s(?P.+)'], 'whois_server': ['Whois Server:\s?(?P.+)', 'Registrar Whois:\s?(?P.+)'], - 'name_servers': ['Name Server:\s?(?P.+)', + 'name_servers': ['Name Server:\s?(?P[^ ]+)', '(?P[a-z]*d?ns[0-9]+([a-z]{3})?\.([a-z0-9-]+\.)+[a-z0-9]+)', 'nameserver:\s*(?P.+)', 'nserver:\s*(?P[^[\s]+)',