[Hostname-devel] Bug#718393: Bug#718393: hostname --all-fqdns is broken: doesn't list the FQDN

Vincent Lefevre vincent at vinc17.net
Sun Sep 8 19:33:40 UTC 2013


On 2013-09-08 18:16:16 +0200, Michael Meskes wrote:
> On Sun, Sep 08, 2013 at 02:47:56PM +0200, Vincent Lefevre wrote:
> > Because of the issues mentioned above, the sentence "See the warnings
> > in section THE FQDN above, and avoid using this option; use hostname
> > --all-fqdns instead." for --fqdn must be removed.
> 
> That I don't understand.

Well, "See the warnings in section THE FQDN above" is OK. But
"avoid using this option; use hostname --all-fqdns instead."
is not. If one wants the (standard) FQDN of the machine, then
"hostname --fqdn" is the way to do, not "hostname --all-fqdns",
which may return local names or nothing.

> > But /etc/hosts isn't part of the DNS (see the hosts(5) man page).
> > This why dig, which is a "DNS lookup utility", doesn't use it.
> > So, if you take /etc/hosts entries into account and say
> > "reverse *DNS* entry", you are lying.
> 
> Relax! Either we're talking about improving software or we insult each other.
> If you prefer the latter please look for a different place as I will not play
> this game.

I'm not insulting you, I just explain that the man page says something
wrong. I think that replacing "reverse DNS entry" by "reverse IP entry"
would be OK (the term "reverse IP" is commonly used, and here it is
more generic than just DNS).

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Hostname-devel mailing list