Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: IP->Country Data (RE: ISP's Contact List)

  • From: william(at)elan.net
  • Date: Mon Jun 13 14:11:08 2005


On Mon, 13 Jun 2005, william(at)elan.net wrote:

You can now do lookup in RBL style to
<reverse-ip>.country-rirdata.dnsiplists.completewhois.com

For TXT lookups it will tell you country code and country name, i.e.
"US - United States". For RBL "A" lookups it will answer with 127.0.a.b
where a and b are ascii representation of 1st and 2nd letter of country code, so for example for US this would be 127.0.85.89
Small correction - for US its 127.0.85.83 (and 127.0.85.89 is Uruguay)

---
William Leibzon
Elan Networks
william@elan.net




Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.