Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-26 Thread David Wright
On Thu 26 Oct 2023 at 07:58:45 (+0800), jeremy ardley wrote:
> On 26/10/23 07:24, David Wright wrote:
> > > Or if you already have a domain, you can use a subdomain. eg. I have
> > > rail.eu.org, and at home it is depot.rail.eu.org
> > I'm not sure how that would work when my home network
> > is on a different continent from my domain's hosting.
> 
> This is no problem asides from DNS.
> 
> You will have DNS records set up for your hosted service  with public
> IP addresses. It's quite straight forward to add a subdomain and
> assign non routable IP addresses to it.
> 
> Downside is it will look odd to an observer, and will leak some info
> about your internal network.
> 
> As an alternative you can still use the same naming convention but not
> put it in the public domain. This will require you to set up your own
> internal DNS service or hosts files and have DNS queries resolved
> locally without going to the external DNS server.

I use hosts files, as my inexpensive router has no DNS facility to
parallel its DHCP service. Setting up an internal DNS would just be
extra work, another chance of inconsistency, and depend on an
individual machine always being up.

My machines send external DNS requests to the router, which is
configured to forward them to Google. Currently I still use .corp
as my domain name, and find it least confusing if anything with
"lionunicorn…" in it is an external address.

Cheers,
David.



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-25 Thread Dan Purgert
On Oct 26, 2023, jeremy ardley wrote:
> 
> On 26/10/23 07:24, David Wright wrote:
> > > Or if you already have a domain, you can use a subdomain. eg. I have
> > > rail.eu.org, and at home it is depot.rail.eu.org
> > I'm not sure how that would work when my home network
> > is on a different continent from my domain's hosting.
> 
> 
> This is no problem asides from DNS.
> 
> You will have DNS records set up for your hosted service  with public IP
> addresses. It's quite straight forward to add a subdomain and assign non
> routable IP addresses to it.
> 
> Downside is it will look odd to an observer, and will leak some info about
> your internal network.
> 
> As an alternative you can still use the same naming convention but not put
> it in the public domain. This will require you to set up your own internal
> DNS service or hosts files and have DNS queries resolved locally without
> going to the external DNS server.

Indeed, split-horizon DNS is quite good for this "problem".


-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860


signature.asc
Description: PGP signature


Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-25 Thread jeremy ardley



On 26/10/23 07:24, David Wright wrote:

Or if you already have a domain, you can use a subdomain. eg. I have
rail.eu.org, and at home it is depot.rail.eu.org

I'm not sure how that would work when my home network
is on a different continent from my domain's hosting.



This is no problem asides from DNS.

You will have DNS records set up for your hosted service  with public IP 
addresses. It's quite straight forward to add a subdomain and assign non 
routable IP addresses to it.


Downside is it will look odd to an observer, and will leak some info 
about your internal network.


As an alternative you can still use the same naming convention but not 
put it in the public domain. This will require you to set up your own 
internal DNS service or hosts files and have DNS queries resolved 
locally without going to the external DNS server.




Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-25 Thread David Wright
On Wed 25 Oct 2023 at 08:33:25 (+0200), Erwan David wrote:
> Le 25/10/2023 à 03:47, David Wright a écrit :
> > On Mon 23 Oct 2023 at 12:06:05 (+0200), Christian Groessler wrote:
> > > On 10/23/23 07:29, Jeffrey Walton wrote:
> > > > On Mon, Oct 23, 2023 at 1:24 AM ghe2001  wrote:
> > > > > How about a /29 or so, named "here.", hosts named 2 or 
> > > > > 3 letter abbreviations of what you call the computers, with 
> > > > > unroutable IPs, DNS'ed in /etc/hosts (with shortcuts).
> > > > Whatever you come up with for , ICANN can add to the
> > > > gTLD namespace; see .
> > > Just register a daomain and use that.
> > That costs money, and I can't see the point when there are TLDs
> > that are perfectly safe already available, like .home.arpa, and
> > before that, .{corp,home,mail}.
> > 
> Or if you already have a domain, you can use a subdomain. eg. I have
> rail.eu.org, and at home it is depot.rail.eu.org

I'm not sure how that would work when my home network
is on a different continent from my domain's hosting.

Cheers,
David.



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-25 Thread Erwan David

Le 25/10/2023 à 03:47, David Wright a écrit :

On Mon 23 Oct 2023 at 12:06:05 (+0200), Christian Groessler wrote:

On 10/23/23 07:29, Jeffrey Walton wrote:

On Mon, Oct 23, 2023 at 1:24 AM ghe2001  wrote:

How about a /29 or so, named "here.", hosts named 2 or 3 letter 
abbreviations of what you call the computers, with unroutable IPs, DNS'ed in /etc/hosts (with 
shortcuts).

Whatever you come up with for , ICANN can add to the
gTLD namespace; see .

Just register a daomain and use that.

That costs money, and I can't see the point when there are TLDs
that are perfectly safe already available, like .home.arpa, and
before that, .{corp,home,mail}.

Cheers,
David.


Or if you already have a domain, you can use a subdomain. eg. I have 
rail.eu.org, and at home it is depot.rail.eu.org



--
Erwan David



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-24 Thread Marco M.
Am 25.10.2023 um 03:40:46 Uhr schrieb ghe2001:

> TLD '.lan' works.  As best I can tell on the web, it doesn't exist.  

Is it intended for that?
No?
Then don't use it. It can be used in the future for public domains.



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-24 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


--- Original Message ---
On Tuesday, October 24th, 2023 at 7:47 PM, David Wright 
 wrote:


> On Mon 23 Oct 2023 at 12:06:05 (+0200), Christian Groessler wrote:
> 
> > On 10/23/23 07:29, Jeffrey Walton wrote:
> > 

> > Just register a daomain and use that.
> 
> 
> That costs money, 

It's probably slower than the Ethernet cable (or modern WiFi) to the next room, 
too.

> and I can't see the point when there are TLDs
> that are perfectly safe already available, like .home.arpa, and
> before that, .{corp,home,mail}.

TLD '.lan' works.  As best I can tell on the web, it doesn't exist.  

--
Glenn English
-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJlOI4jCZCf14YxgqyMMhYhBCyicw9CUnAlY0ANl5/XhjGC
rIwyAAA4aQgAg3ynKpks+IHyX+b6F6NVclPhRTQp6Pudv5Z88EyhnKtphx54
Mcp7uYIQE+ibwLo00qKKfGkrvhfUk16ClRLfB9yN1iGzhBEgL1FS5bsKYaaU
9klf/51ks+sECp5blLvBFERhfUrVg0yOKANr4t0nep6aRWYsqikk79SfQRMP
6walXOtoG+FOdSfLzV1SIlZzULCXk1BmH1ouoABRv7KkLRjYK4Yi5fsjhRdz
r4tTTXAP4MvF3bJs5odxf99uk9o94uUO5P3fKDSDGsjPZN3RULmieRkqAX4o
2VR/dICquHTWjaSVwOtq0rgNkppBzC9SgFPb3AaTPpwMvb1suEA0Rw==
=xpps
-END PGP SIGNATURE-



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-24 Thread David Wright
On Mon 23 Oct 2023 at 12:06:05 (+0200), Christian Groessler wrote:
> On 10/23/23 07:29, Jeffrey Walton wrote:
> > On Mon, Oct 23, 2023 at 1:24 AM ghe2001  wrote:
> > > 
> > > How about a /29 or so, named "here.", hosts named 2 or 3 
> > > letter abbreviations of what you call the computers, with unroutable IPs, 
> > > DNS'ed in /etc/hosts (with shortcuts).
> > 
> > Whatever you come up with for , ICANN can add to the
> > gTLD namespace; see .
> 
> Just register a daomain and use that.

That costs money, and I can't see the point when there are TLDs
that are perfectly safe already available, like .home.arpa, and
before that, .{corp,home,mail}.

Cheers,
David.



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread gene heskett

On 10/23/23 16:35, Andy Smith wrote:

Hello,

On Sun, Oct 22, 2023 at 10:33:47PM -0400, gene heskett wrote:

On 10/22/23 20:48, Greg Wooledge wrote:

Any issues you've encountered have been the result of misconfiguration.
You have repeatedly shown errors in your config files, and once those
have been corrected, everything has worked as expected.


This is generally true, Greg, and I get that, but every new version, which
should just continue what works, doesn't cuz somebody moved a config file


I'm afraid that *you* are the person who has moved or broken your
config files with relation to name resolution in every case you've
ever described here. All of it has been user error. You've never yet
shown an example of any change designed to make hosts files work
less well (or not at all). That is just a belief you have and
continue to state as if it's fact, but at no time has it stood up to
scrutiny.

Then perhaps you can explain to me, why Ican fillout the data tonget 
online with a netinstall installer, download and instal 6 or 8 Gn of 
stuff, and when it is time to reboot the new snstall, it comes back up 
with a default route in the 169 block, locking me out of net access 
until I rm by brute root force any and everything to do with avahi for 
starters? At that point I'm locked out of net access even to the other 
still working machines on my home net. Explain to me how I've just 
pulled close to 8 GB in from the net,  but the totally bogus avahi 169 
address is the default route when its been thru the first reboot.


Go ahead, But I'm listening for factual info, not the above innuendo and 
 false accusations I did something wrong. I'm not doing anything the 
installer didn't ask me to do.  22 times before someone told me to 
unplug my weeping willow tree of usb stuff in order to get an install 
w/o orca and brltty which it installed and activated w/o asking me if I 
wanted it just because it was finding 2 usb-serial adapter's and assumed 
I was blind. Once that stuff is enabled and you rm it to get some peace 
and quiet, it won't reboot as it waits forever to bring them back up. So 
when I needed to reboot the only way to reboot was to reinstall.  And 
I'm been catching hell ever since just because I wanted a working 
system, which even now I don't have.


My /home is a raid10, but anything that wants to write to it, has to 
wait anywhere from 30 seconds to 5 minutes before the file requestor 
asking where to put this incoming file opens. Its /my/ raid, I own it 
all, why and what is getting in the way?  A question I have asked 
several times without even the courtesy of a reply.


A recent kernel update seemed to speed that up some, the wait is now a 
much more consistent 30 seconds but it is still there for the first 
access and now instant after that initial wait.


Am I the only one on the planet using a quad of 1T Samsung 870 SSD's for 
a raid10 /home?



Those reading this later need to believe Greg's statements and not
Gene's.


Thanks for the no confidence vote Andy but I'l stand by what I wrote. It 
has all happened to /me/.



Thanks,
Andy



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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread gene heskett

On 10/23/23 14:09, Greg Wooledge wrote:

On Mon, Oct 23, 2023 at 12:12:50PM -0400, gene heskett wrote:

Google seems to have high jacked port 80


https://lists.debian.org/msgid-search/0a8b96aa-8630-ee5c-5135-59221c55b...@shentel.net


They have, chromium, the google browser, absolutely cannot be sent to
http://localhost:80 on any arm system here at the Heskett Ranchette. FF can,
but not chromium, its doing a failed advertising lookup on google instead.



My mistake, I'm not a huge chrome fan, its google, spit.

But on armbian jammy its the default browser and you can't change that 
either. Amazingly it seems to work normally to localhost6, but there's 
nothing there, its all on port 80. So we are forced to use FF which Just 
Works for ipv4 addresses.



I don't have Chromium, but I do have Google Chrome installed.

ii  google-chrome-stable 118.0.5993.88-1 amd64The web browser from 
Google

Whatever issue you're seeing, I'm not able to reproduce it.  If I run
a service on localhost port 80, and then paste http://localhost:80 into
the URL bar in Chrome (copied directly from your email), it connects
to the localhost service.


Which it should Just Do, but on armbian jammy, no.


unicorn:~$ sudo tcpserver -v 0 80 /usr/bin/printf 'hello world\r\n'
tcpserver: status: 0/40
tcpserver: status: 1/40
tcpserver: pid 473439 from 127.0.0.1
tcpserver: ok 473439 localhost:127.0.0.1:80 localhost:127.0.0.1::45292
tcpserver: end 473439 status 0
tcpserver: status: 0/40

unicorn:~$ grep localhost /etc/hosts
127.0.0.1   localhost
::1 localhost ip6-localhost ip6-loopback


And I'm 150 miles from the nearest ipv6 access point.


unicorn:~$ grep hosts /etc/nsswitch.conf
hosts:  files mdns4_minimal [NOTFOUND=return] dns

There's no conspiracy here.  There's no "every few years Debian changes
something and I have to scramble to fix it".  This stuff just works, Gene.
For everybody except you.


gene@bpi55:~$ grep localhost /etc/hosts
127.0.0.1   localhost
::1 localhost bananapim5 ip6-localhost ip6-loopback
gene@bpi55:~$ grep hosts /etc/nsswitch.conf
hosts:  files mymachines dns myhostname

Take care & stay well, Greg.

.


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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread Andy Smith
Hello,

On Sun, Oct 22, 2023 at 10:33:47PM -0400, gene heskett wrote:
> On 10/22/23 20:48, Greg Wooledge wrote:
> > Any issues you've encountered have been the result of misconfiguration.
> > You have repeatedly shown errors in your config files, and once those
> > have been corrected, everything has worked as expected.
> 
> This is generally true, Greg, and I get that, but every new version, which
> should just continue what works, doesn't cuz somebody moved a config file

I'm afraid that *you* are the person who has moved or broken your
config files with relation to name resolution in every case you've
ever described here. All of it has been user error. You've never yet
shown an example of any change designed to make hosts files work
less well (or not at all). That is just a belief you have and
continue to state as if it's fact, but at no time has it stood up to
scrutiny.

Those reading this later need to believe Greg's statements and not
Gene's.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread Andrew M.A. Cater
On Mon, Oct 23, 2023 at 02:09:31PM -0400, Greg Wooledge wrote:
> On Mon, Oct 23, 2023 at 12:12:50PM -0400, gene heskett wrote:
> > > > Google seems to have high jacked port 80
> > > 
> > > https://lists.debian.org/msgid-search/0a8b96aa-8630-ee5c-5135-59221c55b...@shentel.net
> > > 
> > They have, chromium, the google browser, absolutely cannot be sent to
> > http://localhost:80 on any arm system here at the Heskett Ranchette. FF can,
> > but not chromium, its doing a failed advertising lookup on google instead.
> 

Gene,

Admittedly on amd64 virtual machine but as a datum point. With Gnome, nginx
and Chromium installed - thus a working web server on the same machine

Chromium works perfectly to serve http://localhost:80 and serves the 
nginx page perfectly

Cannot reproduce,

Andy

