터미널 명령어
편집기 열기
$ sudo vi /etc/hosts
설정 편집
1 ##
2 # Host Database
3 #
4 # localhost is used to configure the loopback interface
5 # when the system is booting. Do not change this entry.
6 ##
7 127.0.0.1 localhost
8 255.255.255.255 broadcasthost
9 ::1 localhost
10 fe80::1%lo0 localhost
DNS cache 갱신
$ dscacheutil -flushcache