Re: does a home user on dialup need a domain name?



On Mon, May 07, 2007 at 03:39:07PM -0700, Andrew Sackville-West wrote:
On Mon, May 07, 2007 at 05:12:20PM -0400, Douglas Allan Tutty wrote:
On Mon, May 07, 2007 at 09:03:49PM +0200, Nyizsnyik Ferenc wrote:
On Mon, 7 May 2007 12:33:21 -0400
Douglas Allan Tutty <dtutty@xxxxxxxxxxxxx> wrote:
/etc/hosts:

127.0.0.1 localhost
127.0.0.1 localhost localhost.localdomain

should solve the problem of the FQDN.

192.168.1.1 titan

It does not. uname -n still shows 'titan'.


what about /etc/hostname, requires a reboot, i think.


Looking at man 1 hostname, it looks like /etc/hostname is just the short
hostname. The FQDN comes from /etc/hosts.

The question isn't "how do I set a domain name" (unless it goes
somewhere in addition to hosts) but rather, should I?

I've had one response from someone who does. Is there anyone who
_doesn't_?

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Should /etc/hostname contain the whole FQDN?
    ... myhostname.mydomain.com myhostname ... set those then run /etc/init.d/hostname.sh as root, this gets ran at boot up, but you can run it and reset the hostname this way. ... now when I run hostname -f I get my FQDN, you'll have to restart any services that rely on this as well after changing it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Cannot change hostname permanently
    ... The original hostname is "earth". ... During reboot I see ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: localhost in /etc/hosts
    ... the result of the hostname command depends on the /etc/hosts ... file and if your configuration is incorrect, it may not give you a ... The machine should always have a FQDN, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • changing hostname
    ... I would like to change the hostname of one of my machines without a ... reboot. ... To unsubscribe, ...
    (freebsd-questions)
  • Re: Cannot change hostname permanently
    ... The original hostname is "earth". ... During reboot I see ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)