> I don't have Chromium, but I do have Google Chrome installed.
> 
> ii  google-chrome-stable 118.0.5993.88-1 amd64The web browser from 
> Google
> 
> Whatever issue you're seeing, I'm not able to reproduce it.  If I run
> a service on localhost port 80, and then paste http://localhost:80 into
> the URL bar in Chrome (copied directly from your email), it connects
> to the localhost service.
> 
> unicorn:~$ sudo tcpserver -v 0 80 /usr/bin/printf 'hello world\r\n'
> tcpserver: status: 0/40
> tcpserver: status: 1/40
> tcpserver: pid 473439 from 127.0.0.1
> tcpserver: ok 473439 localhost:127.0.0.1:80 localhost:127.0.0.1::45292
> tcpserver: end 473439 status 0
> tcpserver: status: 0/40
> 
> unicorn:~$ grep localhost /etc/hosts
> 127.0.0.1   localhost
> ::1 localhost ip6-localhost ip6-loopback
> 
> unicorn:~$ grep hosts /etc/nsswitch.conf 
> hosts:  files mdns4_minimal [NOTFOUND=return] dns
> 
> There's no conspiracy here.  There's no "every few years Debian changes
> something and I have to scramble to fix it".  This stuff just works, Gene.
> For everybody except you.
> 



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread Greg Wooledge
On Mon, Oct 23, 2023 at 12:12:50PM -0400, gene heskett wrote:
> > > Google seems to have high jacked port 80
> > 
> > https://lists.debian.org/msgid-search/0a8b96aa-8630-ee5c-5135-59221c55b...@shentel.net
> > 
> They have, chromium, the google browser, absolutely cannot be sent to
> http://localhost:80 on any arm system here at the Heskett Ranchette. FF can,
> but not chromium, its doing a failed advertising lookup on google instead.

I don't have Chromium, but I do have Google Chrome installed.

ii  google-chrome-stable 118.0.5993.88-1 amd64The web browser from 
Google

Whatever issue you're seeing, I'm not able to reproduce it.  If I run
a service on localhost port 80, and then paste http://localhost:80 into
the URL bar in Chrome (copied directly from your email), it connects
to the localhost service.

unicorn:~$ sudo tcpserver -v 0 80 /usr/bin/printf 'hello world\r\n'
tcpserver: status: 0/40
tcpserver: status: 1/40
tcpserver: pid 473439 from 127.0.0.1
tcpserver: ok 473439 localhost:127.0.0.1:80 localhost:127.0.0.1::45292
tcpserver: end 473439 status 0
tcpserver: status: 0/40

unicorn:~$ grep localhost /etc/hosts
127.0.0.1   localhost
::1 localhost ip6-localhost ip6-loopback

unicorn:~$ grep hosts /etc/nsswitch.conf 
hosts:  files mdns4_minimal [NOTFOUND=return] dns

There's no conspiracy here.  There's no "every few years Debian changes
something and I have to scramble to fix it".  This stuff just works, Gene.
For everybody except you.



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread gene heskett

On 10/22/23 22:55, Max Nikulin wrote:

On 23/10/2023 04:43, gene heskett wrote:


As I keep repeating Dan, there is not a local dns, its all a 15 entry 
hosts file atm. So that cannot bite /me/.


It can. Some day .den TLD may be registered and chosen by a 3d printer 
manufacturer. It might happen that you would not be able to access docs 
for your shiny new device and you would claim something like



Google seems to have high jacked port 80


https://lists.debian.org/msgid-search/0a8b96aa-8630-ee5c-5135-59221c55b...@shentel.net


They have, chromium, the google browser, absolutely cannot be sent to
http://localhost:80 on any arm system here at the Heskett Ranchette. FF 
can, but not chromium, its doing a failed advertising lookup on google 
instead. Still works normally on wintel hdwe, but not on arm's.  And I 
use bananapi-m5's to run klipper and friends on a couple tables full of 
3d printers here.  And except for an rpi4b doing a different job, they 
ALL run on debian bookworm/arm64 or ubuntu jammy/arm64 repos.


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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


--- Original Message ---
On Sunday, October 22nd, 2023 at 11:29 PM, Jeffrey Walton  
wrote:



> Whatever you come up with for , ICANN can add to the
> 
> gTLD namespace; see https://icannwiki.org/Brand_TLD.
> 
> 
> The DNS queries for fii.xy (a typo) will escape your homenet when you
> meant to type foo.xy (the target).

Hadn't thought of that, but a shortcut name in the hosts file fixes it all.

