{"id":97682,"date":"2024-06-06T14:41:13","date_gmt":"2024-06-06T06:41:13","guid":{"rendered":"https:\/\/gulass.cn\/?p=97682"},"modified":"2024-06-06T14:41:13","modified_gmt":"2024-06-06T06:41:13","slug":"share-dnsmasq-skill","status":"publish","type":"post","link":"https:\/\/gulass.cn\/share-dnsmasq-skill.html","title":{"rendered":"\u8fd0\u7ef4\u5206\u4eab\u4e4bDnsmasq \u8fdb\u9636\u6280\u5de7"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u8bb8\u591a\u4eba\u719f\u77e5\u5e76\u70ed\u7231 Dnsmasq\uff0c\u5e76\u5728\u4ed6\u4eec\u7684\u672c\u5730\u57df\u540d\u670d\u52a1\u4e0a\u4f7f\u7528\u5b83\u3002\u4eca\u5929\u6211\u4eec\u5c06\u4ecb\u7ecd\u8fdb\u9636\u914d\u7f6e\u6587\u4ef6\u7ba1\u7406\u3001\u5982\u4f55\u6d4b\u8bd5\u4f60\u7684\u914d\u7f6e\u3001\u4e00\u4e9b\u57fa\u7840\u7684\u5b89\u5168\u77e5\u8bc6\u3001DNS \u6cdb\u57df\u540d\u3001\u5feb\u901f DNS \u914d\u7f6e\uff0c\u4ee5\u53ca\u5176\u4ed6\u4e00\u4e9b\u6280\u5de7\u4e0e\u7a8d\u95e8\u3002\u4e0b\u4e2a\u661f\u671f\u6211\u4eec\u5c06\u7ee7\u7eed\u8be6\u7ec6\u8bb2\u89e3\u5982\u4f55\u914d\u7f6e DNS \u548c DHCP\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u6d4b\u8bd5\u914d\u7f6e<\/strong><\/div>\n \n\u5f53\u4f60\u6d4b\u8bd5\u65b0\u7684\u914d\u7f6e\u7684\u65f6\u5019\uff0c\u4f60\u5e94\u8be5\u4ece\u547d\u4ee4\u884c\u8fd0\u884c Dnsmasq\uff0c\u800c\u4e0d\u662f\u4f7f\u7528\u5b88\u62a4\u8fdb\u7a0b\u3002\u4e0b\u9762\u7684\u4f8b\u5b50\u6f14\u793a\u4e86\u5982\u4f55\u4e0d\u7528\u5b88\u62a4\u8fdb\u7a0b\u8fd0\u884c\u5b83\uff0c\u540c\u65f6\u663e\u793a\u6307\u4ee4\u7684\u8f93\u51fa\u5e76\u4fdd\u7559\u8fd0\u884c\u65e5\u5fd7\uff1a<\/p>\n \r\n# dnsmasq --no-daemon --log-queries\r\ndnsmasq: started, version 2.75 cachesize 150\r\ndnsmasq: compile time options: IPv6 GNU-getopt\r\n DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack\r\n ipset auth DNSSEC loop-detect inotify\r\ndnsmasq: reading \/etc\/resolv.conf\r\ndnsmasq: using nameserver 192.168.0.1#53\r\ndnsmasq: read \/etc\/hosts - 9 addresses<\/pre>\n |