在我自动生成 resolv.conf
, 我有
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
nameserver 127.0.1.1
search domain1 domain2
我知道推动了OpenVPN连接 nameserver 192.168.1.1
和 search domain1
到我的本地机器。无论如何都要找出添加的网络接口 search domain2
至 resolv.conf
?
man resolvconf