Task #12157
closed
Change the resolv.conf and dhclient.conf configurations on all the GARR instances
100%
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.
Updated by Andrea Dell'Amico almost 7 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 40
Never mind. The DNS servers provided by the DHCP service can be changed editing the subnet
configuration from the OpenStack dashboard. I'm going to change it right now.
Updated by Andrea Dell'Amico almost 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 40 to 100
I just changed the network configuration on both the GARR regions. The new resolvers should be active in the next 24 hours.