1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
diff -Nur -x '*.orig' -x '*~' python-dns-2.3.2/DNS/Base.py python-dns-2.3.2.new/DNS/Base.py
--- python-dns-2.3.2/DNS/Base.py 2008-07-27 21:27:00.000000000 -0400
+++ python-dns-2.3.2.new/DNS/Base.py 2008-07-30 12:21:44.000000000 -0400
@@ -55,7 +55,11 @@
if fields[0]=='sortlist':
pass
if fields[0]=='nameserver':
- defaults['server'].append(fields[1])
+ if fields[1].count(':'):
+ """ Ignore IPv6 nameservers as we currently do not support querying them. """
+ pass
+ else:
+ defaults['server'].append(fields[1])
def DiscoverNameServers():
import sys
|