Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(43)  |  Call(2)  |  Derive(20)  |  Import(21)

src/j/j/jjproxy-HEAD/DNS/lazy.py   jjproxy(Download)
import string
 
from Base import DNSError
 
def revlookup(name):
    result = Base.DnsRequest(name=name, qtype=qtype).req()
    if result.header['status'] != 'NOERROR':
        raise DNSError("DNS query status: %s" % result.header['status'])
    elif len(result.answers) == 0 and Base.defaults['server_rotate']:
        # check with next DNS server
        result = Base.DnsRequest(name=name, qtype=qtype).req()
    if result.header['status'] != 'NOERROR':
        raise DNSError("DNS query status: %s" % result.header['status'])

src/g/o/golismero-2.0.3-1/tools/theHarvester/discovery/DNS/Lib.py   golismero(Download)
import Status
 
from Base import DNSError
 
class UnpackError(DNSError): pass
class PackError(DNSError): pass

src/g/o/golismero-2.0.3-1/tools/theHarvester/discovery/DNS/__init__.py   golismero(Download)
 
import Type,Opcode,Status,Class
from Base import DnsRequest, DNSError
from Lib import DnsResult
from Base import *

src/g/o/golismero-HEAD/tools/theHarvester/discovery/DNS/Lib.py   golismero(Download)
import Status
 
from Base import DNSError
 
class UnpackError(DNSError): pass
class PackError(DNSError): pass

src/r/e/remo-HEAD/vendor-local/lib/python/DNS/Lib.py   remo(Download)
import DNS
 
from Base import DNSError
 
LABEL_UTF8 = False
LABEL_ENCODING = 'idna'
 
class UnpackError(DNSError): pass
class PackError(DNSError): pass

src/g/o/golismero-HEAD/tools/theHarvester/discovery/DNS/__init__.py   golismero(Download)
 
import Type,Opcode,Status,Class
from Base import DnsRequest, DNSError
from Lib import DnsResult
from Base import *

src/r/e/remo-HEAD/vendor-local/lib/python/DNS/__init__.py   remo(Download)
 
import Type,Opcode,Status,Class
from Base import DnsRequest, DNSError
from Lib import DnsResult
from Base import *

src/p/y/PyTalk-HEAD/deps/pydns-2.3.1/DNS/Lib.py   PyTalk(Download)
import Status
 
from Base import DNSError
 
class UnpackError(DNSError): pass
class PackError(DNSError): pass

src/p/y/PyTalk-HEAD/deps/pydns-2.3.1/DNS/__init__.py   PyTalk(Download)
 
import Type,Opcode,Status,Class
from Base import DnsRequest, DNSError
from Lib import DnsResult
from Base import *

src/p/y/pydns-2.3.6/DNS/Lib.py   pydns(Download)
import DNS
 
from Base import DNSError
 
LABEL_UTF8 = False
LABEL_ENCODING = 'idna'
 
class UnpackError(DNSError): pass
class PackError(DNSError): pass

  1 | 2 | 3  Next