回答:
以下にこの行を追加できます/etc/dhcp/dhclient.conf
。
supersede domain-name-servers 8.8.8.8, 8.8.4.4;
次に、ネットワークを再起動するか、実行dhclient
して変更を加えます。
からman dhclient.conf
:
The supersede statement
supersede [ option declaration ];
If for some option the client should always use a locally-configured
value or values rather than whatever is supplied by the server, these
values can be defined in the supersede statement.
/etc/dhcp/dhclient.conf
でrequest
それができるDNSのために、あなたが要求したくないということなパラメータdomain-name, domain-name-servers, domain-search
。