For example: One of my computers is called gobook3 (makes sense to me).  In 
hosts, it's shortcut is 'gb'.  'ping gb' does what's expected.  'ping gv' says 
'ping: gv: Name or service not known'.  And I've had no reason to rattle 
ICANN's cage(s) -- it's all local.

/etc/hosts has worked just fine for me since I became aware of IP and put up a 
little Internet domain (I disabled it a few years ago when my brain hit 75 
years old and the ISP raised their rates).

--
Glenn English

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJlNpbgCZCf14YxgqyMMhYhBCyicw9CUnAlY0ANl5/XhjGC
rIwyAABxJgf/TiRVNvnU6+/TWEslmJQdit8GwdWRVDt2Qt4COngONjquR1jW
4Z+N55do+UwwPsHPkmZDaSE2yWkVwhfi1Yvr+ET2P8bUHgishQ6WevV2rOhB
2guatFVXb7B/DbYIfAU+/YAJPOwoNCLB95kH/Z0yh0gXjpZHl0eMeXWg+T9M
VoGlJQlc1YoWHBVUPqx+eowTAnuW0FhWP3aO9t1lj+AkuJiQpvv2Othhwkok
vzX2oSIUUGxSegaeHQ+l2OzB4Sv8FKtn1JWOQvYW8Vzm33N6XiBjS8IAWdfx
UJUBjZH6UZiJoNosKxdlwfrSqoR0DwCgBb1Eilboy7XSzp8r/m47dA==
=Ly3y
-END PGP SIGNATURE-



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread gene heskett

On 10/22/23 22:37, John Hasler wrote:

Gene writes:

This is generally true, Greg, and I get that, but every new version,
which should just continue what works, doesn't cuz somebody moved a
config file and last years fix doesn't work this year.  And you can't
ask for help when its not working. So YOU have to fix it based of what
YOU know works.  Makes one wonder about the motives.


I use host files and I don't have that problem.


And where, if you don't have a network, did you find the info to fix 
it?, when two junk 2T seagates around 6 weeks old die in the same week, 
making one start from square one with a new bookworm install? And 
install that pulled in and enabled orca and brltty and which could not 
be rebooted once they were disabled. You could only reinstall to reboot, 
which I did 22 times before someone suggested unplugging any 
usb<->serial adapters, the installer was assuming I was blind and NEVER 
ASKED ME if I wanted them.


Have you, I assume with decent hearing, ever tried to use a computer 
that is locked up and spending about a second for every key press by 
announcing in a barely understandable but loud voice, every key's 
identity as they are being pressed? Distraction is a wholly inadequate 
description. I rest my case on that one.


Take care & stay well John.

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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread gene heskett

On 10/22/23 23:08, Stefan Monnier wrote:

This is generally true, Greg, and I get that, but every new version,
which should just continue what works, doesn't cuz somebody moved a
config file and last years fix doesn't work this year.  And you can't
ask for help when its not working. So YOU have to fix it based of what
YOU know works.  Makes one wonder about the motives.

I use host files and I don't have that problem.


Same here: the last time I had problems with `/etc/hosts` files was
back when `/etc/nsswitch.conf` was introduced :-)
That was before I started using Debian.

I can relate to Gene's feelings since there's been indeed some churn
over the years, but `/etc/hosts` seems like an odd example because this
one is among the most stable part of Unix/Linux.


 Stefan

The squawk includes /etc/hosts because that method is the root cause of 
all the troubles. For a while you could hide what used to be in 
/etc/network/interfaces in the last stanza of /etc/dhcpdc(sp?).conf, but 
that like /e/n/interfaces was too easy, anybody could do it so that went 
away.  There it was the last ditch src if a dhcp could not be found. 
That actually made sense but wasn't ever published that I know of. The 
churn seems more like change just for the hell of it as no real reason 
for the changes ever seemed to make it into the docs that get installed 
in a bare metal install. Not even a hint in any of the usual suspects 
conf files. It was pure serendipity that I found that with a global grep 
of the whole /etc tree for any mention of dhcp. That fell out, so I read 
it, finding this cute little fill in the blanks thing clear at the 
bottom of a 5k file.  So I "filled in the blanks" and it worked, For two 
major releases. But again that was way too easy so it went away, I guess 
in favor of nsswitch. But not one grep able word about it made it into 
the bare metal installed docs.  And that is where this old (89 now) Iowa 
farm kid who tested in the 7th grade at an IQ of 147, blows his cool. 
Which unfortunately gets me way more than my std 15 minutes of fame here.


