How to handle dname record in unbound?

all,

When I read source code of unbound,
in the source file iterator.c, a function named handle_cname_response has some comments as follow.
"
/* If there is a (relevant) DNAME, add it to the list.

  • We always expect there to be CNAME that was generated
  • by this DNAME following, so we don’t process the DNAME
  • directly. */

"
Do it means that the authoritative must synthesize a cname record for each dname record? and if the authoritative do not synthesize a cname record from dname record, how to deal with the scenarios?

Hi Lin,

very thanks,
I read the source code again, the basic process logic is in function scrub_normalize,in this function ,unbound synthesize the CNAME record if necessary.

------------------ Original ------------------