also sprach Bob Proulx <[email protected]> [2014-02-12 22:30 +0100]:
>   hostname

fishbowl

>   hostname --fqdn

fishbowl.rw.madduck.net

>   grep $(hostname) /etc/hosts

127.0.1.1 fishbowl.rw.madduck.net fishbowl
::1       localhost ip6-localhost ip6-loopback fishbowl.rw.madduck.net fishbowl

>   grep hosts /etc/nsswitch.conf

files dns

>   getent hosts fishbowl

::1             fishbowl.rw.madduck.net fishbowl localhost ip6-localhost 
ip6-loopback

>   getent hosts fishbowl.rw.madduck.net

::1             fishbowl.rw.madduck.net fishbowl localhost ip6-localhost 
ip6-loopback

> And then whatever it returns for an address do the same there again
> once more please.  I think yours will say 127.0.1.1.  (Which is
> perfectly normal.)

% getent hosts ::1
::1             fishbowl.rw.madduck.net fishbowl localhost ip6-localhost 
ip6-loopback
% getent hosts 127.0.1.1
127.0.1.1       fishbowl.rw.madduck.net fishbowl
% getent hosts 127.0.0.1
127.0.0.1       localhost

>   dpkg -l libnss-myhostname  # is libnss-myhostname installed?

nope.

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
... with a plastic cup filled with a liquid that was almost,
but not quite, entirely unlike tea.
            -- douglas adams, "the hitchhiker's guide to the galaxy"

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to