{"id":40357,"date":"2025-05-28T16:06:15","date_gmt":"2025-05-28T08:06:15","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/40357.html"},"modified":"2025-05-28T16:06:15","modified_gmt":"2025-05-28T08:06:15","slug":"dns-%e8%af%a6%e6%83%85-%e6%96%b0%e5%a2%9e-dns-%e8%87%aa%e9%80%82%e5%ba%94%e6%9c%8d%e5%8a%a1%e5%99%a8-ip","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/40357.html","title":{"rendered":"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip"},"content":{"rendered":"<p>\u535a\u4e3bwx&#xff1a;yuanlai45_csdn \u535a\u4e3bqq&#xff1a;2777137742 \u60f3\u8981 \u6df1\u5165\u5b66\u4e60 5GC IMS \u7b49\u901a\u4fe1\u77e5\u8bc6(\u52a0\u516551\u5b66\u901a\u4fe1)&#xff0c;\u6216\u8005\u60f3\u8981 cpp \u65b9\u5411\u4fee\u6539\u7b80\u5386&#xff0c;\u6a21\u62df\u9762\u8bd5&#xff0c;\u5b66\u4e60\u6307\u5bfc\u90fd\u53ef\u4ee5\u6dfb\u52a0\u535a\u4e3b\u4f4e\u4ef7\u6307\u5bfc\u54c8\u3002<\/p>\n<h2>DNS \u8be6\u60c5<\/h2>\n<h3>\u67e5\u770b \/etc\/resolv.conf<\/h3>\n<p><span class=\"token function\">cat<\/span> \/etc\/resolv.conf<\/p>\n<p>sder&#064;sde-vm:~\/IM25$ <span class=\"token function\">cat<\/span> \/etc\/resolv.conf<br \/>\n<span class=\"token comment\">#This is \/run\/systemd\/resolve\/stub-resolv.conf managed by man:systemd-resolved(8).<\/span><br \/>\n<span class=\"token comment\">#Do not edit.<\/span><br \/>\n<span class=\"token comment\">#This file might be symlinked as \/etc\/resolv.conf. If you&#039;re looking at<\/span><br \/>\n<span class=\"token comment\">#\/etc\/resolv.conf and seeing this text, you have followed the symlink.<\/span><br \/>\n<span class=\"token comment\">#This is a dynamic resolv.conf file for connecting local clients to the<\/span><br \/>\n<span class=\"token comment\">#internal DNS stub resolver of systemd-resolved. This file lists all<\/span><br \/>\n<span class=\"token comment\">#configured search domains.<\/span><br \/>\n<span class=\"token comment\">#Run &#034;resolvectl status&#034; to see details about the uplink DNS servers<\/span><br \/>\n<span class=\"token comment\">#currently in use.<\/span><br \/>\n<span class=\"token comment\">#Third party programs should typically not access this file directly, but only<\/span><br \/>\n<span class=\"token comment\">#through the symlink at \/etc\/resolv.conf. To manage man:resolv.conf(5) in a<\/span><br \/>\n<span class=\"token comment\">#different way, replace this symlink by a static file or a different symlink.<\/span><br \/>\n<span class=\"token comment\">#See man:systemd-resolved.service(8) for details about the supported modes of<\/span><br \/>\n<span class=\"token comment\">#operation for \/etc\/resolv.conf.<\/span><\/p>\n<p>nameserver <span class=\"token number\">127.0<\/span>.0.53 <span class=\"token comment\"># \u7cfb\u7edf\u5f53\u524d\u4f7f\u7528\u7684 DNS \u670d\u52a1\u5668\u5730\u5740<\/span><br \/>\noptions edns0 trust-ad<br \/>\nsearch <span class=\"token number\">59.51<\/span>.78.210<\/p>\n<h3>\u5bf9\u4e8e\u67e5\u8be2\u89e3\u6790<\/h3>\n<p>nameserver 127.0.0.53<\/p>\n<ul>\n<li>\u542b\u4e49&#xff1a;\n<ul>\n<li>\u6307\u5b9a\u7cfb\u7edf\u7684 DNS \u670d\u52a1\u5668\u5730\u5740\u4e3a 127.0.0.53\u3002<\/li>\n<li>127.0.0.53 \u662f\u4e00\u4e2a\u672c\u5730\u56de\u73af\u5730\u5740&#xff0c;\u8868\u793a\u7cfb\u7edf\u4f7f\u7528 systemd-resolved \u7684\u672c\u5730 DNS \u5b58\u6839\u89e3\u6790\u5668&#xff08;stub resolver&#xff09;\u3002<\/li>\n<li>\u8fd9\u610f\u5473\u7740 DNS \u67e5\u8be2\u4e0d\u4f1a\u76f4\u63a5\u53d1\u9001\u5230\u5916\u90e8 DNS \u670d\u52a1\u5668&#xff0c;\u800c\u662f\u7531 systemd-resolved \u670d\u52a1\u5904\u7406&#xff0c;systemd-resolved \u518d\u5c06\u67e5\u8be2\u8f6c\u53d1\u5230\u5b9e\u9645\u7684\u5916\u90e8 DNS \u670d\u52a1\u5668\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u4e3a\u4ec0\u4e48\u662f 127.0.0.53&#xff1a;\n<ul>\n<li>systemd-resolved \u5728\u672c\u5730\u76d1\u542c 127.0.0.53:53 \u63d0\u4f9b DNS \u89e3\u6790\u670d\u52a1&#xff0c;\u5b9e\u9645\u7684\u5916\u90e8 DNS \u670d\u52a1\u5668\u5730\u5740\u5b58\u50a8\u5728 systemd-resolved \u7684\u914d\u7f6e\u4e2d&#xff0c;\u800c\u4e0d\u662f\u76f4\u63a5\u5199\u5728 \/etc\/resolv.conf \u4e2d\u3002<\/li>\n<li>\u8fd9\u662f\u4e00\u79cd\u73b0\u4ee3 Linux \u53d1\u884c\u7248&#xff08;\u5982 Ubuntu 18.04&#043;&#xff09;\u7684\u5e38\u89c1\u505a\u6cd5&#xff0c;\u7528\u4e8e\u652f\u6301\u52a8\u6001 DNS \u7ba1\u7406\u548c\u9ad8\u7ea7\u529f\u80fd&#xff08;\u5982 DNSSEC\u3001DoH&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u7aef\u53e3&#xff1a;\n<ul>\n<li>\u9ed8\u8ba4\u4f7f\u7528 53 \u7aef\u53e3&#xff08;DNS \u6807\u51c6\u7aef\u53e3&#xff0c;UDP\/TCP&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>options edns0 trust-ad<\/p>\n<ul>\n<li>\u542b\u4e49&#xff1a;\n<ul>\n<li>options \u5b57\u6bb5\u6307\u5b9a DNS \u89e3\u6790\u7684\u884c\u4e3a\u9009\u9879&#xff0c;\u5f71\u54cd\u89e3\u6790\u5668\u7684\u914d\u7f6e\u3002<\/li>\n<li>edns0&#xff1a;\n<ul>\n<li>\u542f\u7528 Extension Mechanisms for DNS (EDNS0)&#xff0c;\u8fd9\u662f DNS \u534f\u8bae\u7684\u6269\u5c55&#xff08;RFC 6891&#xff09;\u3002<\/li>\n<li>\u5141\u8bb8\u66f4\u5927\u7684 DNS \u62a5\u6587&#xff08;\u8d85\u8fc7 512 \u5b57\u8282&#xff09;&#xff0c;\u652f\u6301\u9ad8\u7ea7\u529f\u80fd&#xff0c;\u5982 DNSSEC\u3001IPv6 \u548c\u66f4\u590d\u6742\u7684\u67e5\u8be2\u3002<\/li>\n<li>\u51e0\u4e4e\u6240\u6709\u73b0\u4ee3 DNS \u670d\u52a1\u5668\u90fd\u652f\u6301 EDNS0&#xff0c;\u542f\u7528\u6b64\u9009\u9879\u53ef\u63d0\u9ad8\u89e3\u6790\u6548\u7387\u3002<\/li>\n<\/ul>\n<\/li>\n<li>trust-ad&#xff1a;\n<ul>\n<li>\u542f\u7528 DNSSEC \u4fe1\u4efb\u951a\u70b9 (Authenticated Data)\u3002<\/li>\n<li>\u8868\u793a\u7cfb\u7edf\u4f18\u5148\u4fe1\u4efb\u901a\u8fc7 DNSSEC \u9a8c\u8bc1\u7684\u6570\u636e&#xff08;\u5e26\u6709 AD \u6807\u5fd7\u7684\u54cd\u5e94&#xff09;&#xff0c;\u589e\u5f3a DNS \u89e3\u6790\u7684\u5b89\u5168\u6027\u3002<\/li>\n<li>DNSSEC \u662f\u4e00\u79cd\u9632\u6b62 DNS \u6b3a\u9a97\u548c\u7be1\u6539\u7684\u5b89\u5168\u673a\u5236\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u4f5c\u7528&#xff1a;\n<ul>\n<li>\u8fd9\u4e9b\u9009\u9879\u786e\u4fdd DNS \u89e3\u6790\u66f4\u5b89\u5168&#xff08;\u901a\u8fc7 DNSSEC&#xff09;\u548c\u9ad8\u6548&#xff08;\u901a\u8fc7 EDNS0&#xff09;\u3002<\/li>\n<li>\u5982\u679c\u4f60\u7684\u7f51\u7edc\u73af\u5883\u4e0d\u652f\u6301 DNSSEC \u6216 EDNS0&#xff0c;\u53ef\u80fd\u9700\u8981\u7981\u7528\u8fd9\u4e9b\u9009\u9879&#xff08;\u4f46\u901a\u5e38\u65e0\u9700\u4fee\u6539&#xff09;\u3002 search 59.51.78.210<\/li>\n<\/ul>\n<\/li>\n<li>\u542b\u4e49&#xff1a;\n<ul>\n<li>search \u5b57\u6bb5\u6307\u5b9a\u57df\u540d\u641c\u7d22\u5217\u8868&#xff0c;\u7528\u4e8e\u81ea\u52a8\u8865\u5168\u4e0d\u5b8c\u6574\u7684\u4e3b\u673a\u540d\u3002<\/li>\n<li>\u5f53\u4f60\u8f93\u5165\u4e00\u4e2a\u975e\u5b8c\u5168\u9650\u5b9a\u57df\u540d&#xff08;FQDN&#xff0c;\u5982 example \u800c\u975e example.com&#xff09;&#xff0c;\u7cfb\u7edf\u4f1a\u5c1d\u8bd5\u5c06\u641c\u7d22\u5217\u8868\u4e2d\u7684\u57df\u540d\u540e\u7f00\u9644\u52a0\u5230\u4e3b\u673a\u540d\u540e\u8fdb\u884c\u89e3\u6790\u3002<\/li>\n<li>\u5728\u4f60\u7684\u914d\u7f6e\u4e2d&#xff0c;59.51.78.210 \u770b\u8d77\u6765\u50cf\u4e00\u4e2a IP \u5730\u5740&#xff0c;\u800c\u4e0d\u662f\u5178\u578b\u7684\u57df\u540d&#xff08;\u5982 example.com&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u5f02\u5e38\u5206\u6790&#xff1a;\n<ul>\n<li>\u95ee\u9898&#xff1a;search \u5b57\u6bb5\u901a\u5e38\u5e94\u5305\u542b\u57df\u540d&#xff08;\u5982 mydomain.com&#xff09;&#xff0c;\u800c\u4e0d\u662f IP \u5730\u5740\u300259.51.78.210 \u4f5c\u4e3a search \u503c\u53ef\u80fd\u662f\u914d\u7f6e\u9519\u8bef\u6216\u8bef\u89e3\u3002<\/li>\n<li>\u53ef\u80fd\u539f\u56e0&#xff1a;\n<ul>\n<li>\u7f51\u7edc\u914d\u7f6e\u9519\u8bef&#xff08;\u5982 DHCP \u670d\u52a1\u5668\u9519\u8bef\u5730\u5c06 IP \u5730\u5740\u5206\u914d\u5230 search \u5b57\u6bb5&#xff09;\u3002<\/li>\n<li>\u624b\u52a8\u4fee\u6539 \/etc\/resolv.conf \u6216\u7f51\u7edc\u914d\u7f6e\u5bfc\u81f4\u3002<\/li>\n<li>59.51.78.210 \u53ef\u80fd\u662f\u4f60\u671f\u671b\u7684 DNS \u670d\u52a1\u5668\u5730\u5740&#xff0c;\u4f46\u88ab\u9519\u8bef\u5199\u5165 search \u5b57\u6bb5\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u5b9e\u9645\u6548\u679c&#xff1a;\n<ul>\n<li>\u5f53\u524d\u914d\u7f6e\u53ef\u80fd\u5bfc\u81f4\u89e3\u6790\u5931\u8d25\u3002\u4f8b\u5982&#xff0c;\u8f93\u5165 ping myserver \u4f1a\u5c1d\u8bd5\u89e3\u6790 myserver.59.51.78.210&#xff0c;\u8fd9\u662f\u4e00\u4e2a\u65e0\u6548\u57df\u540d\u3002<\/li>\n<li>\u5efa\u8bae\u4fee\u6b63\u4e3a\u6b63\u786e\u7684\u57df\u540d&#xff08;\u5982\u679c\u6709&#xff09;&#xff0c;\u6216\u79fb\u9664 search \u5b57\u6bb5&#xff08;\u5982\u679c\u65e0\u9700\u57df\u540d\u8865\u5168&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u5e38\u89c1 DNS \u5730\u5740<\/h3>\n<ul>\n<li>\u5e38\u89c1\u7684\u516c\u5171 DNS \u670d\u52a1\u5668\u5730\u5740\u5305\u62ec&#xff1a;\n<ul>\n<li>Google DNS&#xff1a;8.8.8.8, 8.8.4.4<\/li>\n<li>Cloudflare DNS&#xff1a;1.1.1.1, 1.0.0.1<\/li>\n<li>\u963f\u91cc\u516c\u5171 DNS&#xff1a;223.5.5.5, 223.6.6.6&#xff08;\u4e2d\u56fd\u5927\u9646\u5e38\u7528&#xff09;<\/li>\n<li>114DNS&#xff1a;114.114.114.114, 114.114.115.115&#xff08;\u4e2d\u56fd\u5927\u9646\u5e38\u7528&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u7cfb\u7edf\u4f7f\u7528\u7684\u5177\u4f53\u5730\u5740\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5&#xff08;\u5982 cat \/etc\/resolv.conf&#xff09;\u67e5\u770b\u3002<\/li>\n<li>\u5982\u679c\u4f7f\u7528\u672c\u5730\u89e3\u6790\u5668&#xff08;\u5982 systemd-resolved&#xff09;&#xff0c;\u53ef\u80fd\u770b\u5230 127.0.0.53&#xff0c;\u5b9e\u9645 DNS \u670d\u52a1\u5668\u9700\u901a\u8fc7 resolvectl status \u786e\u8ba4\u3002<\/li>\n<\/ul>\n<h3>DNS \u7aef\u53e3<\/h3>\n<ul>\n<li>\u9ed8\u8ba4\u7aef\u53e3&#xff1a;53&#xff08;UDP \u7528\u4e8e\u5e38\u89c4\u67e5\u8be2&#xff0c;TCP \u7528\u4e8e\u5927\u54cd\u5e94\u6216\u533a\u57df\u4f20\u8f93&#xff09;\u3002<\/li>\n<li>\u793a\u4f8b\u8f93\u51fa&#xff08;\u5982 dig \u7684 ;; SERVER: 8.8.8.8#53&#xff09;\u4e2d&#xff0c;#53 \u8868\u793a\u7aef\u53e3\u3002<\/li>\n<li>\u7279\u6b8a\u60c5\u51b5&#xff1a;\n<ul>\n<li>\u5982\u679c\u4f7f\u7528 DNS over HTTPS (DoH) \u6216 DNS over TLS (DoT)&#xff0c;\u7aef\u53e3\u53ef\u80fd\u4e0d\u540c&#xff1a;\n<ul>\n<li>DoH&#xff1a;\u901a\u5e38\u4f7f\u7528 443 \u7aef\u53e3&#xff08;HTTP\/2&#xff09;\u3002<\/li>\n<li>DoT&#xff1a;\u4f7f\u7528 853 \u7aef\u53e3\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u68c0\u67e5\u662f\u5426\u4f7f\u7528 DoH\/DoT&#xff1a;<\/p>\n<p>resolvectl status <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> Protocol<\/p>\n<p>\u5982\u679c\u663e\u793a DNSSEC \u6216 TLS&#xff0c;\u53ef\u80fd\u6d89\u53ca\u975e\u6807\u51c6\u7aef\u53e3\u3002<\/p>\n<h3>\u5982\u4f55\u67e5\u770b\u5b9e\u9645\u7684 DNS \u914d\u7f6e<\/h3>\n<p>\u7531\u4e8e\u4f60\u7684 \/etc\/resolv.conf \u663e\u793a nameserver 127.0.0.53&#xff0c;\u8bf4\u660e\u5b9e\u9645\u7684 DNS \u670d\u52a1\u5668\u5730\u5740\u7531 systemd-resolved \u7ba1\u7406\u3002\u4f60\u9700\u8981\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u771f\u6b63\u7684\u5916\u90e8 DNS \u670d\u52a1\u5668\u5730\u5740\u548c\u7aef\u53e3\u3002<\/p>\n<h4>\u6b65\u9aa4 1&#xff1a;\u8fd0\u884c resolvectl status<\/h4>\n<p>resolvectl status &#096;&#096;&#096;sder&#064;sde-vm:~\/IM25$ resolvectl status Global Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported resolv.conf mode: stub<\/p>\n<p>Link 2 (ens33) Current Scopes: DNS Protocols: &#043;DefaultRoute &#043;LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported Current DNS Server: 222.246.129.80 DNS Servers: 222.246.129.80 DNS Domain: 59.51.78.210<\/p>\n<p>Link 3 (ens35) Current Scopes: none Protocols: -DefaultRoute &#043;LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported<\/p>\n<p>Link 4 (ens36) Current Scopes: none Protocols: -DefaultRoute &#043;LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported<\/p>\n<p>Link 5 (ens37) Current Scopes: none Protocols: -DefaultRoute &#043;LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported<\/p>\n<p>Link 6 (docker0) Current Scopes: none Protocols: -DefaultRoute &#043;LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported<\/p>\n<p>\u5168\u5c40\u914d\u7f6e<\/p>\n<p>Global Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported resolv.conf mode: stub<\/p>\n<p>Protocols&#xff1a;<\/p>\n<ul>\n<li>-LLMNR \u548c -mDNS&#xff1a;\u7981\u7528 Link-Local Multicast Name Resolution \u548c Multicast DNS&#xff0c;\u51cf\u5c11\u672c\u5730\u7f51\u7edc\u7684\u5e7f\u64ad\u89e3\u6790\u3002<\/li>\n<li>-DNSOverTLS&#xff1a;\u672a\u542f\u7528 DNS over TLS&#xff08;DoT&#xff09;&#xff0c;\u610f\u5473\u7740 DNS \u67e5\u8be2\u4f7f\u7528\u6807\u51c6 UDP\/TCP \u534f\u8bae&#xff08;\u7aef\u53e3 53&#xff09;\u3002<\/li>\n<li>DNSSEC&#061;no\/unsupported&#xff1a;\u672a\u542f\u7528 DNSSEC&#xff08;\u4e0e \/etc\/resolv.conf \u4e2d\u7684 trust-ad \u9009\u9879\u51b2\u7a81&#xff0c;\u53ef\u80fd\u662f\u914d\u7f6e\u672a\u751f\u6548&#xff09;\u3002 resolv.conf mode: stub&#xff1a;<\/li>\n<li>\u786e\u8ba4\u7cfb\u7edf\u4f7f\u7528 systemd-resolved \u7684\u5b58\u6839\u89e3\u6790\u5668&#xff08;stub resolver&#xff09;\u3002<\/li>\n<li>\/etc\/resolv.conf \u6307\u5411 127.0.0.53&#xff0c;DNS \u67e5\u8be2\u7531 systemd-resolved \u5904\u7406\u5e76\u8f6c\u53d1\u5230\u5916\u90e8 DNS \u670d\u52a1\u5668\u3002<\/li>\n<\/ul>\n<p>\u7f51\u7edc\u63a5\u53e3\u914d\u7f6e&#xff08;Link 2 &#8211; ens33&#xff09; Link 2 (ens33) Current Scopes: DNS Protocols: &#043;DefaultRoute &#043;LLMNR -mDNS -DNSOverTLS DNSSEC&#061;no\/unsupported Current DNS Server: 222.246.129.80 DNS Servers: 222.246.129.80 DNS Domain: 59.51.78.210 Current Scopes: DNS&#xff1a;<\/p>\n<ul>\n<li>\u63a5\u53e3 ens33 \u662f\u5f53\u524d\u6d3b\u8dc3\u7684\u7f51\u7edc\u63a5\u53e3&#xff0c;\u8d1f\u8d23 DNS \u89e3\u6790\u3002 Current DNS Server: 222.246.129.80&#xff1a;<\/li>\n<li>\u7cfb\u7edf\u5f53\u524d\u4f7f\u7528\u7684 DNS \u670d\u52a1\u5668\u5730\u5740\u662f 222.246.129.80\u3002<\/li>\n<li>\u8fd9\u662f\u4e00\u4e2a\u4e2d\u56fd\u5927\u9646\u7684\u516c\u5171 DNS \u670d\u52a1\u5668&#xff08;\u53ef\u80fd\u7531\u672c\u5730 ISP \u6216\u4f01\u4e1a\u63d0\u4f9b&#xff09;\u3002 DNS Servers: 222.246.129.80&#xff1a;<\/li>\n<li>\u4ec5\u914d\u7f6e\u4e86\u4e00\u4e2a DNS \u670d\u52a1\u5668&#xff0c;\u5efa\u8bae\u6dfb\u52a0\u5907\u7528 DNS&#xff08;\u5982 8.8.8.8&#xff09;\u4ee5\u63d0\u9ad8\u53ef\u9760\u6027\u3002 DNS Domain: 59.51.78.210&#xff1a;<\/li>\n<li>\u4e0e \/etc\/resolv.conf \u4e2d\u7684 search 59.51.78.210 \u4e00\u81f4\u3002<\/li>\n<li>\u95ee\u9898&#xff1a;59.51.78.210 \u662f\u4e00\u4e2a IP \u5730\u5740&#xff0c;\u4e0d\u662f\u6709\u6548\u7684\u57df\u540d&#xff0c;\u53ef\u80fd\u5bfc\u81f4\u57df\u540d\u8865\u5168\u5931\u8d25&#xff08;\u4f8b\u5982&#xff0c;\u89e3\u6790 myserver \u4f1a\u5c1d\u8bd5 myserver.59.51.78.210&#xff0c;\u65e0\u6548&#xff09;\u3002<\/li>\n<li>\u53ef\u80fd\u6765\u6e90&#xff1a;DHCP \u670d\u52a1\u5668\u9519\u8bef\u5206\u914d&#xff0c;\u6216\u624b\u52a8\u914d\u7f6e\u9519\u8bef\u3002 Port&#xff1a;<\/li>\n<li>\u672a\u660e\u786e\u6307\u5b9a\u7aef\u53e3&#xff0c;\u9ed8\u8ba4\u4f7f\u7528 53&#xff08;\u6807\u51c6 DNS \u7aef\u53e3&#xff0c;UDP\/TCP&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u5176\u4ed6\u63a5\u53e3&#xff08;Link 3-6&#xff09;<\/p>\n<ul>\n<li>Link 3 (ens35), Link 4 (ens36), Link 5 (ens37), Link 6 (docker0)&#xff1a;\n<ul>\n<li>\u8fd9\u4e9b\u63a5\u53e3\u672a\u914d\u7f6e DNS&#xff08;Current Scopes: none&#xff09;&#xff0c;\u4e0d\u53c2\u4e0e DNS \u89e3\u6790\u3002<\/li>\n<li>docker0 \u662f Docker \u7684\u9ed8\u8ba4\u6865\u63a5\u7f51\u7edc\u63a5\u53e3&#xff0c;\u901a\u5e38\u4e0d\u7528\u4e8e\u7cfb\u7edf DNS\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u89e3\u6790<\/p>\n<ul>\n<li>DNS Servers&#xff1a;\u5217\u51fa\u5b9e\u9645\u7684\u5916\u90e8 DNS \u670d\u52a1\u5668\u5730\u5740&#xff08;\u5982 8.8.8.8&#xff09;\u3002<\/li>\n<li>Current DNS Server&#xff1a;\u5f53\u524d\u4f7f\u7528\u7684\u9996\u9009 DNS \u670d\u52a1\u5668\u3002<\/li>\n<li>Protocols&#xff1a;\u663e\u793a\u662f\u5426\u4f7f\u7528 DNSSEC\u3001DoH \u7b49\u9ad8\u7ea7\u534f\u8bae\u3002<\/li>\n<li>Port&#xff1a;\u9ed8\u8ba4 53&#xff08;\u672a\u660e\u786e\u663e\u793a&#xff0c;\u4f46\u53ef\u901a\u8fc7 dig \u786e\u8ba4&#xff09;\u3002 \u68c0\u67e5 59.51.78.210&#xff1a;<\/li>\n<li>\u5982\u679c 59.51.78.210 \u51fa\u73b0\u5728 DNS Servers \u5217\u8868\u4e2d&#xff0c;\u8bf4\u660e\u5b83\u662f\u4f60\u5b9e\u9645\u4f7f\u7528\u7684 DNS \u670d\u52a1\u5668\u3002<\/li>\n<li>\u5982\u679c\u672a\u51fa\u73b0&#xff0c;\u53ef\u80fd\u662f\u914d\u7f6e\u9519\u8bef\u6216 DHCP \u5206\u914d\u95ee\u9898\u3002<\/li>\n<\/ul>\n<h4>\u6b65\u9aa4 2&#xff1a;\u6d4b\u8bd5 DNS \u670d\u52a1\u5668\u548c\u7aef\u53e3<\/h4>\n<p><span class=\"token function\">dig<\/span> example.com <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> SERVER<\/p>\n<p>\u8f93\u51fa\u793a\u4f8b&#xff1a;<\/p>\n<p>;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)<\/p>\n<p>\u542b\u4e49&#xff1a;<\/p>\n<ul>\n<li>dig \u67e5\u8be2\u7531\u672c\u5730\u5b58\u6839\u89e3\u6790\u5668 127.0.0.53 \u5904\u7406&#xff0c;\u7aef\u53e3\u4e3a 53&#xff0c;\u4f7f\u7528 UDP \u534f\u8bae\u3002<\/li>\n<li>\u8fd9\u4e0e \/etc\/resolv.conf \u4e2d\u7684 nameserver 127.0.0.53 \u4e00\u81f4&#xff0c;\u8868\u660e\u67e5\u8be2\u9996\u5148\u5230\u8fbe systemd-resolved\u3002<\/li>\n<li>systemd-resolved \u518d\u5c06\u67e5\u8be2\u8f6c\u53d1\u5230\u5b9e\u9645\u7684 DNS \u670d\u52a1\u5668&#xff08;222.246.129.80&#xff09;\u3002 \u4e3a\u4ec0\u4e48\u663e\u793a 127.0.0.53 \u800c\u975e 222.246.129.80&#xff1a;<\/li>\n<li>dig \u663e\u793a\u7684\u662f\u76f4\u63a5\u54cd\u5e94\u7684\u670d\u52a1\u5668\u5730\u5740&#xff0c;\u5373\u672c\u5730\u89e3\u6790\u5668 127.0.0.53\u3002<\/li>\n<li>\u8981\u67e5\u770b\u5b9e\u9645\u7684\u5916\u90e8 DNS \u670d\u52a1\u5668&#xff0c;\u9700\u901a\u8fc7 dig &#064;222.246.129.80 \u6d4b\u8bd5\u6216\u68c0\u67e5 resolvectl status\u3002<\/li>\n<\/ul>\n<h4>\u5f53\u524d DNS \u914d\u7f6e\u603b\u7ed3<\/h4>\n<ul>\n<li>DNS \u670d\u52a1\u5668&#xff1a;\n<ul>\n<li>\u5b9e\u9645 DNS \u670d\u52a1\u5668&#xff1a;222.246.129.80&#xff08;\u7531 systemd-resolved \u8f6c\u53d1&#xff09;\u3002<\/li>\n<li>\u672c\u5730\u89e3\u6790\u5668&#xff1a;127.0.0.53&#xff08;systemd-resolved \u7684\u5b58\u6839\u89e3\u6790\u5668&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u7aef\u53e3&#xff1a;\n<ul>\n<li>\u9ed8\u8ba4 53&#xff08;UDP\/TCP&#xff09;&#xff0c;\u672a\u914d\u7f6e DoH\/DoT\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u95ee\u9898&#xff1a;\n<ul>\n<li>DNS Domain: 59.51.78.210 \u65e0\u6548&#xff0c;\u5e94\u4e3a\u57df\u540d&#xff08;\u5982 mydomain.com&#xff09;\u6216\u79fb\u9664\u3002<\/li>\n<li>trust-ad \u9009\u9879\u4e0e DNSSEC&#061;no \u51b2\u7a81&#xff0c;\u53ef\u80fd\u672a\u751f\u6548\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u8fde\u63a5\u65b9\u5f0f&#xff1a;\n<ul>\n<li>\u5f53\u524d\u7cfb\u7edf\u901a\u8fc7 systemd-resolved \u8fde\u63a5\u5230 222.246.129.80:53 \u8fdb\u884c DNS \u89e3\u6790\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u914d\u7f6e<\/h3>\n<p>sder&#064;sde-vm:~\/IM25$ <span class=\"token function\">cat<\/span> \/etc\/hosts<br \/>\n<span class=\"token number\">127.0<\/span>.0.1 localhost<br \/>\n<span class=\"token number\">127.0<\/span>.1.1 sde-vm<br \/>\nThe following lines are desirable <span class=\"token keyword\">for<\/span> IPv6 capable hosts<br \/>\n::1     ip6-localhost ip6-loopback<br \/>\nfe00::0 ip6-localnet<br \/>\nff00::0 ip6-mcastprefix<br \/>\nff02::1 ip6-allnodes<br \/>\nff02::2 ip6-allrouters<\/p>\n<h2>\u9879\u76ee\u573a\u666f<\/h2>\n<h3>10.18.2.11 dnsnasq \u914d\u7f6e<\/h3>\n<p>\u5f53\u524d\u914d\u7f6e<\/p>\n<p>sder&#064;sde-vm:~\/IM25\/go-server$ <span class=\"token function\">cat<\/span> \/etc\/hosts<br \/>\n<span class=\"token number\">127.0<\/span>.0.1 localhost<br \/>\n<span class=\"token number\">127.0<\/span>.1.1 sde-vm<\/p>\n<p><span class=\"token comment\">#The following lines are desirable for IPv6 capable hosts<\/span><br \/>\n::1     ip6-localhost ip6-loopback<br \/>\nfe00::0 ip6-localnet<br \/>\nff00::0 ip6-mcastprefix<br \/>\nff02::1 ip6-allnodes<br \/>\nff02::2 ip6-allrouters<\/p>\n<p><span class=\"token number\">10.18<\/span>.2.11 sip-server.com<br \/>\n<span class=\"token number\">10.18<\/span>.2.11 rtp-server.com<\/p>\n<h3>DNS \u547d\u4ee4&#xff01;&#xff01;&#xff01;<\/h3>\n<li>\u67e5\u770b\u865a\u62df\u673adns\u6536\u5230\u7684\u8bf7\u6c42&#xff01;&#xff01;&#xff01;<\/li>\n<p><span class=\"token function\">sudo<\/span> journalctl <span class=\"token parameter variable\">-u<\/span> dnsmasq <span class=\"token operator\">|<\/span> <span class=\"token function\">tail<\/span> <span class=\"token parameter variable\">-30<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">cat<\/span><\/p>\n<li>\u67e5\u770b \u603b\u914d\u7f6e&#xff1b;127.0.0.53 \u662f\u539f\u6765\u7684&#xff0c;\u6539\u6210\u4e86\u672c\u5730 127.0.0.1<\/li>\n<p><span class=\"token function\">cat<\/span> \/etc\/resolv.conf<\/p>\n<li>\u67e5\u770b dnsmasq \u914d\u7f6e&#xff01;&#xff01;&#xff01; dnsmasq\u4f18\u5148\u4f7f\u7528\u4e86 \/etc\/hosts \u4e2d\u7684\u8bb0\u5f55<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">vim<\/span> \/etc\/hosts<\/p>\n<li>\u7f51\u7edc\u63a5\u53e3\u4fe1\u606f&#xff1a;<\/li>\n<p><span class=\"token function\">ip<\/span> <span class=\"token function\">link<\/span> show<\/p>\n<li>\u91cd\u542fdnsmasq\u670d\u52a1&#xff01;&#xff01;&#xff01;<\/li>\n<p><span class=\"token function\">sudo<\/span> systemctl restart dnsmasq<\/p>\n<li>\u6e05\u9664dns\u7f13\u5b58&#xff01;&#xff01;&#xff01;<\/li>\n<p><span class=\"token function\">sudo<\/span> systemctl restart systemd-resolved<\/p>\n<li>\u68c0\u67e5\u670d\u52a1\u72b6\u6001<\/li>\n<p>sudo systemctl status dnsmasq<\/p>\n<li>\u786e\u4fdd dnsmasq \u6b63\u5728\u76d1\u542c UDP 53 \u7aef\u53e3<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">netstat<\/span> <span class=\"token parameter variable\">-ulnp<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> :53<\/p>\n<li>\u6700\u65b0\u7684 dnsmasq \u65e5\u5fd7 &#xff1f;&#xff1f;&#xff1f;<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tail<\/span> <span class=\"token parameter variable\">-n<\/span> <span class=\"token number\">30<\/span> \/var\/log\/dnsmasq.log<\/p>\n<li>\u5982\u679c\u4f7f\u7528\u9632\u706b\u5899&#xff0c;\u4e5f\u9700\u8981\u786e\u4fddUDP\/TCP 53\u7aef\u53e3\u5141\u8bb8\u6765\u81ea10.18.11.0\/24\u7f51\u6bb5\u7684\u8bbf\u95ee&#xff1a;<\/li>\n<p><span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;     -add-rich-rule<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;rule family&#061;&#034;ipv4&#034; source address&#061;&#034;10.18.11.0\/24&#034; port protocol&#061;&#034;udp&#034; port&#061;&#034;53&#034; accept&#039;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;add-rich-rule<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;rule family&#061;&#034;ipv4&#034; source address&#061;&#034;10.18.11.0\/24&#034; port protocol&#061;&#034;tcp&#034; port&#061;&#034;53&#034; accept&#039;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> firewall-cmd <span class=\"token parameter variable\">&#8211;reload<\/span><\/p>\n<h3>\u524d\u63d0<\/h3>\n<li>\u672c\u5730\u90e8\u7f72 Dns \u670d\u52a1\u5668<\/li>\n<li>Dns \u914d\u7f6e \u4fe1\u4ee4\u3001\u5a92\u4f53\u670d\u52a1\u5668<\/li>\n<li>App \u4e0e Dns \u5728\u540c\u4e00\u4e2a\u5c40\u57df\u7f51<\/li>\n<h3>\u8fd0\u884c\u672c\u5730 DNS \u670d\u52a1\u5668<\/h3>\n<p>\u76ee\u6807&#xff1a;\u5728 10.18.2.11 \u4e0a\u8fd0\u884c dnsmasq&#xff0c;\u63d0\u4f9b DNS \u670d\u52a1&#xff0c;\u8ba9\u624b\u673a\u89e3\u6790 sip-server.com \u5230 10.18.2.11\u3002 \u6b65\u9aa4&#xff1a;<\/p>\n<li>\u5b89\u88c5 dnsmasq \u5728 10.18.2.11&#xff1a;<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> dnsmasq<\/p>\n<li>\u914d\u7f6e dnsmasq<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">vim<\/span> \/etc\/dnsmasq.conf<\/p>\n<p>\u6dfb\u52a0&#xff1a;<\/p>\n<p><span class=\"token assign-left variable\">address<\/span><span class=\"token operator\">&#061;<\/span>\/sip-server.com\/10.18.2.11<br \/>\n<span class=\"token assign-left variable\">server<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">8.8<\/span>.8.8<br \/>\n<span class=\"token assign-left variable\">server<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">8.8<\/span>.4.4<\/p>\n<p>address&#061;\/sip-server.com\/10.18.2.11&#xff1a;\u5c06 sip-server.com \u89e3\u6790\u5230 10.18.2.11\u3002 server&#061;8.8.8.8 \u548c server&#061;8.8.4.4&#xff1a;\u5176\u4ed6\u57df\u540d\u8f6c\u53d1\u5230 Google DNS\u3002 3. \u7981\u7528 systemd-resolved&#xff08;\u907f\u514d 53 \u7aef\u53e3\u51b2\u7a81&#xff09;&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl disable <span class=\"token parameter variable\">&#8211;now<\/span> systemd-resolved<\/p>\n<li>\u66f4\u65b0 \/etc\/resolv.conf \u5728 10.18.2.11<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/resolv.conf<\/p>\n<p>\u8bbe\u7f6e&#xff1a;<\/p>\n<p>nameserver <span class=\"token number\">127.0<\/span>.0.1<\/p>\n<p>\u9632\u6b62\u8986\u76d6&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> chattr &#043;i \/etc\/resolv.conf<\/p>\n<li>\u91cd\u542f dnsmasq<\/li>\n<p><span class=\"token function\">sudo<\/span> systemctl restart dnsmasq<\/p>\n<li>\u6d4b\u8bd5 DNS \u670d\u52a1&#xff08;\u5728 10.18.2.11&#xff09;<\/li>\n<p><span class=\"token function\">dig<\/span> sip-server.com &#064;127.0.0.1<\/p>\n<p>\u9884\u671f<\/p>\n<p><span class=\"token punctuation\">;<\/span><span class=\"token punctuation\">;<\/span> ANSWER SECTION:<br \/>\nsip-server.com. <span class=\"token number\">0<\/span> IN A <span class=\"token number\">10.18<\/span>.2.11<\/p>\n<p>\u521b\u4f5c\u4e0d\u6613&#xff0c;\u5e0c\u671b\u8bfb\u8005\u4e09\u8fde\u652f\u6301 &#x1f496; \u8d60\u4eba\u73ab\u7470&#xff0c;\u624b\u6709\u4f59\u9999 &#x1f496;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb851\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf19\u6b21\u3002linux \u914d\u7f6e dns<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[245,58,43,78,44],"topic":[],"class_list":["post-40357","post","type-post","status-publish","format-standard","hentry","category-server","tag-dns","tag-linux","tag-43","tag-78","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/40357.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb851\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf19\u6b21\u3002linux \u914d\u7f6e dns\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/40357.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-28T08:06:15+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40357.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/40357.html\",\"name\":\"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-28T08:06:15+00:00\",\"dateModified\":\"2025-05-28T08:06:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/40357.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/40357.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40357.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/40357.html","og_locale":"zh_CN","og_type":"article","og_title":"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb851\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf19\u6b21\u3002linux \u914d\u7f6e dns","og_url":"https:\/\/www.wsisp.com\/helps\/40357.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-28T08:06:15+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"6 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/40357.html","url":"https:\/\/www.wsisp.com\/helps\/40357.html","name":"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-28T08:06:15+00:00","dateModified":"2025-05-28T08:06:15+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/40357.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/40357.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/40357.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"DNS \u8be6\u60c5 &amp;&amp; \u65b0\u589e DNS \u81ea\u9002\u5e94\u670d\u52a1\u5668 ip"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=40357"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40357\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=40357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=40357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=40357"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=40357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}