User Tools

Site Tools


linux:notes:default_hosts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:notes:default_hosts [2026/08/05 03:30] – created Sean Rhonelinux:notes:default_hosts [2026/11/14 10:49] (current) – Sean Rhone
Line 1: Line 1:
 ====== HOSTS ====== ====== HOSTS ======
- 
-  * [[linux:distros:debian_13_xfce|Debian 13 (Xfce)]] 
  
   sudo -e '/etc/hosts'   sudo -e '/etc/hosts'
 +
 +===== openSUSE =====
 +
 +  * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]]
 +
 +<code>
 +#
 +# hosts         This file describes a number of hostname-to-address
 +#               mappings for the TCP/IP subsystem.  It is mostly
 +#               used at boot time, when no name servers are running.
 +#               On small systems, this file can be used instead of a
 +#               "named" name server.
 +# Syntax:
 +#    
 +# IP-Address  Full-Qualified-Hostname  Short-Hostname
 +#
 +
 +127.0.0.1 localhost localhost.localdomain
 +::1 localhost localhost.localdomain ipv6-localhost ipv6-loopback
 +
 +# special IPv6 addresses
 +fe00::0         ipv6-localnet
 +
 +ff00::0         ipv6-mcastprefix
 +ff02::1         ipv6-allnodes
 +ff02::2         ipv6-allrouters
 +ff02::3         ipv6-allhosts</code>
 +
 +===== Debian =====
 +
 +  * [[linux:distros:debian_13_xfce|Debian 13 (Xfce)]]
  
 <code> <code>
Line 19: Line 48:
  
   sudo cp -fv '/etc/hosts' '/etc/hosts~'   sudo cp -fv '/etc/hosts' '/etc/hosts~'
 +
 +  cp -fv '/etc/hosts' ~/'Downloads/hosts'
  
/srv/www/wiki/data/pages/linux/notes/default_hosts.txt · Last modified: by Sean Rhone