To disable DNS in nmcli, you can use the following command: \n\n\nnmcli connection modify &lt;connection-name&gt; 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.

Disable DNS in nmcli - How to Stop Automatic DNS Configuration

原文地址: https://www.cveoy.top/t/topic/qx69 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录