Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2017 18:08:22 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: resolv.conf and a non-standard port
Message-ID:  <20170821110822.GB45463@admin.sibptus.transneft.ru>
In-Reply-To: <599ABBAE.3080203@grosbein.net>
References:  <20170821102354.GA44676@admin.sibptus.transneft.ru> <599ABBAE.3080203@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170821110822.GB45463>