试试 dnsmasq 吧。 [ http://www.thekelleys.org.uk/dnsmasq/doc.html ] Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS.