[Dnsmasq-discuss] Avoid conflicts between dnsmasq and systemd-resolved. DNS list

Geert Stappers stappers at stappers.nl
Thu Sep 17 18:11:23 BST 2020


On Wed, Sep 16, 2020 at 04:16:40PM +0800, Hongyi Zhao wrote:
> On Wed, Sep 16, 2020 at 3:06 PM Dominick C. Pastore wrote:
> > On Wed, Sep 16, 2020, at 1:36 AM, Geert Stappers wrote:
> > > > > I was a little surprised this one worked since the previous one
> > > > > didn't, but I suspect systemd-resolved is falling back to the
> > > > > FallbackDNS servers (which are hardcoded in if not set explicitly).
> > >
> > > > What's the FallbackDNS servers and how can I find/list them?
> > >
> > > Good question.  The "hardcoded" suggest it is in source code.
> >
> > Yes, that is indeed the case. I'm not aware of what those
> > defaults are, but they can be overridden or unset. See
> > the description of the "FallbackDNS" option here:
> >  http://manpages.ubuntu.com/manpages/bionic/man5/resolved.conf.5.html
> 
> I found some public DNS servers in the source code here:
> 
> https://github.com/systemd/systemd/blob/e66d2eeeeb4332ca94aeb62e95ec76f1f17ee9b7/meson_options.txt#L252

At https://github.com/systemd/systemd/blob/master/meson_options.txt#L252

  option('dns-servers', type : 'string',
       description : 'space-separated list of default DNS servers',
       value : '1.1.1.1 8.8.8.8 1.0.0.1 8.8.4.4 2606:4700:4700::1111 2001:4860:4860::8888 2606:4700:4700::1001 2001:4860:4860::8844')
 

> But I'm not sure whether they are the default/FallbackDNS for systemd-resolvd.
> 
> >
> > (Anyway, I'm not meaning to pull the discussion too far from Dnsmasq.)

I did enjoy the by-catch


Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list