I think you just need to specify $domanname = jerry in your init files
somewhere .. normally i put the domain name in /etc/resolv.conf too
(search jerry)
hosts.conf syntax is
IP.ADD.RE.SS tom.jerry tom
Good luck!
-iru
Iqbal H. Khondker wrote:
> As a prerequisite to a software installation in our Linux server
> (Red Hat Enterprise Linux AS release 3), I have to set up domain
> name. The perquisite is simple, the $domainname command should show
> the domain name. In our server when I issue $domainname it shows
> (none).
>
> Say our server name is tom.jerry (not tom.jerry.com). $hostname
> command shows tom.jerry. As a workaround, from $ prompt I can set
> the domain name by typing $domainname jerry and it shows 'jerry' as
> domain name (and I can proceed to software installation) but as
> usual this disappears each time server restarted.
>
> What is the correct way to specify a domain name in a Linux server
> permanently (when server is already configured and running)? Some
> internet sites says update your /etc/hosts file to set domain name
> but I done know the exact syntax. Some says edit /etc/defualtdomains
> which does not exists.
>
> So far I understand, this domain name will only be used by that
> specific software. Any solution/suggetion will be highly appreciated.
>
> Regards
>
>
>
>
>
>
> To unsubscribe send a blank mail to:
> [EMAIL PROTECTED]
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
To unsubscribe send a blank mail to:
[EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/bdlug/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/