Re: hostname questions

2002-11-22 Thread Stephen Gran
This one time, at band camp, Michael Heironimus said: > hostname uses the local files for all of its information, not DNS or any > other naming service. hostname tells you what the machine thinks its own > name is, DNS tells you what everybody else thinks the machine's name is. > If you want the ma

Re: hostname questions

2002-11-22 Thread Michael Heironimus
On Fri, Nov 22, 2002 at 05:38:54PM -0500, Stephen Gran wrote: > Which still isn't quite right - the FQDN should be mail.lobefin.net. > > steve:~$ host mercury.lobefin.net > mercury.lobefin.net A 216.158.52.108 > steve:~$ host mail.lobefin.net > mail.lobefin.netA 216.158.52.

Re: hostname questions

2002-11-22 Thread Stephen Gran
Sent that last one too fast, I also wanted to add that it nows shows: mercury:~# hostname mercury mercury:~# hostname -a mercury mail.lobefin.net adsl-216-158-52-98-cust.oldcity.dca.net mercury:~# hostname -s mercury mercury:~# hostname -d lobefin.net mercury:~# hostname --fqdn mercury.lobefin.net

Re: hostname questions

2002-11-22 Thread Stephen Gran
This one time, at band camp, Michael Heironimus said: > On Fri, Nov 22, 2002 at 03:59:04PM -0500, Stephen Gran wrote: > > I have a box, mercury, that handles all the mail for my domain. Doing a > > DNS lookup on it gives the name mail.lobefin.net. /etc/hosts looks like > > this: > > > > 127.0.0.

Re: hostname questions

2002-11-22 Thread Michael Heironimus
On Fri, Nov 22, 2002 at 03:59:04PM -0500, Stephen Gran wrote: > I have a box, mercury, that handles all the mail for my domain. Doing a > DNS lookup on it gives the name mail.lobefin.net. /etc/hosts looks like > this: > > 127.0.0.1 localhost mercury > 216.