Jump to content

purpose of the “resolvconf� service? [SOLVED]


theYinYeti
 Share

Recommended Posts

I was reading this post by Ian about resolvconf and I thought: why does it exist then? But I wasn't able to find the answer on Google…

 

So, what's the purpose of the “resolvconf†service?

Although I did not try, I am under the impression that in my case, disabling this service would break things. This opinion stems from the fact that I use network profiles, and depending on the netprofile I'm currently using, DNS are not the same. But then, maybe the netprofile service handles this, not resolvconf…

 

Do you have any pointer/link for more information?

 

Yves.

Edited by theYinYeti
Link to comment
Share on other sites

I found this:

 

http://en.wikipedia.org/wiki/Resolvconf

 

The last sentence sums it up quite nicely:

 

The resolvconf program is only necessary when a system has multiple programs that need to dynamically modify the nameserver information. In a simple system where the nameservers do not change often or are only changed by one program, the resolv.conf configuration file is adequate.

 

of course, why Mandriva have it installed by default, I've got no idea. And it's not just workstations, server installations seem to have it as well, and it plays havoc with the system when you're trying to use your own DNS server.

 

This is why I disable it as I've never even found anything that requires it. At least as of yet.....

Link to comment
Share on other sites

Hey Ian, thanks for that post, in writing that you have inadvertantly answered my post here:

 

https://mandrivausers.org/index.php?showtop...st&p=505574

 

And it seems to work too. I had no idea you could just disable resolvconf and let resolv.conf do all the work.

 

Sadly as I suspected it doesn't do much for my connection speeds, but I am glad I found an answer to it anyway.

 

EDIT Wrong again, it survived my changing modems but when I rebooted it went back to the default nameserver. Not to worry, as I said it makes very little difference to my connection anyway.

Edited by viking777
Link to comment
Share on other sites

If it went back to default nameserver, then you must be using DHCP perhaps for IP address, and so best thing to do if you have ext3 as file system is to lock the file from modifications. I think it was:

 

chattr +i /etc/resolv.conf

 

then it'll never change again once you've modified it to what you want it to be.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...