We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86f45f4 + 24352d8 commit be49fe8Copy full SHA for be49fe8
helpers.py
@@ -46,7 +46,7 @@ def resolvconf_nameservers():
46
l = []
47
for line in open('/etc/resolv.conf'):
48
words = line.lower().split()
49
- if len(words) >= 2 and words[0] == 'nameserver':
+ if len(words) >= 2 and words[0] == 'nameserver' and words[1].find(':') == -1:
50
l.append(words[1])
51
return l
52
0 commit comments