mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add example hosts file
This commit is contained in:
parent
a8f6c1e78e
commit
a5a02d0290
43
root/etc/hosts
Normal file
43
root/etc/hosts
Normal file
|
@ -0,0 +1,43 @@
|
|||
# /etc/hosts: Local Host Database
|
||||
# See hosts(5) for details
|
||||
#
|
||||
# This file describes a number of aliases-to-address mappings for the for
|
||||
# local hosts that share this file.
|
||||
#
|
||||
# The format of lines in this file is:
|
||||
#
|
||||
# IP_ADDRESS canonical_hostname [aliases...]
|
||||
#
|
||||
# The fields can be separated by any number of spaces or tabs.
|
||||
#
|
||||
# In the presence of the domain name service or NIS, this file may not be
|
||||
# consulted at all; see /etc/host.conf for the resolution order.
|
||||
#
|
||||
# According to RFC 1918, you can use the following IP networks for private
|
||||
# nets which will never be connected to the Internet:
|
||||
#
|
||||
# 10.0.0.0 - 10.255.255.255
|
||||
# 172.16.0.0 - 172.31.255.255
|
||||
# 192.168.0.0 - 192.168.255.255
|
||||
#
|
||||
# In case you want to be able to connect directly to the Internet (i.e. not
|
||||
# behind a NAT, ADSL router, etc...), you need real official assigned
|
||||
# numbers. Do not try to invent your own network numbers but instead get one
|
||||
# from your network provider (if any) or from your regional registry (ARIN,
|
||||
# APNIC, LACNIC, RIPE NCC, or AfriNIC.)
|
||||
#
|
||||
|
||||
# IPv4 and IPv6 localhost aliases
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
# Current system definition
|
||||
127.0.1.1 your_hostname.localdomain your_hostname
|
||||
# Extra systems on the network
|
||||
#192.168.0.102 device2.localdomain device2
|
||||
# DNS servers
|
||||
45.90.30.0 nextcloud-dns
|
||||
1.1.1.1 couldflare-dns
|
||||
1.0.0.1 cloudflare-dns2
|
||||
8.8.8.8 google-dns
|
||||
# Custom aliases
|
||||
|
Loading…
Reference in a new issue