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


Groups > linux.debian.user > #185922

Re: Question to new network device names

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Question to new network device names
Date 2017-08-25 17:10 +0200
Message-ID <uiopb-5CW-1@gated-at.bofh.it> (permalink)
References <uhYl3-5Ic-3@gated-at.bofh.it> <uieSS-7VN-19@gated-at.bofh.it> <uiflT-8m5-3@gated-at.bofh.it> <uighX-ua-3@gated-at.bofh.it> <uimQr-4zK-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 25 Aug 2017 at 09:22:56 (-0400), Dan Ritter wrote:
> On Fri, Aug 25, 2017 at 02:20:38AM -0400, Gene Heskett wrote:
> > On Friday 25 August 2017 01:27:47 David Wright wrote:
> > 
> > > > But what has that to do with having the proper entry's
> > > > in /etc/resolv.conf?  Whose active lines are:
> > > >
> > > > nameserver 192.168.71.1
> > > > search host,dns
> > >
> > > I can't parse ↑ this line. Are you sure your resolver can?
> > > Why does it contain a comma? Are "host" and "dns" domain names?
> > 
> > From man resolv.conf:
> > 
> > > search Search list for host-name lookup.
> >               The  search  list  is  normally determined from the local domain name; by default, it contains only the local domain
> >               name.  This may be changed by listing the desired domain search path following the search  keyword  with  spaces  or
> >               tabs  separating  the names.
> > 
> > So I have it wrong with my comma, but its been working for about 20 years that way. I'll fix it for S&G. To continue
> 
> That search line makes the default domains to be searched
> ".host" and ".dns". Is that what you want?
> 
> I suspect what you actually want is in /etc/nsswitch.conf:

…which is in the previous line to the quotation above, so this
analogous aside has hopefully closed on a circle.

> hosts:          files dns
> 
> which means "look at /etc/hosts first, then check DNS".
> 
> This is the default, by the way, and has been for at least
> a decade. The most likely override to it is using an alternate
> name resolution protocol like Samba's winbind or such.

…and the longer version that I quoted,

    hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

indicates that I have libnss-mdns installed, related to avahi,
just in case someone comments.

Cheers,
David.

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


Thread

Question to new network device names Hans <hans.ullrich@loop.de> - 2017-08-24 13:20 +0200
  Re: Question to new network device names Dejan Jocic <jodejka@gmail.com> - 2017-08-24 13:40 +0200
  Re: Question to new network device names Jude DaShiell <jdashiel@panix.com> - 2017-08-24 13:50 +0200
  Re: Question to new network device names <tomas@tuxteam.de> - 2017-08-24 14:00 +0200
    Re: Question to new network device names The Wanderer <wanderer@fastmail.fm> - 2017-08-24 15:20 +0200
      Re: Question to new network device names <tomas@tuxteam.de> - 2017-08-24 15:30 +0200
      Re: Question to new network device names Dave Sherohman <dave@sherohman.org> - 2017-08-24 15:40 +0200
        Re: Question to new network device names The Wanderer <wanderer@fastmail.fm> - 2017-08-24 16:00 +0200
        Re: Question to new network device names Dan Ritter <dsr@randomstring.org> - 2017-08-24 16:30 +0200
          Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 17:50 +0200
            Re: Question to new network device names The Wanderer <wanderer@fastmail.fm> - 2017-08-24 18:10 +0200
              Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 18:50 +0200
                Re: Question to new network device names Dan Ritter <dsr@randomstring.org> - 2017-08-24 19:10 +0200
                Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 20:20 +0200
                Re: Question to new network device names The Wanderer <wanderer@fastmail.fm> - 2017-08-25 05:10 +0200
                Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-25 07:30 +0200
            Re: Question to new network device names Dan Ritter <dsr@randomstring.org> - 2017-08-24 18:40 +0200
              Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 21:30 +0200
              Re: Question to new network device names Gene Heskett <gheskett@shentel.net> - 2017-08-25 03:00 +0200
                Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-25 04:30 +0200
                Re: Question to new network device names Gene Heskett <gheskett@shentel.net> - 2017-08-25 07:00 +0200
                Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-25 07:30 +0200
                Re: Question to new network device names Gene Heskett <gheskett@shentel.net> - 2017-08-25 08:30 +0200
                Re: Question to new network device names Dan Ritter <dsr@randomstring.org> - 2017-08-25 15:30 +0200
                Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-25 17:10 +0200
        Re: Question to new network device names Darac Marjal <mailinglist@darac.org.uk> - 2017-08-24 17:50 +0200
          Re: Question to new network device names The Wanderer <wanderer@fastmail.fm> - 2017-08-24 18:00 +0200
            Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 19:00 +0200
              Re: Question to new network device names Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-24 19:40 +0200
                Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 20:00 +0200
      Re: Question to new network device names David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 18:20 +0200
  Re: Question to new network device names Hans <hans.ullrich@loop.de> - 2017-08-25 14:00 +0200

csiph-web