Disable DNS in nmcli - How to Stop Automatic DNS Configuration
To disable DNS in nmcli, you can use the following command: \n\n\nnmcli connection modify <connection-name> ipv4.ignore-auto-dns yes\n\n\nReplace <connection-name> with the name of the network connection you want to disable DNS for. After running this command, DNS settings will not be automatically configured for that connection.
原文地址: https://www.cveoy.top/t/topic/qx69 著作权归作者所有。请勿转载和采集!