[Pdns-users] Implementing virtual domains

Robert Mortimer robm at scramworks.net
Tue Sep 29 11:12:49 UTC 2020


both excellent reasons :)

In theory you only need to retain the SOA and NS records so something like:

example.com.            IN SOA  ns.example.net. hostmaster.example.net. (
                                2015071700 ; serial
                                10800      ; refresh (3 hours)
                                3600       ; retry (1 hour)
                                604800     ; expire (1 week)
                                86400      ; minimum (1 day)
                        NS      ns.example.net.
                        DNAME   example.net.

Which should cause example.com to refer everything to example.net.
But there may be issues with that so you may need all of the apex records.

In theory apex DNAME records should work - I've not had that much luck in getting them to do so.
  "Ask not what I can do for the stupid, 
         but what the stupid can do for me" - Graeme Garden
On 28/09/2020 18:06:36, Daniel Miller <dmiller at amfes.com> wrote:
For two excellent reasons:

1. I didn't know they existed.
2. Now that I know they exist - I don't know how to use them.

I've enabled DNAME processing - now I need to understand how to setup
the zone. Do replace the *entire* zone with just a DNAME record? Or do I
need to retain any of the SOA, NS, MX records?


On 9/28/2020 1:06 AM, Robert Mortimer wrote:
> Obvious question any reason why you're not using DNAMEs?
> https://tools.ietf.org/html/rfc2672
> --
> Robm
> 873
>   "Ask not what I can do for the stupid,
>          but what the stupid can do for me" - Graeme Garden
>> On 27/09/2020 21:08:37, Daniel Miller via Pdns-users
>> wrote:
>> I have a number of domains that are simply duplicates of a base domain,
>> e.g. mydomain.com is the primary domain, and we also have mydomain.net
>> and mydomain.info.
>> I'd like to able to configure any/all records only in mydomain.com - and
>> have them "magically" propagated to the designated duplicate domains. I
>> don't believe this is something CNAME or ALIAS records would provide
>> for. But...maybe LUA would?
>> If I'm right - would I do this as a Lua backend, or with Lua records?
>> And preferably if I add new record to the primary domain I don't have to
>> add new Lua records to each of the others.
>> --
>> Daniel
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com
>> https://mailman.powerdns.com/mailman/listinfo/pdns-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200929/438b1460/attachment.htm>

More information about the Pdns-users mailing list