I have a site with a bunch of synonym domains. The site itself accepts all the different domains, and redirects to the correct domain name.
Is there any reason not to configure zones.conf
like so:
zone "correctdomain.com" {
type master;
file "correctdomain.zonefile";
};
zone "synonymdomain.com" {
type master;
file "correctdomain.zonefile";
};
There's nothing in the zone file itself that's tied to the domain name.
Absolutely fine -- with one critically important caveat: You MUST use short names for your records.
but