nanog mailing list archives

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


From: "william(at)elan.net" <william () elan net>
Date: Mon, 13 Jun 2005 11:10:04 -0700 (PDT)



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


Current thread: