Categories: Core Linux

Ubuntu Server : How to Change the Resolvers ?

 

On Ubuntu server if you try to edit the resolve.conf file for setting up the resolvers  and to make the changes Permanent you can not simply change the configurations in /etc/resolv.conf …. 

As after every reboot the server will reset the resolvers.

To make the changes permanent Try putting your change in/etc/resolvconf/resolv.conf.d/base as this file is referred and the resolver configuration on the server is setup based up on this file.

Then reboot the server or try to restart resolvconf service on the server and check the /etc/resolv.conf

 

To restart resolveconf use the following command


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

The Ultimate Showdown: Linux vs Windows for VPS Hosting

As the demand for virtual private servers (VPS) continues to grow, businesses and individuals are faced with a crucial decision:…

2 weeks ago

Questions to Ask Your Web Hosting Support Team

Web hosting is a large industry, as many other factors help any web hosting provider to form a company. The…

2 weeks ago

How to Secure Your WordPress Site in 2025

Welcome to the complete guide to WordPress security best practices in 2024. As technology evolves rapidly, implementing strong security measures…

3 weeks ago

Unlocking the Secrets of Hosting: Essential Questions to Ask Hostripples

Hey, wanted to learn about web hosting? Or do you want to start a new website and need hosting? Questions…

3 weeks ago

DDoS Attacks: What You Need to Know for Protection

In today's digital world, the threat of DDoS attacks has become increasingly prevalent. These types of attacks have the power…

1 month ago