shell-things/etc/hosts
2024-05-09 10:21:23 +03:00
..
.gitignore etc/hosts: add hosts.steamos 2024-04-24 18:15:50 +03:00
blocklist etc/hosts: attempt to increase legibility by adding leading and trailing # 2024-04-25 19:45:11 +03:00
dns hosts/dns: IPv4 represented as IPv6 is technically valid, but this feels so wrong... 2024-05-09 10:21:23 +03:00
hostname etc/hosts: attempt to increase legibility by adding leading and trailing # 2024-04-25 19:45:11 +03:00
hosts.arch etc/hosts: add hosts.steamos 2024-04-24 18:15:50 +03:00
hosts.debian etc/hosts: attempt to perform the bad idea of well-known DNS servers here instead 2024-04-22 16:24:51 +03:00
hosts.fedora etc/hosts: attempt to perform the bad idea of well-known DNS servers here instead 2024-04-22 16:24:51 +03:00
hosts.steamos etc/hosts: add hosts.steamos 2024-04-24 18:15:50 +03:00
README.md etc/hosts/hostname: copy Debian behaviour as a good practice 2024-04-25 19:40:56 +03:00

/etc/hosts

This file is DNS before DNS and legacy remain which is still used.

blocklist

Hosts that I dislike enough to mention in my hosts file.

dns

This began from question why should I have DNS to have DNS, but having it on DNS resolver level broke DNSSEC due to my weird mixing of systemd-resolved and Unbound, so now its something I can attempt to /etc/hosts.

EXCERCISE CAUTION!

hostname

As can be seen in hosts.debian, Debian specifies hostname in format such as:

::1 localhost
::1 FQDN UQDN

127.0.0.1   localhost
127.0.1.1   FQDN UQDN

where FQDN means Fully Qualified Domain Name and UQDN Unqualified Domain Name (although I dont know if anyone else calls it like that) and I find that a good practice. Additionally I have observed my systems querying their own hostname from global DNS which seems unnecessary and not a great behaviour to me, while this file appended to /etc/hosts can tell it immediately all applications and make resolvectl query hostname.localdomain find it instantly.

The 0200:0000:0000:0000:0000:0000:0000:0000? Replace it with your Yggdrasil address from yggdrasilctl getself.

hosts.arch

For now this is a symlink to hosts.steamos as I am pretty sure they havent modified it.

hosts.fedora

I am pretty sure this is the /etc/hosts that was given me by Fedora < 40 with changes removed.

hosts.debian

I think this is the Debian format which used to be just ../hosts in this repository.

hosts.steamos

The /etc/hosts file from SteamOS Holo variant steamdeck version 3.5.19 or 20240422.1.