Maybe 3 ways:
1) `sudo nmcli c modify <connection name> ipv4.dns server1,server2` Wasn't sure whether this works with connections that are configured for DHCP or not, but I just tried it and it works. Lucky for you.
2) I had an ISP router that wasn't amenable to DNS/DHCP configuration, but did have the IP Passthrough. I implemented that and put my own router behind it so that I could have my own DHCP/DNS, running on a Pi of course.
3) You should be able to configure your own eth0 NetworkManager .nmconnection file with a static address outside the router's DHCP range that points to whatever DNS servers you want.
1) `sudo nmcli c modify <connection name> ipv4.dns server1,server2` Wasn't sure whether this works with connections that are configured for DHCP or not, but I just tried it and it works. Lucky for you.
2) I had an ISP router that wasn't amenable to DNS/DHCP configuration, but did have the IP Passthrough. I implemented that and put my own router behind it so that I could have my own DHCP/DNS, running on a Pi of course.
3) You should be able to configure your own eth0 NetworkManager .nmconnection file with a static address outside the router's DHCP range that points to whatever DNS servers you want.
Statistics: Posted by bls — Wed Jan 08, 2025 7:06 pm