[Pdns-users] PowerDNS GeoIP wildcard domain
cmouse at cmouse.fi
Mon Apr 3 08:13:15 UTC 2017
On Thu, Mar 23, 2017 at 09:17:50AM +0800, Phang WM wrote:
> Currently, I am able to configure the PowerDNS with GeoIP. However, the
> following configuration for wildcard does not work.
> "abc.example.com": [ '%co.abc.example.com','default.abc.example.com']
> "*.abc.example.com": [ '%co.abc.example.com','default.abc.example.com']
> I am able to resolve www.abc.example.com but not abc.example.com
> If I remove "*.abc.example.com": [ '%co.abc.example.com','
> default.abc.example.com'], then can resolved abc.example.com.
> Anyway to have both of them together?
> Thank you
Probably best would be to add some indirection:
in static records
abc.example.com IN CNAME abc-service.example.com
"abc-service.example.com": [ '%co.service.example.com','default.service.example.com']
Using %co.abc.example.com, in your example, would lead to a loop.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Pdns-users