Odpowiedzi:
Możesz dodać ten wiersz do /etc/dhcp/dhclient.conf:
supersede domain-name-servers 8.8.8.8, 8.8.4.4;
Następnie uruchom ponownie sieć lub uruchom, dhclientaby wprowadzić zmiany.
Od 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.confwrequestparametrach, których nie chcesz żądać, w przypadku DNS może to byćdomain-name, domain-name-servers, domain-search.