Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #158909

Re: a little jessie whinage

From Mart van de Wege <mvdwege@gmail.com>
Newsgroups linux.debian.user
Subject Re: a little jessie whinage
Date 2015-10-11 22:30 +0200
Message-ID <qivpL-2hD-5@gated-at.bofh.it> (permalink)
References <qif1D-3AR-5@gated-at.bofh.it> <qihmO-79d-3@gated-at.bofh.it> <qijeV-1qh-5@gated-at.bofh.it> <qitHj-8cS-13@gated-at.bofh.it> <qiutI-Wa-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Glenn English <ghe@slsware.net> writes:

> 'hostname -f' isn't rocket science -- it's just a small lookup. I
> suspect it goes to ifconfig for the IP then in hosts for the FQDN that
> matches the IP, or, apparently, resolv.conf and hostname.

You shouldn't suspect, it's in the Fine Manual. It calls into the C
library name/address resolution functions, so it uses whatever is
configured in nsswitch.conf; that means /etc/hosts first on a default
install. No need to call in an external resolver for that.

Mart

-- 
"We will need a longer wall when the revolution comes."
    --- AJS, quoting an uncertain source.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

a little jessie whinage Glenn English <ghe@slsware.net> - 2015-10-11 05:00 +0200
  Re: a little jessie whinage David Wright <deblis@lionunicorn.co.uk> - 2015-10-11 07:30 +0200
    Re: a little jessie whinage Glenn English <ghe@slsware.net> - 2015-10-11 09:30 +0200
      Re: a little jessie whinage Brian <ad44@cityscape.co.uk> - 2015-10-11 20:40 +0200
        Re: a little jessie whinage Glenn English <ghe@slsware.net> - 2015-10-11 21:30 +0200
          Re: a little jessie whinage Glenn English <ghe@slsware.net> - 2015-10-11 22:30 +0200
          Re: a little jessie whinage Mart van de Wege <mvdwege@gmail.com> - 2015-10-11 22:30 +0200
          Re: a little jessie whinage Charlie Kravetz <cjk@teamcharliesangels.com> - 2015-10-11 23:00 +0200
            Re: a little jessie whinage Glenn English <ghe@slsware.net> - 2015-10-11 23:10 +0200
            Re: a little jessie whinage Joe <joe@jretrading.com> - 2015-10-11 23:20 +0200
          Re: a little jessie whinage Brian <ad44@cityscape.co.uk> - 2015-10-12 00:20 +0200
  Re: a little jessie whinage <tomas@tuxteam.de> - 2015-10-11 12:20 +0200
    Re: a little jessie whinage tomas@tuxteam.de - 2015-10-11 13:20 +0200
    Re: a little jessie whinage Gene Heskett <gheskett@shentel.net> - 2015-10-11 17:10 +0200
  Re: a little jessie whinage Mart van de Wege <mvdwege@gmail.com> - 2015-10-11 22:20 +0200
    Re: a little jessie whinage Glenn English <ghe@slsware.net> - 2015-10-11 22:30 +0200
      Re: a little jessie whinage Mart van de Wege <mvdwege@gmail.com> - 2015-10-11 23:30 +0200
      Re: a little jessie whinage Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-12 00:00 +0200
      Re: a little jessie whinage David Wright <deblis@lionunicorn.co.uk> - 2015-10-12 06:50 +0200
        Re: a little jessie whinage Glenn English <ghe@slsware.net> - 2015-10-12 09:40 +0200
          Re: a little jessie whinage Seeker <seeker5528@comcast.net> - 2015-10-13 04:00 +0200
            Re: a little jessie whinage Mart van de Wege <mvdwege@gmail.com> - 2015-10-13 10:40 +0200
            Re: a little jessie whinage Brian <ad44@cityscape.co.uk> - 2015-10-13 15:10 +0200

csiph-web