Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Nate on October 16, 2002, 07:01:39 PM
-
My ISP's name server isn't working correctly. I connect via a cable modem. Some sites, such as www.ravantivirus.com, won't show up because of the nameserver. To test this I added nameserver 127.0.0.1 to resolv.conf and everything works great. So I though I would do a custom template--but the file resolv.conf is created at start time not using the templates. If I do an expand-template /etc/resolv.conf, resolv.conf is created with 127.0.0.1 already in the file--without a custom template. How is the resolv.conf file created at boot up? How can I add "nameserver 127.0.0.1" on a more permanent basis?
thanks,
Nate
-
/etc/e-smith/templates/etc/resolv.conf/20nameserver contains the line "nameserver 127.0.0.1" already. On 5.0U6 with a few minor addons...
-
Yes I know, and mine is the same way. The problem is that the server isn't using the templates to create resolv.conf, it's using info from the dhcp server in the resolv.conf during reboot.
Nate
-
Nate wrote:
> Yes I know, and mine is the same way. The problem is that
> the server isn't using the templates to create resolv.conf,
> it's using info from the dhcp server in the resolv.conf
> during reboot.
That would be a bug if that were the case. And lo! Here it is:
http://www.e-smith.org/bugs/index.php3?op=showBug&bugID=67
Charlie
-
I know the work-around: expand the template.
I like the fix: Upgrade to the current supported release of SME Server.
Not really a helpful solution.
-
Nate wrote:
> I like the fix: Upgrade to the current supported release of
> SME Server.
It works.
You could try:
rpm -Uhv \
ftp://ftp.e-smith.org/pub/e-smith/updates/5.5/Update2/RPMS/\
initscripts-5.83-1es5.i386.rpm
Charlie