Anyway Stefan, take care and stay well. And unvaxed. A small selenium 
and a couple d3's a day is much better insurance.


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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread Christian Groessler

On 10/23/23 07:29, Jeffrey Walton wrote:

On Mon, Oct 23, 2023 at 1:24 AM ghe2001  wrote:


How about a /29 or so, named "here.", hosts named 2 or 3 letter 
abbreviations of what you call the computers, with unroutable IPs, DNS'ed in /etc/hosts (with 
shortcuts).


Whatever you come up with for , ICANN can add to the
gTLD namespace; see .



Just register a daomain and use that.

regards,
chris



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-23 Thread Max Nikulin

On 23/10/2023 09:59, Stefan Monnier wrote:
I can relate to Gene's feelings since there's been indeed some churn 
over the years, but `/etc/hosts` seems like an odd example because this 
one is among the most stable part of Unix/Linux.


Gene's issue was with resolv.conf and he was refusing Greg's suggestions 
to fix it for a long time.


By the way, is there a way to validate correctness of the resolv.conf 
file, e.g. to force libc to spit warnings in response to unrecognized 
entries?




Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread Jeffrey Walton
On Mon, Oct 23, 2023 at 1:24 AM ghe2001  wrote:
>
> How about a /29 or so, named "here.", hosts named 2 or 3 
> letter abbreviations of what you call the computers, with unroutable IPs, 
> DNS'ed in /etc/hosts (with shortcuts).

Whatever you come up with for , ICANN can add to the
gTLD namespace; see .

The DNS queries for fii.xy (a typo) will escape your homenet when you
meant to type foo.xy (the target).

Jeff



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread Stefan Monnier
>> This is generally true, Greg, and I get that, but every new version,
>> which should just continue what works, doesn't cuz somebody moved a
>> config file and last years fix doesn't work this year.  And you can't
>> ask for help when its not working. So YOU have to fix it based of what
>> YOU know works.  Makes one wonder about the motives.
> I use host files and I don't have that problem.

Same here: the last time I had problems with `/etc/hosts` files was
back when `/etc/nsswitch.conf` was introduced :-)
That was before I started using Debian.

I can relate to Gene's feelings since there's been indeed some churn
over the years, but `/etc/hosts` seems like an odd example because this
one is among the most stable part of Unix/Linux.


Stefan



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread Max Nikulin

On 23/10/2023 04:43, gene heskett wrote:


As I keep repeating Dan, there is not a local dns, its all a 15 entry 
hosts file atm. So that cannot bite /me/.


It can. Some day .den TLD may be registered and chosen by a 3d printer 
manufacturer. It might happen that you would not be able to access docs 
for your shiny new device and you would claim something like



Google seems to have high jacked port 80


https://lists.debian.org/msgid-search/0a8b96aa-8630-ee5c-5135-59221c55b...@shentel.net



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread John Hasler
Gene writes:
> This is generally true, Greg, and I get that, but every new version,
> which should just continue what works, doesn't cuz somebody moved a
> config file and last years fix doesn't work this year.  And you can't
> ask for help when its not working. So YOU have to fix it based of what
> YOU know works.  Makes one wonder about the motives.

I use host files and I don't have that problem.
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread gene heskett

On 10/22/23 20:48, Greg Wooledge wrote:

On Sun, Oct 22, 2023 at 08:36:53PM -0400, gene heskett wrote:

