alepharchives / erl_geo_dns Goto Github PK
View Code? Open in Web Editor NEWThis project forked from joewilliams/erl_geo_dns
fun with geoip and dns
License: Apache License 2.0
This project forked from joewilliams/erl_geo_dns
fun with geoip and dns
License: Apache License 2.0
geo_dns : a simple geoip dns server geo_dns is a small, prototype dns server that uses the maxmind geoip db to determine which ip associated with a dns record is the closest to the requesters ip address and serves that up as the ip address for the requested domain author : joe williams <[email protected]> license : apache 2 building/starting : $ sudo apt-get install libgeoip-dev libgeoip1 erlang couchdb * download geoip db, http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz $ git clone [email protected]:joewilliams/erl_geo_dns.git $ cd erl_geo_dns $ make $ erl -pa apps/*/ebin -s geo_dns * for non-defaults adjust apps/geo_dns/ebin/geo_dns.app for the configuration (port, geo db, etc) you would like creating records: * each dns record is a document in couchdb (on localhost by default). the document format is the following: _id : "test.com" iplist : [[a,b,c,d],[a,b,c,d]] ttl : 300 * note that the iplist field is an array of arrays where ip address octets are items in the internal arrays caveats: * this server has never been used in production and is mostly a proof of concept * only supports A records credits: * bine : http://bitbucket.org/kuenishi/bine/src/ * libgeoip-erlang : http://bitbucket.org/mattsta/libgeoip-erlang/src/ * couchbeam : http://github.com/benoitc/couchbeam
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.