Mark Lanctot wrote:
Pat Farrell;134208 Wrote:
Rather than your named/bind entries are broken.

I'm not sure what you mean here.

named (aka bind) is the program that does DNS resolution.
It is the program running on some server, usually your ISP's that does the name resolution.

If you don't know what it is, that's ok, it is fairly serious geek admin stuff. and we'd be getting fairly far off topic. But your Ubuntu system is fully capable of doing your own DNS resolution, which can be handy.


Host resolution is typically specified by the file
/etc/resolv.conf


Yes, the GUI applet I use to specify DNS servers seems to alter this. Actually in Ubuntu its in /etc/resolvconf/run/resolv.conf - I presume
this is because the aforementioned applet modifies it on-the-fly or
something.

That is usually the case. Names vary with differing distributions.

If you think slimserver is changing it, look at the file, start slimserver, and then look at it again. Do it by hand, open a shell and just enter
cat /etc/resolvconf/run/resolv.conf

Real men use shells.

When I change it with the applet, the changes are reflected here.

As expected, but are there other copies of the file?
try 'locate resolv.conf' at a shell prompt and see if there are extras, if your distro includes the usual locate program.


Then protect it 444.

Dang, I was sure this would do it but on reboot it's wiped clean
again.

If root can't even write to it what the hell is wiping it on reboot?

almost. root can do anything. Period. anything. At best, protecting a file 444 will cause root to whine. At the worst, root will simply ignore it and have its way with it.

There is a reason that Unix/Linux admins do not run as root.


Thanks for the help everybody.  Sorry of accusing SlimServer of doing
this but that's the only change I made and it was working fine before.

It is highly unlikely that slimserver.pl is doing this, but some magic, easy to use, shell script could be doing it as it fires up slimserver


--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html


_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to