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

Title: Static Entries
Post 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.
Title: Re: Static Entries
Post by: Bill Talcott 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...
Title: Re: Static Entries
Post by: Bill Talcott 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...
Title: Re: Static DNS Entries
Post by: Charlie Brady 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
Title: Re: Static DNS Entries
Post by: Tyrone C. Miles on August 22, 2002, 03:33:34 AM
Thanks guys! e-smith is the best! I always get quick help in the fourms!
Title: Re: Static DNS Entries
Post by: Bill Talcott 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...