Article 59JA5 DNS aggravation with Ubuntu, some help please.

DNS aggravation with Ubuntu, some help please.

by
lleb
from LinuxQuestions.org on (#59JA5)
Code:# netplan apply
/etc/netplan/01-netcfg.yaml:1:1: Error in network definition: unknown key 'nameservers'
nameservers:
^
root@raylap:/etc/netplan# cat 01-netcfg.yaml
nameservers:
addresses: [192.168.1.132]
addresses: [8.8.8.8, 8.8.4.4]
addresses: [1.1.1.1, 1.1.0.0]I just installed PiHole in my LAN and would like my laptop to point to the 192.168.1.132 IP address for DNS. It currently is not. I attempted to edit the traditional path /etc/resolv.conf to find out that Ubuntu has abandoned trandition and using something horrid called netplan

https://www.techrepublic.com/article...-server-18-04/

following this guide I attempted to address this issue, but netplan refuses to accept nameservers: as a valid input.

So some help would be great. Thank you.latest?d=yIl2AUoC8zA latest?i=24Cp1GGKsLQ:j1DNYOWNSUo:F7zBnMy latest?i=24Cp1GGKsLQ:j1DNYOWNSUo:V_sGLiP latest?d=qj6IDK7rITs latest?i=24Cp1GGKsLQ:j1DNYOWNSUo:gIN9vFw24Cp1GGKsLQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments