Action disabled: source

/etc/hosts

리눅스에서 호스트명을 IP로 변환할 때 참조 하는 파일. DNS보다 윗 순위이다.

오래전에 인터넷 없이 자체 DNS 없이 내부망에 여러 서버들을 사용할 때 IP 주소를 외우기 힘들기 때문에 서버들에 이름을 붙여서 자신의 hosts 파일에 등록 해두고 많이 사용을 했었다.

127.0.0.1       localhost
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
# --- BEGIN PVE ---
192.168.0.10 master.hub master
# --- END PVE ---

윈도우

윈도우 호스트 파일의 저장 위치

c:\windows\system32\drivers\etc\hosts
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost