I would like to know the answer to this also, but probably for a different reason.
AT&T U-verse customers are forced to use the DNS service in their residential gateway, which would be fine for IPTV and VOIP sessions. However, if I want to install a Raspberry Pi device running Pi-Hole as my primary DNS service, I need to know how to sidestep the U-verse DHCP's primary DNS designation.
--Doc Savage
Fairview Heights, IL
On Sun, 2020-02-16 at 14:36 -0500, Tom Horsley wrote:
I keep seeing signs that "network" will someday disappear
entirely and I'll be forced to use NetworkManager, so the
first question I haven't been able to find an answer
for:
What is the "proper" way to setup a network connection
using nmcli which will get an IP via DHCP, but will ignore
the DHCP provided DNS and use a different DNS server specified
manually? (I can do it using techniques like chattr +i on
/etc/resolv.conf, but that isn't exactly "proper" :-).
_______________________________________________