Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209313
| From | Gene Heskett <gheskett@shentel.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) |
| Date | 2019-05-28 16:30 +0200 |
| Message-ID | <y2Lh0-3J7-5@gated-at.bofh.it> (permalink) |
| References | <xTi4y-WM-7@gated-at.bofh.it> <y2Jyy-2Bi-3@gated-at.bofh.it> <y2KuB-3bJ-9@gated-at.bofh.it> |
| Organization | none,nada,zip |
On Tuesday 28 May 2019 09:35:17 am Greg Wooledge wrote: > On Tue, May 28, 2019 at 08:32:38AM -0400, Gene Heskett wrote: > > Thats a piece of cake Reco. On a new install, set both the hostname > > and the domainname, then add them, with the ipv4 net address into > > the hosts file. Then make resolv.conf back into a real file, with 2 > > lines, one to set the nameservers address, [...] > > All good so far. > > > and one to set the search to look in hosts > > first, if that fails send the dns request to the gateway, [...] > > We've been over this multiple times before, but apparently it bears > repeating. > > There is nothing in resolv.conf that tells NSS whether to look in > hosts first or in DNS first. That functionality is in the > /etc/nsswitch.conf file. > > The syntax you have described in past threads belonged in > the /etc/host.conf file back in the 1990s. See for example > <https://www.tldp.org/LDP/nag/node82.html>: All I know for sure is that networking doesn't get off the motherboard without it. Wheezy or stretch doesn't make any diff. Stretch is a new install on a new drive. > ========================================================= > A sample file for vlager is shown below: > # /etc/host.conf > # We have named running, but no NIS (yet) > order bind hosts > # Allow multiple addrs > multi on > # Guard against spoof attempts > nospoof on > # Trim local domain (not really necessary). > trim vbrew.com. > ========================================================= > > Somehow, you got things mixed up, and you included part of this syntax > in your /etc/resolv.conf file, and convinced yourself that it was > actually doing something. > > On modern Debian releases (yes, even wheezy) this functionality > is in /etc/nsswitch.conf and the defaults work for almost > everyone, so you probably never had to touch it. See > <http://manpages.debian.org/5/nsswitch.conf> for details. > > ========================================================= > wooledg:~$ grep hosts /etc/nsswitch.conf > hosts: files mdns4_minimal [NOTFOUND=return] dns > ========================================================= > > The "hosts" line in this file is what tells the system to look in > "files" (/etc/hosts) first, and in "dns" last. > > /etc/resolv.conf simply configures how the "dns" lookup works. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
forcedeth? Gene Heskett <gheskett@shentel.net> - 2019-05-02 13:30 +0200
Re: forcedeth? songbird <songbird@anthive.com> - 2019-05-02 14:20 +0200
Re: forcedeth? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-02 20:20 +0200
Re: forcedeth? Gene Heskett <gheskett@shentel.net> - 2019-05-02 22:30 +0200
Re: forcedeth? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-05-25 12:40 +0200
Re: forcedeth? Gene Heskett <gheskett@shentel.net> - 2019-05-25 13:00 +0200
Re: forcedeth? Andy Smith <andy@strugglers.net> - 2019-05-25 13:40 +0200
Re: forcedeth? Gene Heskett <gheskett@shentel.net> - 2019-05-25 17:30 +0200
That time IPv6 farted in Gene's church (Was Re: forcedeth?) Andy Smith <andy@strugglers.net> - 2019-05-27 04:20 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-27 06:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Andy Smith <andy@strugglers.net> - 2019-05-27 08:10 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-27 18:20 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jimmy Johnson <field.engineer@gmail.com> - 2019-05-27 19:20 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Andy Smith <andy@strugglers.net> - 2019-05-28 17:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jimmy Johnson <field.engineer@gmail.com> - 2019-05-28 19:20 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Andy Smith <andy@strugglers.net> - 2019-05-28 20:40 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) <tomas@tuxteam.de> - 2019-05-27 09:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Curt <curty@free.fr> - 2019-05-27 09:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) <tomas@tuxteam.de> - 2019-05-27 11:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jonas Smedegaard <jonas@jones.dk> - 2019-05-27 11:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jimmy Johnson <field.engineer@gmail.com> - 2019-05-27 19:30 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jimmy Johnson <field.engineer@gmail.com> - 2019-05-27 19:30 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Brian <ad44@cityscape.co.uk> - 2019-05-27 22:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jimmy Johnson <field.engineer@gmail.com> - 2019-05-28 08:40 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Erik Christiansen <dvalin@internode.on.net> - 2019-05-28 13:20 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-27 19:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Brian <ad44@cityscape.co.uk> - 2019-05-27 21:30 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-27 23:30 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Brian <ad44@cityscape.co.uk> - 2019-05-28 00:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-28 04:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) mick crane <mick.crane@gmail.com> - 2019-05-28 05:10 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jonas Smedegaard <jonas@jones.dk> - 2019-05-27 21:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-28 00:20 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2019-05-28 05:40 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Curt <curty@free.fr> - 2019-05-28 09:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Reco <recoverym4n@enotuniq.net> - 2019-05-28 10:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) <tomas@tuxteam.de> - 2019-05-28 10:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Jonas Smedegaard <jonas@jones.dk> - 2019-05-28 10:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2019-05-28 18:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Curt <curty@free.fr> - 2019-05-28 18:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-28 14:10 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Erik Christiansen <dvalin@internode.on.net> - 2019-05-28 14:40 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-28 15:10 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Erik Christiansen <dvalin@internode.on.net> - 2019-05-28 15:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-28 17:00 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-05-28 14:50 +0200
Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?) Gene Heskett <gheskett@shentel.net> - 2019-05-27 19:20 +0200
IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) rhkramer@gmail.com - 2019-05-27 15:00 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) <tomas@tuxteam.de> - 2019-05-27 15:20 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-27 20:20 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Reco <recoverym4n@enotuniq.net> - 2019-05-27 21:30 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-27 23:10 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) <tomas@tuxteam.de> - 2019-05-28 06:40 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Reco <recoverym4n@enotuniq.net> - 2019-05-28 07:50 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-28 14:40 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Dan Purgert <dan@djph.net> - 2019-05-28 15:00 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-28 15:10 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Reco <recoverym4n@enotuniq.net> - 2019-05-28 15:10 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-28 15:40 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-28 16:30 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Erik Christiansen <dvalin@internode.on.net> - 2019-05-28 13:10 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) <tomas@tuxteam.de> - 2019-05-28 15:00 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) <tomas@tuxteam.de> - 2019-05-28 15:30 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-28 16:00 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) <tomas@tuxteam.de> - 2019-05-28 16:50 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-28 15:30 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Erik Christiansen <dvalin@internode.on.net> - 2019-05-28 15:40 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-28 16:20 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Gene Heskett <gheskett@shentel.net> - 2019-05-28 15:00 +0200
Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?)) Dan Purgert <dan@djph.net> - 2019-05-28 03:00 +0200
Re: forcedeth? rhkramer@gmail.com - 2019-05-25 18:40 +0200
Re: forcedeth? Gene Heskett <gheskett@shentel.net> - 2019-05-25 19:10 +0200
csiph-web