Hi again. You are right, the 1st module can't be an alias.
I've tried to recompile the patch and configure it once again. So far, I just made the configuration work, I didn't test the entire settings. Here the *working* configuration: launch=geo,geo:geo2 geo-zone=example.com geo-soa-values=ns1.example.com,postmaster.example.com geo-ns-records=ns1.example.com,ns2.example.com geo-ttl=3600 geo-ns-ttl=86400 geo-ip-map-zonefile=/home/ze/tmp/pdns/etc/geo1/zz.countries.nerd.dk.rbldnsd geo-maps=/home/ze/tmp/pdns/etc/geo1 geo-geo2-zone=example.net geo-geo2-soa-values=ns1.example.net,postmaster.example.net geo-geo2-ns-records=ns1.example.net,ns2.example.net geo-geo2-ttl=3600 geo-geo2-ns-ttl=86400 geo-geo2-ip-map-zonefile=/home/ze/tmp/pdns/etc/geo2/zz.countries.nerd.dk.rbldnsd geo-geo2-maps=/home/ze/tmp/pdns/etc/geo2 In my setup, I got this message "[geobackend] Error occured while reading director file /home/ze/tmp/pdns/etc/geo2/zz.countries.nerd.dk.rbldnsd: $RECORD line empty or missing, georecord qname unknown" Well, since I just "touch" the /home/ze/tmp/pdns/etc/geo2/zz.countries.nerd.dk.rbldnsd, it's ok. Again, I didn't test the server, I just made the configuration work. On Wed, Feb 29, 2012 at 2:19 AM, Vasiliy Tolstov <[email protected]>wrote: > 2012/2/29 José Arthur Benetasso Villanova <[email protected]>: > > Hi Đức. > > > > Try this configuration with the patch: > > > > launch=geo:geo1,geo:geo2 > > geo1-zone=geo.domain1.net > > geo2-zone=geo.domain2.net > > > > Basically, you need to tell to PowerDNS that those are different > > configuration, much like kernel modules alias. > > > > The documentation about alias is here: > http://doc.powerdns.com/modules.html > > > > I hope this help. > > > > Sorry for braking thread, but is that possible to get geo backend > domains from database? > For example i want to create on the fly some domains what have geo > part and redirect users for specific ip based on geo. > > -- > Vasiliy Tolstov, > Clodo.ru > e-mail: [email protected] > jabber: [email protected] > -- José Arthur Benetasso Villanova
_______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
