Maintained by: NLnet Labs

[Unbound-users] BINDs views in unbound

Artis Caune
Fri Mar 27 10:45:49 CET 2009


2009/3/26 Artis Caune <artis.caune at gmail.com>:
> I can achieve bind views functionality in unbound with two unbound daemons:
>
> - firs unbound daemon is listening on all interfaces and has no
> local-zone/local-data entries.
>
> - second unbound is listening on localhost and different port:
>    server:
>        port: 54
>        interface: 127.0.0.1
>        local-zone: myzone.lv transparent
>        include: /usr/local/etc/unbound/zone-myzone.lv
>
> - redirect internal hosts to localhost (FreeBSD pf):
>    table <int-dns> const { 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, ... }
>    rdr pass proto udp from <int-dns> to port 53 -> 127.0.0.1 port 54
>    rdr pass proto tcp from <int-dns> to port 53 -> 127.0.0.1 port 54
>
> Is this kind of setup okay? Maybe it can be done with one unbound daemon?

actually this don't work, sockets are conflicting?:
Mar 27 11:21:02 cache unbound: [10703:3] notice: sendmsg failed: Can't
assign requested address
Mar 27 11:21:02 cache unbound: [10703:3] notice: remote address is
192.168.195.39 port 43962

there is lot of such entries for different ips, and unbound sometimes
is not answering queries.


what means these entries?
Mar 27 11:30:24 cache unbound: [10784:3] notice: sendto failed: Invalid argument
Mar 27 11:30:24 cache unbound: [10784:3] notice: remote address is
::ffff:209.66.91.13 port 53




-- 
regards,
Artis Caune

<----. CCNA | BSDA
<----|====================
<----' didii FreeBSD