{"id":426596,"date":"2021-04-09T01:20:34","date_gmt":"2021-04-08T17:20:34","guid":{"rendered":"http:\/\/4563.org\/?p=426596"},"modified":"2021-04-09T01:20:34","modified_gmt":"2021-04-08T17:20:34","slug":"%e5%ae%b6%e4%b8%ad%e8%b7%af%e7%94%b1%e5%99%a8-openwrt-%e5%8f%aa%e6%8e%a5-lan-%e5%8f%a3%e7%94%a8%ef%bc%8c-ping-%e4%b8%8d%e9%80%9a%e5%9f%9f%e5%90%8d%e6%97%a0%e6%b3%95%e8%87%aa%e5%8a%a8%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=426596","title":{"rendered":"\u5bb6\u4e2d\u8def\u7531\u5668 openwrt \u53ea\u63a5 lan \u53e3\u7528\uff0c ping \u4e0d\u901a\u57df\u540d\u65e0\u6cd5\u81ea\u52a8\u5b89\u88c5 opkg\uff0c\u7f16\u8f91\/etc\/resolv.conf \u628a nameserver \u6307\u5b9a\u4e3a\u5c40\u57df\u7f51\u7f51\u5173\u53ef\u89e3\uff08\u9ed8\u8ba4\u914d\u7f6e\u662f 127.0.0.1\uff09\uff0c\u4f46\u662f&#8230;"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5bb6\u4e2d\u8def\u7531\u5668 openwrt \u53ea\u63a5 lan \u53e3\u7528\uff0c ping \u4e0d\u901a\u57df\u540d\u65e0\u6cd5\u81ea\u52a8\u5b89\u88c5 opkg\uff0c\u7f16\u8f91\/etc\/resolv.conf \u628a nameserver \u6307\u5b9a\u4e3a\u5c40\u57df\u7f51\u7f51\u5173\u53ef\u89e3\uff08\u9ed8\u8ba4\u914d\u7f6e\u662f 127.0.0.1\uff09\uff0c\u4f46\u662f&#8230;               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <span><i><\/i> 6<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4f46\u662f\u91cd\u542f\u673a\u5668\u540e\u8bbe\u7f6e\u5c31\u6ca1\u4e86\uff0c\u9700\u8981\u91cd\u65b0\u6765\u4e00\u904d\uff0c\u8bf7\u95ee\u600e\u4e48\u56fa\u5316\u8fd9\u4e2a\u64cd\u4f5c\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5723771\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : elfive <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Openwrt \u5982\u679c\u7528\u7684\u662f dnsmasq \u7684\u8bdd\uff0c\u53ef\u4ee5\u76f4\u63a5\u6307\u5b9a DNS \u8f6c\u53d1\uff0c\u8f6c\u53d1\u7ed9\u4f60\u7684\u4e0a\u6e38\u8def\u7531\u5668\u6216\u8005 DNS Server \u5c31\u884c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5723772\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : AllenHua <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &lt;a href=&#8221;https:\/\/hellodk.cn\/post\/124&#8243; target=&#8221;_blank&#8221;&gt;\u4f7f\u7528 DNSmasq \u90e8\u7f72\u5bb6\u5ead\u7f51\u7edc\u7684\u516c\u5171 dns \u548c\u4e2a\u6027\u5316\u7684\u5c40\u57df\u7f51\u5185\u7684 dns \u57df\u540d\u670d\u52a1&lt;\/a&gt; \u5206\u4eab\u4e00\u4e0b\u6211\u7684\u505a\u6cd5\uff0c\u4e3b\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b<\/p>\n<p>\u8fd9\u4e2a\u6587\u4ef6\u7684\u5185\u5bb9 \u91cd\u542f\u540e\u5c31\u6ca1\u4e86\uff1f\u4f1a\u4e0d\u4f1a\u662f\u4f60\u672c\u5730\u7684 dnsmasq \u670d\u52a1\u6ca1\u6709\u542f\u52a8 \u6216\u7f3a\u5c11\u914d\u7f6e <\/p>\n<p>resolv.conf is the name of a computer file used in various operating systems to configure the system&#8217;s Domain Name System (DNS) resolver. The file is a plain-text file usually created by the network administrator or by applications that manage the configuration tasks of the system. The resolvconf program is one such program on FreeBSD or other Unix machines which manages the resolv.conf file. \uff08\u6765\u81ea\u7ef4\u57fa\u767e\u79d1\uff09                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5723773\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LiYanHong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             lan \u53e3\u53ef\u4ee5\u8bbe\u7f6e dns \u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5723774\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CatCode <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u63a5 LAN \u53e3\u4f60\u662f\u60f3\u505a\u7f51\u5173\u670d\u52a1\u5668\u7528\u5427\uff08\u4fd7\u79f0\u65c1\u8def\u7531\uff09<br \/>\u65c1\u8def\u7531\u4f60\u5f97\u6307\u5b9a\u7f51\u5173\u5230\u4f60\u7684\u51fa\u53e3\u8def\u7531\u5668 \/\u5149\u732b\u4e0a\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5723775\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @elfive \u73b0\u5728\u7684 openwrt \u90fd\u6709 dnsmasq\uff0c\u4f46\u662f\u8fd9\u4e2a\u4e1c\u897f\u600e\u4e48\u7528\u6211\u5b8c\u5168\u4e0d\u61c2\uff0c\u600e\u4e48\u8bbe\u7f6e\u201c\u6307\u5b9a DNS \u8f6c\u53d1\u201d\uff1f\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5723776\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @CatCode \u6211\u6307\u5b9a\u4e86\u7f51\u5173\u7684\uff0c\u4f46\u662f\u4e0d\u8bbe\u7f6e\u4e00\u4e0b resolv.conf \u5c31\u662f\u4e0d\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5723777\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : cathedrel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @elfive \u89e3\u51b3\u4e86\uff0c\u8bbe\u7f6e\u91cc\u9762\u6709\u4e2a DNS forwardings\uff0c\u7f51\u5173\u5730\u5740\u6dfb\u52a0\u8fdb\u53bb\u5c31\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5bb6\u4e2d\u8def\u7531\u5668 openwrt \u53ea\u63a5 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426596"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=426596"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426596\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426596"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}