[Pdns-users] How to set up multiple domains with exactly the same data (domain aliasing)
Frank Altpeter
frank.altpeter at gmail.com
Tue Jun 3 08:46:15 UTC 2025
Hi there,
After unsuccessful search on this topic I subscribed this list hoping to
get a pointer to a solution.
I have a mixed setting with gmysql and bind backend - for historic reasons.
I would like to clean up the bind backend over time to get rid of it, but
there's one thing that prevents me from fully transitioning into database
configuration.
I have customers with several entries like this in my bind backend:
zone "customer.de" IN { type master; file "master/customer/customer.de";
notify yes; };
zone "customer.com" IN { type master; file "master/customer/customer.de";
notify yes; };
zone "customer.net" IN { type master; file "master/customer/customer.de";
notify yes; };
zone "customer.org" IN { type master; file "master/customer/customer.de";
notify yes; };
zone "customer.info" IN { type master; file "master/customer/customer.de";
notify yes; };
zone "customer.biz" IN { type master; file "master/customer/customer.de";
notify yes; };
That's a customer with roundabout 5k domains at the moment, adding more
every few months, all by the same structure. They all share the same zone
file and if there's one change on the zone, I only have to edit one record
and update one serial and then reload to activate the change for all
domains.
As far as I could search, there is no such feature in PowerDNS.
So, is there any way to achieve the same with the gmysql backend? Or is
there a backend that could do that for me (like some kind of alias backend
where one can configure a list of domains and a target domain to fetch
records from)?
I can't get rid of the bind backend if it results in having to edit 5k
domains on a single record change.
With kind regards
Frank
--
FA-RIPE || https://linktr.ee/frank42
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20250603/1c1996b3/attachment.htm>
More information about the Pdns-users
mailing list