[Unbound-users] how to handle dname record in unbound?

lin totopper at qq.com
Thu May 8 08:38:12 UTC 2014


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 ------------------
From:  "W.C.A. Wijngaards";<wouter at nlnetlabs.nl>;
Date:  Thu, May 8, 2014 03:55 PM
To:  "unbound-users"<unbound-users at unbound.net>; 

Subject:  Re: [Unbound-users] how to handle dname record in unbound?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Lin,

On 05/08/2014 09:33 AM, lin wrote:
> 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?

The CNAME is synthesized by unbound itself, but in a different part of
the code.  And thus this part of the code can simply process the
synthesized CNAME.

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTazh7AAoJEJ9vHC1+BF+N3CYQAICHiKYG1iZ0B5OZZdN2b3Kk
fpJW3aoYtL4mtNAjMFE25/+8HKKwU+8PAYrBM17+Vq46fXHRL4D0vKu1mid0HIuE
7MhxhC8Mu1/wO5donE4KZLNdCEFhPYg130N+1RHVGPSLSEZmBnLvWjBaC5LGicLh
hQManuvIeHCF6fQMgMswZbQCSohPk/l51K0tAV4hZhtZYLBesDIra44aAVr5SIQl
wLHHDSPy54A9jXDi8tTBtlTFFuSwuuQdn5dTwa1rEAGYFglwNSxHEwsHoz3aQDmg
vZYe36ZEuyvFd/jUMjkE5A75CcB8Ourd7+bbVntifz4iChExSK/S1iqYSUrigWgd
rouAfAfhff2hZVmCcfj02SdEEQolCKeSpIBsU9CJodrjDS8NlACzv6FZMA4VTvsx
iRGAFVbDDY32mAYdXwCp/xzLLc5xv+2TETcfOyR+E4s1OPQelFa4dfH6RFb888LH
7ww0Ohr8joOjLBYZ0UDpYXK3ds1osyn+5q3PzayRwqUFCddRZgSISeqKb1HdwKcC
ItGvFeK41n6N+Mg7GtmulYu74DpC0Xx7XAyiBAV1+Gkgkz3RTpxF9OhVQUztsMND
DQ8+kx+0RK3s5HtuBLueq3RryQ9o6CR1fmes6G7ZNxmN52OfpmY4Mg08IRjMZd/y
nZxdPZFF5EHYE2fR0tns
=tqCI
-----END PGP SIGNATURE-----
_______________________________________________
Unbound-users mailing list
Unbound-users at unbound.net
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20140508/bc549570/attachment.htm>


More information about the Unbound-users mailing list