The Delegation Name Record (DNAME) provides a way to map an entire DNS tree to another namespace.
Here is the DNAME RR Syntax:
<OWNER-NAME> IN DNAME <destination>
As in:
example.com. IN DNAME example.net.
Each node in the mapping behaves as a logical CNAME expansion, so in our case:
www.example.com will be treated as a CNAME lookup to www.example.net. However, there are certain things to know about DNAME's:
Absent an explicit record (such as an A, MX or AAAA), a lookup on the Left-Hand Side of the DNAME will not match anything.
The mapping takes place below the record. In other words:
example.com. IN DNAME example.net.; maps *.example.com to their respective lookups under example.net,; but NOT example.com itself.
Contrary to how a wildcard ...