On 5/17/24 8:23 AM, Tom Horsley wrote:
Yesterday there were a couple of hours long xfinity cable outages and I decided to try to connect over 5G via my phone's hotspot and the built in wireless on my computer's motherboard. It could connect, but I couldn't see anything on the internet, I suspect because I beat NetworkManager into submission with too big a hammer on my normal network setup where it kept not using my internal LAN DNS, so my big hammer was to edit /etc/NetworkManager/NetworkManager.conf in in the mail section add [main] dns=none Then remove the /etc/resolv.conf symlink and replace it with a fixed content file with my local search and dns server so I can lookup names for all my local stuff.
There shouldn't be any reason to break things like that. You can set the DNS server in the interface settings with network manager.
So, my question is: How to override DNS the same way, but only for my hardwired ethernet connection, while allowing me to disable that connection and use my hotspot in time of comcast outage? Heck, it would be even better if I could use both at the same time, the local ethernet to get to other computers in the house and the hotspot to access the internet (but I have a feeling my brain might never be able to wrap around that).
This is possible with split DNS, but I don't know how to do that automatically. I do this with a VPN at work where a certain domain needs to be resolved over the VPN, but I run a script with the DNS commands after connecting.
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue