On Friday 22 August 2008 09:14, Bernd Wurst wrote:
> On a debian system, you don't need to append the domain to
> /etc/hostname. Am am not a Debian admin but I have access to a debian
> machine with this config, verified this immediately. :) So there must
> be a way to specify the domain name the system lives in.

Hi

The answer to this one probably lies in /etc/hosts where I'm guessing 
the FQDN is found.

From "man 1 hostname" on a Debian Etch system (and, I suppose, most 
other Linux platforms as well):

   THE FQDN
       You can’t change the FQDN (as returned by hostname --fqdn) or the 
DNS domain name (as returned by  dnsdomainname)  with  this
       command. The FQDN of the system is the name that the resolver(3) 
returns for the host name.

       Technically: The FQDN is the name gethostbyname(2) returns for 
the host name returned by gethostname(2).  The DNS domain name
       is the part after the first dot.

       Therefore it depends on the configuration (usually 
in /etc/host.conf) how you can change it. Usually (if the  hosts  file  
is
       parsed before DNS or NIS) you can change it in /etc/hosts.


Best regards,
Frederik Dannemare

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to