Koozali.org: home of the SME Server

Static Entries

Tyrone C. Miles

Static Entries
« 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.

Bill Talcott

Re: Static Entries
« Reply #1 on: August 22, 2002, 01:41:22 AM »
/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

Re: Static Entries
« Reply #2 on: August 22, 2002, 01:45:08 AM »
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...

Charlie Brady

Re: Static DNS Entries
« Reply #3 on: August 22, 2002, 03:06:17 AM »
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

Tyrone C. Miles

Re: Static DNS Entries
« Reply #4 on: August 22, 2002, 03:33:34 AM »
Thanks guys! e-smith is the best! I always get quick help in the fourms!

Bill Talcott

Re: Static DNS Entries
« Reply #5 on: August 22, 2002, 07:14:42 PM »
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...