Actions
Task #12157
closed
Change the resolv.conf and dhclient.conf configurations on all the GARR instances
Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Jul 11, 2018
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Development, Pre-Production, Production
Description
To permanently change the resolvers on the GARR instances we need to modify the dhclient configuration, otherwise the first lease renewal will set the original values.
From the dhclient.conf configuration, the following options must be removed from the request
directive:
domain-name, domain-name-servers, domain-search, host-name
Then, a restart of the networking service is mandatory to apply the new configuration.
After that, the resolv.conf configuration can be directly managed, as we always do, or we can rely on the resolvconf
tool. If we choose the latter, the resolver configuration must be put inside /etc/resolvconf/resolv.conf.d/base
.
There is no reason to use resolvconf
, btw.
Actions