On Fri, Oct 29, 2021 at 8:30 PM Zé Loff <[email protected]> wrote:

> This works for me:
>
>
> /etc/hostname.em0:
>
>     inet autoconf
>
>
> /etc/resolv.conf:
>
>     nameserver 127.0.0.1
>
>
> /etc/dhcpleased.conf:
>
>     interface em0 {
>         ignore dns
>     }
>
>
My dhcpleased.conf is similar (interface urtwn0 ignore dns), but it does
not seem to work. resolvd just overwrites the resolv.conf with the ISP DNS.
If I disable resolvd and I leave only nameserver 127.0.0.1 the unbound
works as expected.

Now, my question is when ignore dns from dhcpleased.conf is considered? The
man page states "Ignore nameservers from leases on this interface" but
maybe I am not reading it correctly?

Reply via email to