brew install dnsmasq
brew info dnsmasq
//每次配置完,重启服务
sudo brew services restart dnsmasq
log-queries
log-facility=/var/log/dnsmasq.log
bogus-nxdomain=119.29.29.29
cache-size=2048
port=53
no-resolv
123.123.123.123 www.xxx.com
alias ip='curl ifconfig.me'
alias ip2='ifconfig | grep inet | grep -v inet6 | grep -v 127'
alias ip3='ifconfig | grep inet'