resolv.conf and a non-standard port
Victor Sudakov
vas at mpeks.tomsk.su
Mon Aug 21 11:08:27 UTC 2017
Eugene Grosbein wrote:
> >
> > How can I configure the resolver to use a DNS server with a
> > non-standard port?
> >
> > I have a host running an authoritative-only server (nsd) for the
> > world, and I want to run local unbound for the host itself (can't use
> > nsd for recursive queries).
> >
> > Unbound can listen on a non-standard port, but how do I configure the
> > host to use the DNS server at 127.0.0.1:5353 ?
>
> I run same configuration. You need not use non-standard port.
> Just bind nsd to external address and unbound to 127.0.0.1
> and you'll be fine.
Please see my response to Bert.
BTW OpenBSD has this feature: 'nameserver [127.0.0.1]:5353'
It can be useful in other scenarios as well.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
AS43859
More information about the freebsd-net
mailing list