UltrosBot / Ultros

Connecting communities, one squid at a time! Ultros is a multi-protocol chat bot written in Python, designed with both the user and developer in mind
http://ultros.io
Artistic License 2.0
23 stars 7 forks source link

Implementing DNS lookups #52

Open j0rdan76 opened 9 years ago

j0rdan76 commented 9 years ago

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).
rakiru commented 9 years ago

As a command?

j0rdan76 commented 9 years ago

Yes

rakiru commented 9 years ago

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.

gdude2002 commented 9 years ago

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

rakiru commented 9 years ago

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.

gdude2002 commented 9 years ago

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

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

rakiru commented 9 years ago

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

gdude2002 commented 9 years ago

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