2016-02-24 11:48 GMT+01:00 Roderick <[email protected]>: > Dear Sirs! > > Should the name in /etc/myname include a domain name? Even when I > do not have a static IP registered in a public DNS? > > In "man 5 myname" I read: > > "The file should contain a single line specifying the fully > qualified domain name (FQDN) of the system" > > Does FQDN mean, that anyone in the internet must be able to > resolve the name? Or only resolvable in my machine? >
No, not to everyone on the internet. Just a fully qualified name, which should involve at least a hostname and a top-level domain and a dot in between, with optional parts with domain-names in between. Since "dk." resolves to an A-record, I guess that works as an FQDN. As for how complete myname needs to be depends a lot on what you expect from the machine. Mailservers tend to want to strip the hostname part and default to the domain part of an FQDN if you don't specify otherwise, so for a mailserver, putting "blaha" alone in myname would probably not work out as expected. But for a test-compile-machine in a throw-away VM to see if libblurg can be ported, the name may have zero impact if it isn't well-formed. -- May the most significant bit of your life be positive.

