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


Groups > linux.debian.user > #156964

Re: what is the static ip address I assigned to eth0?

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: what is the static ip address I assigned to eth0?
Date 2015-08-28 15:40 +0200
Message-ID <q2s2T-4H9-7@gated-at.bofh.it> (permalink)
References (3 earlier) <q2ejf-1y1-7@gated-at.bofh.it> <q2jCh-Zu-9@gated-at.bofh.it> <q2oLE-6n-21@gated-at.bofh.it> <q2pHI-1s8-35@gated-at.bofh.it> <q2qkq-2bz-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 28 Aug 2015 at 14:45:32 +0300, Reco wrote:

>  Hi.
> 
> On Fri, 28 Aug 2015 12:09:08 +0100
> Brian <ad44@cityscape.co.uk> wrote:
> 
> > On Fri 28 Aug 2015 at 10:01:59 +0000, Curt wrote:
> > 
> > > On 2015-08-28, David Wright <deblis@lionunicorn.co.uk> wrote:
> > > >
> > > > $ host localhost
> > > > Host localhost not found: 3(NXDOMAIN)
> > > > $ ping localhost
> > > > PING localhost (127.0.0.1) 56(84) bytes of data.
> > > > 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.032 ms
> > > 
> > > curty@einstein:~$ host localhost
> > > localhost has address 127.0.0.1
> > > localhost has IPv6 address ::1
> > 
> > To complete the picture:
> > 
> >   brian@desktop:~$ dig -x 127.0.0.1
> > 
> >   ; <<>> DiG 9.9.5-9-Debian <<>> -x 127.0.0.1
> >   ;; global options: +cmd
> >   ;; Got answer:
> >   ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7146
> >   ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
> > 
> >   ;; OPT PSEUDOSECTION:
> >   ; EDNS: version: 0, flags:; udp: 4096
> >   ;; QUESTION SECTION:
> >   ;1.0.0.127.in-addr.arpa.                IN      PTR
> > 
> >   ;; ANSWER SECTION:
> >   1.0.0.127.in-addr.arpa. 10800   IN      PTR     localhost.
> > 
> >   ;; Query time: 24 msec
> >   ;; SERVER: 158.152.1.43#53(158.152.1.43)
> >   ;; WHEN: Fri Aug 28 12:03:15 BST 2015
> >   ;; MSG SIZE  rcvd: 74
> > 
> > host and dig use only the DNS.
> > 
> > Elimar's suggestion to use 'host $(hostname)' will work if hostname is
> > a FQDN. But it shouldn't (or wouldn't) be on a stock Debian system.
> 
> Not unless said 'stock Debian system' has 'search <domain>' stanza
> in /etc/resolv.conf.

Does "search example.org" count? :)

What is not understandable (to me) is why 'host localhost' resolves for
some but not for others and why it is thought 'host $(hostname)' should
resolve in the DNS.

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


Thread

what is the static ip address I assigned to eth0? rlharris@oplink.net - 2015-08-27 09:10 +0200
  [solved] Re: what is the static ip address I assigned to eth0? rlharris@oplink.net - 2015-08-27 09:30 +0200
    Re: [solved] Re: what is the static ip address I assigned to eth0? Jörg-Volker Peetz <jvpeetz@web.de> - 2015-08-27 12:50 +0200
  Re: what is the static ip address I assigned to eth0? Gene Heskett <gheskett@wdtv.com> - 2015-08-27 10:30 +0200
    Re: what is the static ip address I assigned to eth0? Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-08-27 12:10 +0200
      Re: what is the static ip address I assigned to eth0? Hans <hans.ullrich@loop.de> - 2015-08-27 12:30 +0200
        Re: what is the static ip address I assigned to eth0? David Wright <deblis@lionunicorn.co.uk> - 2015-08-27 20:40 +0200
      Re: what is the static ip address I assigned to eth0? "Thomas Schmitt" <scdbackup@gmx.net> - 2015-08-27 12:30 +0200
      Re: what is the static ip address I assigned to eth0? Gene Heskett <gheskett@wdtv.com> - 2015-08-27 18:10 +0200
  Re: what is the static ip address I assigned to eth0? Elimar Riesebieter <riesebie@lxtec.de> - 2015-08-27 12:00 +0200
    Re: what is the static ip address I assigned to eth0? David Wright <deblis@lionunicorn.co.uk> - 2015-08-27 20:40 +0200
      Re: what is the static ip address I assigned to eth0? Elimar Riesebieter <riesebie@lxtec.de> - 2015-08-28 01:00 +0200
        Re: what is the static ip address I assigned to eth0? David Wright <deblis@lionunicorn.co.uk> - 2015-08-28 06:40 +0200
          Re: what is the static ip address I assigned to eth0? Curt <curty@free.fr> - 2015-08-28 12:10 +0200
            Re: what is the static ip address I assigned to eth0? Brian <ad44@cityscape.co.uk> - 2015-08-28 13:10 +0200
              Re: what is the static ip address I assigned to eth0? Reco <recoverym4n@gmail.com> - 2015-08-28 13:50 +0200
                Re: what is the static ip address I assigned to eth0? Brian <ad44@cityscape.co.uk> - 2015-08-28 15:40 +0200
                Re: what is the static ip address I assigned to eth0? Reco <recoverym4n@gmail.com> - 2015-08-28 16:10 +0200
                Re: what is the static ip address I assigned to eth0? Brian <ad44@cityscape.co.uk> - 2015-08-28 16:50 +0200
                Re: what is the static ip address I assigned to eth0? Curt <curty@free.fr> - 2015-08-28 18:20 +0200
                Re: what is the static ip address I assigned to eth0? Brian <ad44@cityscape.co.uk> - 2015-08-28 18:40 +0200
                Re: what is the static ip address I assigned to eth0? David Wright <deblis@lionunicorn.co.uk> - 2015-08-31 02:10 +0200
                Re: what is the static ip address I assigned to eth0? Reco <recoverym4n@gmail.com> - 2015-08-31 09:00 +0200
                Re: what is the static ip address I assigned to eth0? David Wright <deblis@lionunicorn.co.uk> - 2015-08-30 05:10 +0200

csiph-web