Endwall
11/10/2018 (Sat) 03:48:41
No.1334
del
Nothing really, I was using dnsrez.sh with ip_origin.sh to get the geo-locations of websites,
$ ip_origin $( dnsrez www.endchan.xyz )
185.83.214.30 PT Portugal
$ ip_origin $( dnsrez www.endchan.xyz www.8ch.net )
185.83.214.30 PT Portugal
104.18.105.234 US United States
104.18.104.234 US United States
It's something to work with and modify the output as you see fit by querying the records and then formatting them. I haven't really done much with those scripts, and I didn't really publicize them, I just discretely added them to the list of files once they were working. dnslookup uses the python library pydns to do the query to your dns server. dnsrez uses the dnspython library.
These files aren't working on either of my main machines right now...I figured out the problem it was the shebang...
Change the shebang to this
#! /usr/bin/python2
Message too long. Click here to view full text.
Edited last time by Endwall on 11/10/2018 (Sat) 04:43:50.