[6387] in RedHat Linux List
Re: How can I pick a domain name?
daemon@ATHENA.MIT.EDU (Wayne Dyer)
Wed Nov 27 07:03:07 1996
Date: Wed, 27 Nov 1996 00:46:33 -0800
From: Wayne Dyer <dwdyer@eskimo.com>
To: redhat-list@redhat.com
In-Reply-To: <199611270226.VAA08643@Max.jrd.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Justin Dobbs said:
> > On Tue, 26 Nov 1996, Ed Osinski wrote:
> >
> > > What can I use as a valid FQDN?
>
> If you want to set a name but you do not have a static ip address,
> try setting the domain to "foobardomain.org," or even "asdf.1234."
> The domain name doesn't even have to be valid if you don't have a
> static ip address. For hostname, pick anything you want (if hostname is
> "fred", the FQDN is "freddy.asdf.1234").
[...]
I'd recommend using a hostname, but don't use a domain. (Trust me, it works...)
> Summing it up, with dynamic IP, set your FQDN and hostname to something
> that couldn't possibly exist on the Internet, or else don't use a hostname
> at all.
Even better, use the ip-up and ip-down scripts to add it to your net
configuration every time you connect. The script runs as root, however,
so that may not be to your security tastes.
From that file:
[snip]
NETDEVICE=$1
# TTYDEVICE=`basename $2`
SPEED=$3
LOCAL_IP=$4
REMOTE_IP=$5
DATE=`date` # set DATE = current time
MYHOST=`host $LOCAL_IP | fgrep Name | cut -c7-`
# update the /etc/hosts file...
#
echo "#
# This file automatically generated by /etc/ppp/ip-up and should
# indicate the correct dynamically allocated IP address below.
#
# This file generated on $DATE
#
127.0.0.1 localhost loopback
$LOCAL_IP $MYHOST dwdyer fizzbaby" > /etc/hosts
[snip]
--
Wayne Dyer :: dwdyer@eskimo.com :: http://www.eskimo.com/~dwdyer/
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null