Re: domain name of debian
OK--I have a dynamic DNS to my.domain.net, for example.
Now the hostname ends up being computer.my.domain.net.
If I want use email to users on this system, how do I set up exim4 and what
would be the address? user@my.domain.net OR user@computer.my.domain.net
On Tuesday 24 August 2004 15:36, debian-user-digest-request@lists.debian.org
wrote:
> The "domain name" of the local host is the part of its fully qualified
> domain name (FQDN) that follows the first dot.
>
> The FQDN of the local host is its canonical host name (if the latter
> is a FQDN).
>
> The canonical host name of the local host is determined by the
> resolver. In the simplest configuration, where the resolver relies
> on /etc/hosts, the canonical hostname is the first name on the line
> that contains the unqualified hostname as an alias. E.g., suppose the
> hostname is 'foo'. There is a line in /etc/hosts:
>
> 12.13.14.15 foo.bar.com foo
>
> The resolver returns 'foo.bar.com' as the canonical hostname of foo.
> Then the "domain name" of foo is 'bar.com'.
>
> To display the canonical hostname of the local host, do:
>
> hostname --fqdn
>
> To display only the "domain name" part of this you can do:
>
> dnsdomainname
Reply to: