Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 13th January 2007, 21:30
Ben Ben is offline
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default ispconfig vs. resolv.conf?

Hi folks,

i added some days ago, a search domain to my resolv.conf.
Due to a reboot (kernel ) i experienced that a lookup using that searchdomain does not work anymore. The problem was the line "search ..." that i added to the resolv.conf disappeared. But i did not change anything, i mean the kernelinstall normally does not affect the resolv.conf (or does it nowerdays?) so only the (re)start of services could be the problem.
So the question is, does ISPConfig write to the resolv.conf and if yes, where can I change the template / or which script is responsible for that?

Reply With Quote
Sponsored Links
Old 13th January 2007, 23:29
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

ISPConfig does not write to the resolv.conf at all.

Is this a virtual server? Which linux distribution do you use? E.G. SuSe is writing to resolv.conf if I remember correctly.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 14th January 2007, 02:13
Clogboy Clogboy is offline
Junior Member
Join Date: Mar 2006
Location: Sydney, Australia
Posts: 19
Thanks: 0
Thanked 1 Time in 1 Post

If you are using DHCP you will most likely find that the DHCP daemon would have overwritten your /etc/resolv.conf upon receiving it's IP address.
Reply With Quote
Old 14th January 2007, 22:21
Ben Ben is offline
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts

@Till: No its a rootserver running Debian Sarge.
@Clogboy: No dhcp is not running.

Well i will just watch it and see what happens on next reboot
Reply With Quote
Old 14th January 2007, 22:40
jnsc jnsc is offline
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts

If you have the resolvconf package installed http://packages.debian.org/stable/net/resolvconf you have to add
 dns-search example.com
to your /etc/network/interfaces file
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fastcgi and php with ispconfig tosser Installation/Configuration 14 18th January 2009 14:41
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 22:01
ISPConfig 2.3.1-dev released till General 0 8th May 2006 23:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16
Recreating ISPConfig database retran Installation/Configuration 2 16th April 2006 00:22

All times are GMT +2. The time now is 22:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.