banning domains or countries

N

Norman L. DeForest

Is there a speedy way for a script to automatically identify which
country an IP address is from ?

Can you use a script to do a DNS lookup? If the IP address you want to
check is aa.bb.cc.dd then look it up at dd.cc.bb.aa.zz.countries.nerd.dk
and check the country code it returns. For more information, see:
http://countries.nerd.dk/more.html
For a list of the country codes returned by zz.countries.nerd.dk, see:
http://countries.nerd.dk/isolist.txt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top