We use maxmind for a similar process.  We use their webserivce in conjunction with .net and find the API queries to return the country in a speed unnoticeable to users of the system.

 

They have sample code for various languages.

 

I don’t know much about BGP but I would imagine that max minds 5 lines of code is simpler to add than managing the BGP process. However as mentioned by Rob its not allways 100% accurate but if its good enough for google (google analytics) it should hopefully be accurate enough

 

 

Gareth Davies

Senior Systems Administrator

DD +64 9 574 0123 EXT 8465

www.fphcare.com

 

From: nznog-bounces@list.waikato.ac.nz [mailto:nznog-bounces@list.waikato.ac.nz] On Behalf Of Scott Howard
Sent: Monday, 24 March 2014 9:34 a.m.
To: Clark Mills
Cc: nznog
Subject: Re: [nznog] List of NZ IP addresses?

 

Just use the MaxMind and either a plug-in for your web server, or something within the web app itself.  Their CityLite or CountryLite database is free, and accuracy at the country level is very good (although not always perfect, but nothing is ever going to be perfect).

 

www.maxmind.com

 

  Scott

 

 

 

On Sun, Mar 23, 2014 at 12:51 PM, Clark Mills <c.mills@auckland.ac.nz> wrote:

Hi all.

I realise that it's a constantly changing list but does anyone have a list on NZ IPs?

Why: We're trying to set up a website to be accessible in NZ only.
Knowing what I know then firewalling is the tool (a man with a hammer...) but I need to routinely source a more recent list.

Any suggestions or hints appreciated.

Cheers...  Clark


_______________________________________________
NZNOG mailing list
NZNOG@list.waikato.ac.nz
http://list.waikato.ac.nz/mailman/listinfo/nznog

 

_______________________________________
 
This e-mail and any attachments may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.