<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#3333ff">
<font size="-1"><font face="Courier New"><big>Thanks Hirantha!<br>
<br>
I've got it half working with your comments :)<br>
<br>
I still think I'm missing something:<br>
</big></font></font><font size="-1"><font face="Courier New"><big>=======================================================</big></font></font><br>
<font size="-1"><font face="Courier New"><big>> www1.test.com<br>
Server: xxx.xxx.xxx.44<br>
Address: xxx.xxx.xxx.44#53<br>
<br>
www1.test.com canonical name = www1.geo.test.com.<br>
www1.geo.test.com canonical name = geo.test.com.<br>
> www1.test.com<br>
Server: xxx.xxx.xxx.44<br>
Address: xxx.xxx.xxx.44#53<br>
<br>
www1.test.com canonical name = www1.geo.test.com.<br>
www1.geo.test.com canonical name = geo.test.com.<br>
> www1.geo.test.com<br>
Server: xxx.xxx.xxx.44<br>
Address: xxx.xxx.xxx44#53<br>
<br>
www1.geo.test.com canonical name = geo.test.com.<br>
=======================================================<br>
<br>
It's getting better :)<br>
<br>
Another thing: what happend if client coutry code is not listed in the
zone? get's no IP at all, I've tested it.<br>
<br>
Gan't get the IP adress yet for www1 (I'm not using www)<br>
<br>
Ideas are VERY welcome!!<br>
<br>
Thanks<br>
Francisco<br>
</big></font></font><br>
hirantha wrote:
<blockquote cite="mid:492C1A1E.1000803@securedpipe.net" type="cite">Hello
Francisco,
<br>
<br>
Francisco Puente wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
Anyone succeeded installing PowerDNS + Geo-Backend?
<br>
</blockquote>
<br>
yes
<br>
<blockquote type="cite"><br>
I'm migrating from Bind to PowerDNS but I need to get Geo working...
<br>
<br>
I'm using "launch=bind,geo" at pdns.conf, starts OK:
<br>
</blockquote>
<br>
I was used launch=gmysql,geo
<br>
<br>
<blockquote type="cite"><br>
...
<br>
Nov 26 06:04:39 Set effective group id to 103
<br>
Nov 26 06:04:39 Set effective user id to 100
<br>
Nov 26 06:04:39 Creating backend connection for TCP
<br>
Nov 26 06:04:39 [bindbackend] Parsing 2 domain(s), will report when
done
<br>
Nov 26 06:04:39 [bindbackend] Warning! Skipping 'hint' zone '.'
<br>
% Nov 26 06:04:39 [bindbackend] Done parsing domains, 0 rejected, 1
new, 0 removed
<br>
Nov 26 06:04:39 [geobackend] Parsing IP map zonefile
<br>
Nov 26 06:04:40 [geobackend] Finished parsing IP map zonefile: added
65494 prefixes, stored in 163454 nodes using 1961448 bytes of memory
<br>
Nov 26 06:04:40 [geobackend] Parsing director map
/usr/local/etc/geo-maps
<br>
Nov 26 06:04:40 [geobackend] Finished parsing 1 director map files, 0
failures
<br>
Nov 26 06:04:40 About to create 3 backend threads for UDP
<br>
Nov 26 06:04:40 Done launching threads, ready to distribute questions
<br>
....
<br>
<br>
but geo is not working for me (nslookup):
<br>
> www1.test.com
<br>
Server: xxx.xxx.xxx.44
<br>
Address: xxx.xxx.xxx.44#53
<br>
<br>
www1.test.com canonical name = geo.test.com.
<br>
================================================
<br>
and the bind zone:
<br>
<br>
$ORIGIN .
<br>
$TTL 10800 ; 3 hours
<br>
test.com. IN SOA ns.test.com. admin.test.com. (
<br>
2008020400 ; Serial
<br>
10800 ; Refresh after 3 hours
<br>
3600 ; Retry after 1 hour
<br>
604800 ; Expire after 1 week
<br>
86400 ) ; Minimum TTL of 1 day
<br>
test.com. IN NS ns.test.com.
<br>
<br>
test.com. IN MX 1 mx.test.com.
<br>
test.com. IN MX 5 mx2.test.com.
<br>
<br>
<a class="moz-txt-link-abbreviated" href="http://www.test.com">www.test.com</a>. IN A 192.168.100.5
<br>
ns.test.com. IN A 192.168.100.10
<br>
mx.test.com. IN A 192.168.100.20
<br>
mx2.test.com. IN A 192.168.100.21
<br>
mail.test.com. IN CNAME mx.test.com.
<br>
</blockquote>
^ This is not a good thing as I know.
<br>
<blockquote type="cite"><br>
www1.test.com. IN CNAME geo.test.com.
<br>
</blockquote>
This is how I did.
<br>
<a class="moz-txt-link-abbreviated" href="http://www.test.com">www.test.com</a>. IN CNAME <a class="moz-txt-link-abbreviated" href="http://www.geo.test.com">www.geo.test.com</a>.
<br>
geo.test.com. NS ns1.test.com. (assuming ns1 is the pdns
server)
<br>
sa.geo.test.com. A 192.168.100.40
<br>
eu.geo.test.com. A 192.168.100.50
<br>
<br>
<br>
cat /usr/local/powerdns/etc/geo-maps/www1
<br>
$RECORD www1
<br>
$ORIGIN geo.test.com.
<br>
#eu
<br>
840 eu
<br>
#sa
<br>
356 sa
<br>
<br>
840 and 356 are bogus values and this is working for me as expected.
<br>
Hope this is helpful.
<br>
<br>
Regards
<br>
Hirantha
<br>
>
<br>
<br>
<blockquote type="cite">pdns.test.com. IN A
xxx.xxx.xxx.44
<br>
geo.test.com. IN NS pdns.test.com.
<br>
<br>
sa.iso.test.com. IN A 192.168.100.40
<br>
sa.iso.test.com. IN A 192.168.100.41
<br>
<br>
eu.iso.test.com. IN A 192.168.100.50
<br>
eu.iso.test.com. IN A 192.168.100.51
<br>
<br>
Anyone can help? is there any good how-to about this?
<br>
<br>
The test.com is of course fake, not real IP's, just a test environment
prior to migrate bind.
<br>
<br>
Thanks in advance
<br>
Francisco
<br>
<br>
<br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________
<br>
Pdns-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://mailman.powerdns.com/mailman/listinfo/pdns-users">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a>
<br>
</blockquote>
<br>
</blockquote>
</body>
</html>