[Unbound-users] Have static records in forwarded zone

Norberto Altalef naltalef at redklee.com.ar
Fri Jul 10 14:36:38 UTC 2015


Hi. I'm am unbound beginner, so take my opinion with caution.

transparent and typeransparent are very similar and only differs in
how manage a query for a record type not included in localdata. See
man unbound.conf

I think you need something like this:

forward-zone:
        name: "domain.com"
        forward-addr: 8.8.8.8

But I'm not how can you avoid that your forward-zone "." take precedence.

I know that you can separate sections with aditional server: lines,
but I don't know how respond in this case.

Regards
Norberto




www.redklee.com.ar
tel [+54] 11 5273 6342
cel [+54 9] 11 5055 9853
linkedin



On Fri, Jul 10, 2015 at 10:26 AM, Alexander Chekalin
<alexander.chekalin at gmail.com> wrote:
>
> Yes, you're right, but I'm not sure if typetransparent solves my question.
>
> What I need is to serve static records from config for several hosts and
> forward all other records to the public recursors like 8.8.8.8 - will
> typetransparent do exactly that?
>
>
>>> So what I'd like to do is to have something like that:
>>>
>>> local-zone: "domain.com" typetransparent
>>> local-data: "mail.domain.com A 192.168.17.2"
>>>
>>> but this won't work.
>>
>> Maybe you meant:
>>
>> local-zone: "domain.com." typetransparent
>> local-data: "mail.domain.com. IN A 192.168.17.2"
>
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users



More information about the Unbound-users mailing list