sudo port install dnsmasq os upgrade code example Example: dnsmasq.conf location macos /usr/local/etc/dnsmasq.conf