lib.cuckoo.common.dns

Package lib :: Package cuckoo :: Package common :: Module dns |
[hide private]
[frames] | no frames]

# Module dns

source code

Classes | [hide private]
| Resultholder

Functions | [hide private]
set_timeout(value) | source code
set_timeout_value(value) | source code
with_timeout(func, args=`(``)`, kwargs=`{``}`) This function will spawn a thread and run the given function using the args, kwargs and return the given default value if the timeout_duration is exceeded. | source code
resolve_thread(name) | source code
gethostbyname(name) | source code
resolve_cares(name) | source code
resolve(name) | source code
resolve_best(name) | source code

Variables | [hide private]
| HAVE_CARES = `False`
| HAVE_GEVENT = `False`
| DNS_TIMEOUT = `5`
| DNS_TIMEOUT_VALUE = ``'````'``
| __package__ = ``'``lib.cuckoo.common``'``