从Hosts转换成dnsmasq格式 admin linux,router 2017-06-05 cat hosts|grep -v "#"|sed -e '/^$/d'|awk '{ print "address=/"$2"/"$1 }'> /etc/dnsmasq.conf.d/hosts.conf