[nmglug] DNS servers

Tom Ashcraft trailerdog234 at comcast.net
Thu Dec 13 09:50:39 PST 2018


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>


More information about the nmglug mailing list