[Unbound-users] local-zone redirect and cname

Li Yuan liyuan_cn at 163.com
Sat Jul 5 13:17:44 UTC 2014


As an example:
I set this in my conf file:
   local-zone: "aa.com" redirect
   local-data: "aa.com A 1.2.3.4"

forward-zone:
   name: "."
   forward-first: no
   forward-addr: 8.8.8.8
   forward-addr: 8.8.4.4

But I experience this today:
 A domain, say sample.bb.com, has a CNAME test.aa.com, I thought unbound would return 1.2.3.4, but it abnormally returned the real ip address (for example 2.3.4.5) of test.aa.com, which must come from 8.8.8.8 or 8.4.4.4. If I try test.aa.com itself, unbound returns 1.2.3.4.

Why? Will another domain's CNAME override my local-zone redirect configuration?

Thanks very much for help.

Sincerely, Alex from China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20140705/73365127/attachment.htm>


More information about the Unbound-users mailing list