UltrosBot/Ultros

Implementing DNS lookups

Opened this issue · 8 comments

Perform DNS lookups, with the option of finding the ISP of that IP and rDNS.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3574257-implementing-dns-lookups?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github).

As a command?

Yes

I had something like this in the works, but let it drop due to lack of any real use for it. I'll bump the priority up now that I know someone else would like it other than me.

Might I suggest dnspython? I used it for a dnsbl feature in the original Ultros (although it never actually got used, it did work).

As I said, I've already started on something like this. It makes use of the twisted dns lookup stuff, because async is easier/cleaner than having to threadpool everything.

Ah, okay, didn't realise Twisted had stuff like that.

It really is a swiss army knife, eh? ._.

Well, the DNS protocol is a pretty one, as is the need to use it. :P

The GeoIP plugin does all of this except for rDNS lookups. It does need some improvements, though.