IP->Country Data (RE: ISP's Contact List)
william(at)elan.net
william at elan.net
Mon Jun 13 18:10:04 UTC 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 at elan.net
More information about the NANOG
mailing list