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.
1 parent 9ce2fa0 commit 24352d8Copy full SHA for 24352d8
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