My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
HowtouseGeoMyDNS  
Updated Jan 18, 2008 by inbl...@gmail.com

How to use GeoMyDNS?

Installation

Download source code

Patch for GeoMyDNS

  • Create a directory for compile and copy those 2 files.
  • Unzip those 2 files.
  •  $ gzip -dc ./geomydns_0.9.tgz | tar xvf -
     $ gzip -dc ./mydns-1.1.0.tar.gz | tar xvf -
     $ ls
     geomydns_0.9_for_mydns1.1.0.patch  mydns-1.1.0.tar.gz
     mydns-1.1.0/
  • Run patch
  •  $ patch -p0 < ./geomydns_0.9_for_mydns1.1.0.patch 

Compiling

  • Run configure
  • $ ./configure --with-mysql-lib=/opt/mysql/lib/mysql \
      --with-mysql-include=/opt/mysql/include/mysql \
      --prefix=/opt/local
  • Sometimes it needed to assign zlib path like this:
  • $ ./configure --with-mysql-lib=/opt/mysql/lib/mysql \
      --with-mysql-include=/opt/mysql/include/mysql \
      --prefix=/opt/local \
      --with-zlib=/opt/local/lib
  • Run make and make install
  •  $ make
     # make install

Create database

About geographical data

How to add a domain?

Comment by camil...@gmail.com, May 15, 2013

Hi,

I have compiled mydns as instructed with some adaptations for CentOS 6, some of then, replacing libmysqlclient.so.10 with libmysqlclient.so.18 in ./configure file and using lib64 paths.

I see that when the database is created through sql script generated by "mydns --create-tables", a bunch of geopip tables are created.

How can I populate and effectively use them?

Powered by Google Project Hosting