What really bugs me is when the maintainers forget there are hosts file
users, and do something that totally screws us up,


Gene, you're being irrational again.  "Hosts file only" systems have been
supported since before Debian existed, without surcease.  There has never
been a time when they weren't supported.  There never will be.

Any issues you've encountered have been the result of misconfiguration.
You have repeatedly shown errors in your config files, and once those
have been corrected, everything has worked as expected.



This is generally true, Greg, and I get that, but every new version, 
which should just continue what works, doesn't cuz somebody moved a 
config file and last years fix doesn't work this year.  And you can't 
ask for help when its not working. So YOU have to fix it based of what 
YOU know works.  Makes one wonder about the motives.


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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

How about a /29 or so, named "here.", hosts named 2 or 3 letter 
abbreviations of what you call the computers, with unroutable IPs, DNS'ed in 
/etc/hosts (with shortcuts).

Works here...

--
Glenn English

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJlNbcbCZCf14YxgqyMMhYhBCyicw9CUnAlY0ANl5/XhjGC
rIwyAAC+WwgAuYZg79YPdVcffLcsYAKN5NVK4rl+q0NB1Bnmk8IyvuQ2AHo2
+zzA2C1wRb0266xJKVvBt+T/e4VxE6NVJbPb22UjYkVoFFoK8qDi73V0uhdm
m7W+kNDSFsLMFmuzRqVipPQAHqSDml28DhwIAEzPI+9OWVGfQSzmayEl4XGK
lca9+j3Dj/7Lu4vLCvuG8Aowhw4M5Xq7qtbj7JXe30fQ3I25c9DTu9Zd5FT4
VbfLMJHhCeeRakGzRcxRFEq8+BQAc9l/3Jip9rteYwzb03atoqSXHIcG6YQJ
VqZofzElWCFZ//ahPa4vR8A51wmdf2mFVYyc13101u1BkSGCWEWFSQ==
=VonO
-END PGP SIGNATURE-



Re: Domain name to use on home networks; was: Bookworm:NetworkManager

2023-10-22 Thread gene heskett

On 10/22/23 14:17, Dan Ritter wrote:

gene heskett wrote:

On 10/22/23 11:19, Jeffrey Walton wrote:

On Sun, Oct 22, 2023 at 7:13 AM Michael Kjörling <2695bd53d...@ewoof.net> wrote:



https://www.rfc-editor.org/info/rfc8375



Chuckle. Looks like a solution looking for a problem. You can use whatever
domainname that tickles your fancy when your net is in an un-routeable
address block.



Sure. Right up until the day that someone registers it on the
Net at large.

As of March 2021, the IANA root database includes 1589 TLDs.
"den" is not currently one of them, but that could change at any
point, and then there would be a high likelihood of "coyote.den"
being registered by someone else.

You might not have a specific problem with that, depending on
how you do local DNS, and depending on what you want. But it's
safer to either use a recognized internal domain (home.arpa, for
instance) or a domain that you own, either with split views or
unpublished internal subdomains (internal.randomstring.org, for
example).


As I keep repeating Dan, there is not a local dns, its all a 15 entry 
hosts file atm. So that cannot bite /me/.


Now If I should make a typu, fat fingering & miss-spelling an alias, I 
suppose that might resolve to someplace in the neighorhood of a yurt 
near Ulan Bator and they might not appreciate my trying to login in 
English. Until then I'm not inclined to lose much sleep over it.  If it 
ever happens, its adjustable in any event. It will all die when this 
stuff gets turned off by the cleanup crew after I miss roll call.


There's about 6 years left in the pacemaker battery and the average life 
of a TAVR heart valve is another 8 or so years. By then I will be 95 and 
might be napping in my morning cereal. Higher Powers have missed several 
chances to claim me, but they'd look ar the book and send me down, I'd 
fix the stoker, rewind the generators and open an air conditioned bar 
and neither of them could tolerate that. In the meantime ;o)>




-dsr-
.


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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis