[nmglug] DNS servers

Eric Streeper eric at xerb.tv
Thu Dec 13 10:23:01 PST 2018


Hey Tom! I did notice they use commas in the example, it may be complaining
because those have been omitted, i.e.

[1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001]

should be

[1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001]

If that doesn't help, here are the next two steps I would propose trying to
see what happens:

1. Only include the first address (1.1.1.1) and see if you can make it work
with that first.

2. Netplan may care about the names of your files, so you could

cp 01-network-manager-all.bak 01-network-manager-all.yaml

then make your changes in 01-network-manager-all.yaml and try applying.

Let me know if any of these work!


On Thu, Dec 13, 2018 at 10:51 AM Tom Ashcraft <trailerdog234 at comcast.net>
wrote:

> Hey Eric,
> I'm trying to configure netplan with Cloudflare domain name servers on my
> Lubuntu 18.04 netbook:
>
> tom at tom-AO722:/etc/netplan$ sudo mv 01-network-manager-all.yaml
> 01-network-manager-all.bak
> tom at tom-AO722:/etc/netplan$ ls
> 01-network-manager-all.bak  config.yaml
> tom at tom-AO722:/etc/netplan$ sudo netplan apply config.yaml
> Invalid YAML at /etc/netplan/config.yaml line 5 column 36: found
> unexpected ':'
> tom at tom-AO722:/etc/netplan$
>
> This is config.yaml:
>
> # Let NetworkManager manage all devices on this system
> network:
>   version: 2
>   renderer: NetworkManager
> nameservers:
>     addresses: [1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001]
>
> Any suggestions?
>
> Tom
>
>
> On Sun, 9 Dec 2018 14:34:07 -0700
> Eric Streeper <eric at xerb.tv> wrote:
>
> > Hey Tom, I guess with 18.04 Ubuntu switched to netplan to manage DNS.
> > You'll need to configure the entry in a yaml file you'll find in
> > /etc/netplan and add something like this:
> >
> > nameservers:
> >     addresses: [1.1.1.1]
> >
> > More thorough examples are here: https://netplan.io/examples
> >
> > On Sun, Dec 9, 2018 at 1:18 PM Tom Ashcraft <trailerdog234 at comcast.net>
> > wrote:
> >
> > > Anyone know how to set up CloudFlare DNS on a home computer running
> > > Kubuntu
> > > 18.04?
> > >
> > >
> > > _______________________________________________
> > > nmglug mailing list
> > > nmglug at lists.nmglug.org
> > > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
> > >
> >
> >
> > --
> > Eric Streeper
> > Founder // CEO Xerb.tv
> > Phone/WhatsApp: +1-310-978-7944
> > Facebook: Eric Streeper
> > Skype: eric at xerb.tv
> > Line: ericstreeper
>
>
> --
> Tom Ashcraft <trailerdog234 at comcast.net>
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>


-- 
Eric Streeper
Founder // CEO Xerb.tv
Phone/WhatsApp: +1-310-978-7944
Facebook: Eric Streeper
Skype: eric at xerb.tv
Line: ericstreeper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nmglug.org/pipermail/nmglug-nmglug.org/attachments/20181213/4aa293d3/attachment.html>


More information about the nmglug mailing list