[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IPV6 hosts file (was: Re: That time IPv6 farted in Gene's church (Was Re: forcedeth?))



On Tuesday 28 May 2019 01:49:29 am Reco wrote:

> 	Hi.
>
> On Mon, May 27, 2019 at 05:06:24PM -0400, Gene Heskett wrote:
> > On Monday 27 May 2019 03:19:44 pm Reco wrote:
> > > On Mon, May 27, 2019 at 02:09:45PM -0400, Gene Heskett wrote:
> > > > On Monday 27 May 2019 08:58:14 am rhkramer@gmail.com wrote:
> > > > > On Monday, May 27, 2019 12:41:36 AM Gene Heskett wrote:
> > > > > > On Sunday 26 May 2019 10:09:49 pm Andy Smith wrote:
> > > > >
> > > > > <nothing quoted from Andy Smith, just left there as a
> > > > > reference to "you", below>
> > > > >
> > > > > > You are determined to exterminate any and all users of a
> > > > > > hosts file, staticly defined network. Its ideal for small
> > > > > > home networks.
> > > > >
> > > > > Hmm, that's interesting -- is there an analog to or
> > > > > replacement for the hosts file on ipv6?
> > > >
> > > > According to the default comments in that file, yes. But easy to
> > > > read and understand docs on how to actually do it are somewhat
> > > > hidden on the machine or on the net.
> > >
> > > hosts(5). You'll probably need a text editor too.
> >
> > Thats fine, shows the loop local stuff, but how does one determine
> > the ipv6 address for picnc.coyote.den for instance.
>
> In another news, it also does not show how to 'determine' IPv4 address
> of the host. Yet you manage to do it somehow.
>
> Reco

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, and one to set the search to look in hosts 
first, if that fails send the dns request to the gateway, my router, 
where if dnsmasq doesn't have it cached, the dns request gets sent on to 
my ISP's nameservers. And it all just works, typically in 30 
milliseconds. The only dhcp in the system is in the router, getting its 
outside address from my ISP.s server. The exception is in the router and 
only works when the radio is on because my boys all have smartphones and 
when they visit, I enable the radio but get their phones mac address and 
only talk to it. But if I leave the radio on, I've a neighbor whose 
phone will use it in a heartbeat regardless, and used 80GB of my net 
bandwidth according to my phone bill 2 years ago. I don't see that as 
its not bridged into this system. And although there are radios in 
almost everything these days, I keep those on my side of the router 
disabled. Just plain basic security.

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>


Reply to: