Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Tyrone C. Miles on August 21, 2002, 10:10:07 PM
-
I need to add static entries in the DNS. I have a machine that has the hose name Pacific but I want the DNS to also point the alias computersecritytraining to the same machine. What would be the most easy way to do this on esmith.
-
/etc/hosts is the file that you want. You should be able to add a fragment in /etc/e-smith/templates-custom/hosts/ to add a line to your hosts file... You can use 10localhost as a template, if you want to just copy it over and edit it...
-
Bill Talcott wrote:
>
> /etc/hosts is the file that you want. You should be able to
> add a fragment in /etc/e-smith/templates-custom/hosts/ to add
> a line to your hosts file... You can use 10localhost as a
> template, if you want to just copy it over and edit it...
Typo... Copy /etc/e-smith/templates/etc/hosts/10localhost to /etc/e-smith/templates-custom/etc/hosts/30mysites and edit your new 30mysites...
-
Bill Talcott wrote:
> /etc/hosts is the file that you want.
Not so. He wants the names in DNS. Assuming that the DNS entries he wants are internal to his LAN, what he wants is to read is the Hostnames and addresses section of the manual.
http://www.e-smith.org/docs/manual/5.1/admin-hostnames.html
Charlie
-
Thanks guys! e-smith is the best! I always get quick help in the fourms!
-
Charlie Brady wrote:
>
> Bill Talcott wrote:
>
> > /etc/hosts is the file that you want.
>
> Not so. He wants the names in DNS. Assuming that the DNS
> entries he wants are internal to his LAN, what he wants is to
> read is the Hostnames and addresses section of the manual.
>
> http://www.e-smith.org/docs/manual/5.1/admin-hostnames.html
>
> Charlie
More reason not to listen to me. =) Of course, the simple way would end up being the right way...