yolothreat / utilitybelt

A Python library for being a CND Batman....
MIT License
35 stars 12 forks source link

Basic ReverseDNS #4

Closed sroberts closed 10 years ago

sroberts commented 10 years ago

So I got this basic version working based on the StatDNS API. I'm not sure if this is the best way to go about it, but it's a start and functional.

krmaxwell commented 10 years ago

It's a good start, though it would be slower than just running the lookups yourself (assuming a reasonable DNS infrastructure).

sroberts commented 10 years ago

@technoskald I agree, though the nice thing about using the API is you're "semi-nonattrib". What about having both?

krmaxwell commented 10 years ago

yeah maybe a config option. (that said, I do this sort of thing with ipinfo.io as well, so I can't cast stones)

sroberts commented 10 years ago

Ehh, I just left two different methods.