Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A plugin for the Err chatbot that provides access to common DNS utils: host, dig, nslookup
Python
branch: master
Failed to load latest commit information.
LICENSE Initial commit
README.md Remove accidental indent in readme
dnsutils.plug
dnsutils.py Decode bytestrings before returning them for output
requirements.txt Remove empty line from requirements.txt

README.md

err-dnsutils

Run common DNS utils from Err: host, dig, nslookup

Installation

You can install err-dnsutils directly from err using:

!repos install err-dnsutils

Alternatively, you can also clone this repository into your BOT_EXTRA_PLUGIN_DIR and restart your bot to load the new plugin.

Configuration

This plugin requires no configuration at this time

Dependencies

No extra python dependencies are required, however you do need to have host, dig and nslookup installed on your system.

Most Linux distributions have these packaged together as dnsutils. On Gentoo the package you need is called net-dns/bind-tools

Safety information

Please note that this plugin calls dig/nslookup/host and passes arguments on to them directly without any form of checking. Although this should be safe (commands are called directly, not via shell which could be tricked into redirecting output or executing arbitrary commands), this might still give users more direct access than desired. If you're really paranoid (like me!) you may want to avoid this plugin.

Something went wrong with that request. Please try again.