sudo nano /private/etc/hosts


##

# Host Database

#

# localhost is used to configure the loopback interface

# when the system is booting.  Do not change this entry.

##

127.0.0.1       localhost

255.255.255.255 broadcasthost

::1             localhost

10.2.2.10      test.domain.com


Ctrl+o

Enter

Ctrl+x



바로 적용을 위해서

dscacheutil -flushcache


Posted by 무세1
,