"theking" <(E-Mail Removed)> wrote in news:4283a39c$0$25908
$(E-Mail Removed):
> I have a linux box on a local network
> This is a redhat 8
Unrelated to your question, but redhat 8 is rather old and has been EOL
for a long time. I just got into trouble with my redhat 9 box on the net
that I have loved dearly for years and years. Script kiddies got in and
spammed thousands from my domain, deposited phishers, viruses, etc, (No
they did not get root) and this caused me a lot of grief. apached was
exploited by the script kiddies.
I asked for help from the linux newsgroups and I got it, but I also got
severely admonished for using an EOL distro on the public internet like
redhat 9. I did not want to hear it but they were right, I threw in the
towel and grabbed fedora core 3 and redid the machine. I cannot tell you
how nice it is to run up2date again or see the flashing red icon in
gnome, telling me that there are 153 updates waiting to be downloaded and
installed. All done, what a feeling, security at last!
Dude, do yourself a favor and ditch the redhat 8. Fedora core is free and
it is the same thing, go and grab it, here:
http://www.linuxiso.org/distro.php?distro=64
If the servers are horribly slow and you cannot get disc 4, here is a
better download link, very fast, you will have it overnight with wget.
http://linux.rz.ruhr-uni-bochum.de/d...386/core3-iso/
About your question, I too have a local LAN and yes, I name all my
machines and it is not a big deal to put the local IP of the machine and
it's name in your /etc/hosts file. Here is mine:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.1 mydomain.com myotherdomain.org ohmster
192.168.0.2 cindy
192.168.0.3 missy
I munged the domain names, it is not necessary for this reply. Do that an
no more "stupid DNS queries because the machine will know that
192.168.0.2 is named "brad" and is a local machine.
There may be a way of "turning off DNS querries" but this is probably a
bad idea, security and all. My IP is static and my LAN machines have NAT
IP addresses that I gave them in the 192.168.0.xx range, so I name the
machines in /etc/hosts. When I first did this years ago, I setup a DHCP
server on the redhat machine (might have been redhat 6 back then.) and it
worked quite well, the LAN machines got an IP from the linux box when
they were turned on and I do not recall having DSN issues back then. It
was pretty neat, would be good if you wanted to just plug more machines
into the hub and away you go with automatic DNS and IP on your local
machines. After changine distros, I did not feel like setting up the DCHP
again, it was a cool learning process and I got it to work, with help
from the usenet linux community, so I now use static IPs.
Not kidding about old distros that are out of date and not "updateable"
anymore, just giving you advice by someone that had just recently "been
there done that" and got whacked because of it.
Cheers,
--
~Ohmster
ohmster at newsguy dot com