{"id":477484,"date":"2023-08-09T09:15:39","date_gmt":"2023-08-09T09:15:39","guid":{"rendered":""},"modified":"2023-09-05T11:14:49","modified_gmt":"2023-09-05T11:14:49","slug":"hosts-file","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/hosts-file\/","title":{"rendered":"\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb"},"content":{"rendered":"<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30c9\u30e1\u30a4\u30f3 \u30cd\u30fc\u30e0 \u30b7\u30b9\u30c6\u30e0 (DNS) \u306e\u57fa\u672c\u7684\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002\u3053\u308c\u306f\u5358\u7d14\u306a\u30c6\u30ad\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u30db\u30b9\u30c8\u540d\u3092\u5bfe\u5fdc\u3059\u308b IP \u30a2\u30c9\u30ec\u30b9\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c Web \u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306f\u307e\u305a Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3001DNS \u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u30db\u30b9\u30c8\u540d\u304c\u305d\u3053\u306b\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30db\u30b9\u30c8\u540d\u304c Hosts \u30d5\u30a1\u30a4\u30eb\u3067\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u3001\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f IP \u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u7528\u3057\u3066 Web \u30b5\u30a4\u30c8\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002\u3053\u306e\u30e1\u30ab\u30cb\u30ba\u30e0\u306b\u3088\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e DNS \u89e3\u6c7a\u30d7\u30ed\u30bb\u30b9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3001\u7279\u5b9a\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u306e\u89e3\u6c7a\u65b9\u6cd5\u3092\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u8d77\u6e90\u3068\u305d\u306e\u6700\u521d\u306e\u8a00\u53ca\u306e\u6b74\u53f2<\/h2>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u6982\u5ff5\u306f\u3001\u73fe\u4ee3\u306e\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306e\u524d\u8eab\u3067\u3042\u308b ARPANET \u306e\u521d\u671f\u306e\u9803\u306b\u307e\u3067\u9061\u308a\u307e\u3059\u30021970 \u5e74\u4ee3\u306b\u3001\u30db\u30b9\u30c8\u540d\u3068 IP \u30a2\u30c9\u30ec\u30b9\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u4e2d\u592e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u3057\u3066\u6a5f\u80fd\u3059\u308b ARPANET \u30db\u30b9\u30c8 \u30c6\u30fc\u30d6\u30eb\u306e\u6700\u521d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u30db\u30b9\u30c8\u306e\u6570\u304c\u6025\u5897\u3057\u305f\u305f\u3081\u3001\u4e2d\u592e\u30db\u30b9\u30c8 \u30c6\u30fc\u30d6\u30eb\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u306f\u975e\u73fe\u5b9f\u7684\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>1983 \u5e74\u3001\u30db\u30b9\u30c8 \u30c6\u30fc\u30d6\u30eb\u306b\u4ee3\u308f\u308b\u30c9\u30e1\u30a4\u30f3 \u30cd\u30fc\u30e0 \u30b7\u30b9\u30c6\u30e0 (DNS) \u304c\u5c0e\u5165\u3055\u308c\u3001\u30db\u30b9\u30c8\u540d\u89e3\u6c7a\u306e\u305f\u3081\u306e\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u5206\u6563\u5316\u3055\u308c\u305f\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u73fe\u3057\u307e\u3057\u305f\u3002DNS \u304c\u5e83\u304f\u63a1\u7528\u3055\u308c\u305f\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001Hosts \u30d5\u30a1\u30a4\u30eb\u306f\u6d88\u3048\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4ee3\u308f\u308a\u306b\u3001\u500b\u3005\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf \u30b7\u30b9\u30c6\u30e0\u306b\u6b8b\u308a\u3001\u30ed\u30fc\u30ab\u30eb \u30db\u30b9\u30c8\u540d\u89e3\u6c7a\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u7d9a\u3051\u307e\u3057\u305f\u3002<\/p>\n<h2>Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u3059\u308b\u8a73\u7d30\u60c5\u5831 \u2013 \u30c8\u30d4\u30c3\u30af\u306e\u62e1\u5f35<\/h2>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u901a\u5e38\u300chosts\u300d\u3068\u3044\u3046\u540d\u524d\u304c\u4ed8\u3051\u3089\u308c\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u30c6\u30ad\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u3067\u3001Windows\u3001macOS\u3001Linux \u306a\u3069\u3001\u307b\u3068\u3093\u3069\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u4e0a\u306b\u3042\u308a\u307e\u3059\u3002\u30b7\u30b9\u30c6\u30e0\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u3001\u57fa\u672c\u7684\u306a\u30c6\u30ad\u30b9\u30c8 \u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u5404\u884c\u306f\u3001\u30db\u30b9\u30c8\u540d\u3068 IP \u30a2\u30c9\u30ec\u30b9\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u8868\u3057\u3001\u8907\u6570\u306e\u5217\u304c\u30b9\u30da\u30fc\u30b9\u307e\u305f\u306f\u30bf\u30d6\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb \u30a8\u30f3\u30c8\u30ea\u306e\u57fa\u672c\u69cb\u9020\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre><div class=\"bg-black rounded-md mb-4\"><div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md\"><span>\u30d0\u30c3\u30b7\u30e5<\/span><button class=\"flex ml-auto gap-2\"><svg stroke=\"currentColor\" fill=\"none\" stroke-width=\"2\" viewbox=\"0 0 24 24\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"h-4 w-4\" height=\"1em\" width=\"1em\" ><path d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"><\/path><rect x=\"8\" y=\"2\" width=\"8\" height=\"4\" rx=\"1\" ry=\"1\"><\/rect><\/svg>\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3059\u308b<\/button><\/div><div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-bash\" data-no-translation=\"\">IP_address   Hostname   <span class=\"hljs-comment\">#Optional_comment<\/span>\n<\/code><\/div><\/div><\/pre>\n<ul>\n<li><code data-no-translation=\"\">IP_address<\/code>: \u30db\u30b9\u30c8\u540d\u304c\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u308b IP \u30a2\u30c9\u30ec\u30b9\u3002<\/li>\n<li><code data-no-translation=\"\">Hostname<\/code>: \u6307\u5b9a\u3055\u308c\u305f IP \u30a2\u30c9\u30ec\u30b9\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u308b\u30c9\u30e1\u30a4\u30f3\u540d\u307e\u305f\u306f\u30db\u30b9\u30c8\u540d\u3002<\/li>\n<li><code data-no-translation=\"\">Optional_comment<\/code>: \u30a8\u30f3\u30c8\u30ea\u306b\u95a2\u3059\u308b\u8ffd\u52a0\u60c5\u5831\u3092\u63d0\u4f9b\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30b3\u30e1\u30f3\u30c8\u3002<\/li>\n<\/ul>\n<p>\u4f8b\u3048\u3070\uff1a<\/p>\n<pre><div class=\"bg-black rounded-md mb-4\"><div class=\"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md\"><button class=\"flex ml-auto gap-2\"><svg stroke=\"currentColor\" fill=\"none\" stroke-width=\"2\" viewbox=\"0 0 24 24\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"h-4 w-4\" height=\"1em\" width=\"1em\" ><path d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"><\/path><rect x=\"8\" y=\"2\" width=\"8\" height=\"4\" rx=\"1\" ry=\"1\"><\/rect><\/svg>\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3059\u308b<\/button><\/div><div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs\" data-no-translation=\"\">127.0.0.1       localhost\n<\/code><\/div><\/div><\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001IP \u30a2\u30c9\u30ec\u30b9 127.0.0.1 \u304c\u30db\u30b9\u30c8\u540d\u300clocalhost\u300d\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u5185\u90e8\u69cb\u9020\u3068\u305d\u306e\u4ed5\u7d44\u307f<\/h2>\n<p>\u30e6\u30fc\u30b6\u30fc\u304c Web \u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306f\u307e\u305a Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304b\u3089 DNS \u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u30db\u30b9\u30c8\u540d\u304c Hosts \u30d5\u30a1\u30a4\u30eb\u3067\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u3001\u5bfe\u5fdc\u3059\u308b IP \u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u7528\u3057\u3066 Web \u30b5\u30a4\u30c8\u3068\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002\u30db\u30b9\u30c8\u540d\u304c Hosts \u30d5\u30a1\u30a4\u30eb\u3067\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e DNS \u89e3\u6c7a\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u884c\u3057\u3066 IP \u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u512a\u5148\u9806\u4f4d\u3068\u3044\u3046\u5358\u7d14\u306a\u539f\u5247\u306b\u57fa\u3065\u3044\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u4e0a\u90e8\u306b\u3042\u308b\u30a8\u30f3\u30c8\u30ea\u306f\u3001\u4e0b\u90e8\u306b\u3042\u308b\u30a8\u30f3\u30c8\u30ea\u3088\u308a\u3082\u512a\u5148\u3055\u308c\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30db\u30b9\u30c8\u540d\u304c\u7570\u306a\u308b IP \u30a2\u30c9\u30ec\u30b9\u3067\u8907\u6570\u56de\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u6700\u521d\u306b\u898b\u3064\u304b\u3063\u305f\u30a8\u30f3\u30c8\u30ea\u306e IP \u30a2\u30c9\u30ec\u30b9\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6210\u304c\u6b63\u3057\u304f\u306a\u3044\u3068\u3001\u30de\u30c3\u30d4\u30f3\u30b0\u304c\u6b63\u3057\u304f\u884c\u308f\u308c\u305a\u3001\u9069\u5207\u306a DNS \u89e3\u6c7a\u304c\u59a8\u3052\u3089\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001Web \u30b5\u30a4\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306b\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h2>Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u4e3b\u306a\u6a5f\u80fd\u306e\u5206\u6790<\/h2>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u3068\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30ed\u30fc\u30ab\u30eb\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9<\/strong>: \u30e6\u30fc\u30b6\u30fc\u306f DNS \u89e3\u6c7a\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u4e0a\u66f8\u304d\u3067\u304d\u308b\u305f\u3081\u3001\u7279\u5b9a\u306e Web \u30b5\u30a4\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3057\u305f\u308a\u3001\u7279\u5b9a\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u5225\u306e IP \u30a2\u30c9\u30ec\u30b9\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30aa\u30d5\u30e9\u30a4\u30f3\u30c6\u30b9\u30c8<\/strong>: Web \u958b\u767a\u8005\u306f\u3001Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001DNS \u30ec\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u305b\u305a\u306b\u30ed\u30fc\u30ab\u30eb \u30b5\u30fc\u30d0\u30fc\u4e0a\u306e Web \u30b5\u30a4\u30c8\u3092\u30c6\u30b9\u30c8\u3067\u304d\u308b\u305f\u3081\u3001\u30aa\u30d5\u30e9\u30a4\u30f3\u3067\u306e\u30c6\u30b9\u30c8\u3084\u30c7\u30d0\u30c3\u30b0\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc<\/strong>: Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u901a\u3058\u3066\u60aa\u610f\u306e\u3042\u308b Web \u30b5\u30a4\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u3067\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u3092\u5f37\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30b9\u30d4\u30fc\u30c9<\/strong>: DNS \u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b Hosts \u30d5\u30a1\u30a4\u30eb\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u308b\u305f\u3081\u3001\u983b\u7e41\u306b\u30a2\u30af\u30bb\u30b9\u3055\u308c\u308b Web \u30b5\u30a4\u30c8\u306e\u30db\u30b9\u30c8\u540d\u306e\u89e3\u6c7a\u304c\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u7a2e\u985e<\/h2>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u305d\u306e\u5834\u6240\u3068\u4f7f\u7528\u65b9\u6cd5\u306b\u57fa\u3065\u3044\u3066 2 \u3064\u306e\u30bf\u30a4\u30d7\u306b\u5206\u985e\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/strong>: \u3053\u306e\u30bf\u30a4\u30d7\u306e Hosts \u30d5\u30a1\u30a4\u30eb\u306f\u30b7\u30b9\u30c6\u30e0 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306e\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u52a0\u3048\u3089\u308c\u305f\u5909\u66f4\u306f\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306b\u5f71\u97ff\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30e6\u30fc\u30b6\u30fc\u56fa\u6709\u306e\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/strong>: \u4e00\u90e8\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u72ec\u81ea\u306e Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u3001\u901a\u5e38\u306f\u30e6\u30fc\u30b6\u30fc \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u52a0\u3048\u3089\u308c\u305f\u5909\u66f4\u306f\u3001\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u306e\u307f\u5f71\u97ff\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u4ee5\u4e0b\u306b 2 \u3064\u306e\u30bf\u30a4\u30d7\u306e\u6bd4\u8f03\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/th>\n<th>\u30e6\u30fc\u30b6\u30fc\u56fa\u6709\u306e\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u4f4d\u7f6e<\/td>\n<td>\u30b7\u30b9\u30c6\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/td>\n<td>\u30e6\u30fc\u30b6\u30fc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/td>\n<\/tr>\n<tr>\n<td>\u9069\u7528\u6027<\/td>\n<td>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7<\/td>\n<td>\u30e6\u30fc\u30b6\u30fc\u9650\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>\u7ba1\u7406\u30a2\u30af\u30bb\u30b9<\/td>\n<td>\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059<\/td>\n<td>\u30e6\u30fc\u30b6\u30fc\u304c\u5909\u66f4\u53ef\u80fd<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u7528\u65b9\u6cd5\u3001\u554f\u984c\u3001\u89e3\u6c7a\u7b56<\/h2>\n<h3>Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u7528\u65b9\u6cd5:<\/h3>\n<ol>\n<li>\n<p><strong>\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30d6\u30ed\u30c3\u30af<\/strong>: \u30e6\u30fc\u30b6\u30fc\u306f\u3001\u30db\u30b9\u30c8\u540d\u3092 127.0.0.1 \u3084 0.0.0.0 \u306a\u3069\u306e\u30eb\u30fc\u30d7\u30d0\u30c3\u30af IP \u30a2\u30c9\u30ec\u30b9\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u3053\u3068\u3067\u3001\u4e0d\u8981\u306a Web \u30b5\u30a4\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/strong>: Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u7279\u5b9a\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u76ee\u7684\u306e IP \u30a2\u30c9\u30ec\u30b9\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u958b\u767a\u3084\u5730\u57df\u5236\u9650\u306e\u56de\u907f\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h3>\u554f\u984c\u3068\u89e3\u6c7a\u7b56:<\/h3>\n<ol>\n<li>\n<p><strong>\u8aa4\u3063\u305f\u69cb\u6210<\/strong>: Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u8aa4\u3063\u305f\u30a8\u30f3\u30c8\u30ea\u304c\u3042\u308b\u3068\u3001Web \u30b5\u30a4\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u308a\u3001\u610f\u56f3\u3057\u306a\u3044\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u767a\u751f\u3057\u305f\u308a\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u614e\u91cd\u306b\u78ba\u8a8d\u3057\u3066\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u554f\u984c<\/strong>: Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u5909\u66f4\u3092\u52a0\u3048\u305f\u5f8c\u3001DNS \u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u3088\u308a\u5909\u66f4\u304c\u3059\u3050\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002DNS \u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30af\u30ea\u30a2\u3059\u308b\u304b\u3001\u30b7\u30b9\u30c6\u30e0\u3092\u518d\u8d77\u52d5\u3059\u308b\u3068\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306e\u5236\u9650<\/strong>: \u6700\u8fd1\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306e\u4e2d\u306b\u306f\u3001Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u76f4\u63a5\u7de8\u96c6\u3092\u5236\u9650\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3092\u5909\u66f4\u3059\u308b\u304b\u3001\u7ba1\u7406\u8005\u30a2\u30af\u30bb\u30b9\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u6027<\/th>\n<th>\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/th>\n<th>DNS (\u30c9\u30e1\u30a4\u30f3\u30cd\u30fc\u30e0\u30b7\u30b9\u30c6\u30e0)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u76ee\u7684<\/td>\n<td>\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u540d\u89e3\u6c7a\u306e\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9<\/td>\n<td>\u30b0\u30ed\u30fc\u30d0\u30eb\u30c9\u30e1\u30a4\u30f3\u540d\u89e3\u6c7a<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f<\/td>\n<td>\u30b7\u30f3\u30d7\u30eb\u306a\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb<\/td>\n<td>\u968e\u5c64\u578b\u5206\u6563\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/td>\n<\/tr>\n<tr>\n<td>\u7bc4\u56f2<\/td>\n<td>\u30ed\u30fc\u30ab\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u9650\u5b9a<\/td>\n<td>\u30b0\u30ed\u30fc\u30d0\u30eb\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u5168\u4f53<\/td>\n<\/tr>\n<tr>\n<td>\u89e3\u6c7a\u306e\u512a\u5148\u9806\u4f4d<\/td>\n<td>DNS\u89e3\u6c7a\u3088\u308a\u3082\u512a\u5148<\/td>\n<td>Hosts\u30d5\u30a1\u30a4\u30eb\u306e\u89e3\u6c7a\u304c\u5931\u6557\u3057\u305f\u5834\u5408\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>\u96c6\u4e2d\u5316<\/td>\n<td>\u5206\u6563\u5316\u3055\u308c\u305f\u500b\u5225\u306e\u30d5\u30a1\u30a4\u30eb<\/td>\n<td>\u8907\u6570\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u96c6\u4e2d\u7ba1\u7406<\/td>\n<\/tr>\n<tr>\n<td>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306e\u53ef\u80fd\u6027<\/td>\n<td>\u30ed\u30fc\u30ab\u30eb\u4f7f\u7528\u306b\u5408\u308f\u305b\u3066\u9ad8\u5ea6\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd<\/td>\n<td>\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u306b\u3088\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u5236\u9650\u3055\u308c\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Hosts\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u3059\u308b\u4eca\u5f8c\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u7279\u306b\u30db\u30b9\u30c8\u540d\u89e3\u6c7a\u306e\u304d\u3081\u7d30\u304b\u306a\u5236\u5fa1\u304c\u5fc5\u8981\u306a\u30b7\u30ca\u30ea\u30aa\u306b\u304a\u3044\u3066\u3001\u9577\u5e74\u306b\u308f\u305f\u3063\u3066\u305d\u306e\u91cd\u8981\u6027\u3092\u7dad\u6301\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304c\u9032\u5316\u3057\u7d9a\u3051\u308b\u306b\u3064\u308c\u3066\u3001Hosts \u30d5\u30a1\u30a4\u30eb\u306f DNS \u3084\u305d\u306e\u4ed6\u306e\u9ad8\u5ea6\u306a\u89e3\u6c7a\u6280\u8853\u3068\u5171\u5b58\u3059\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002Hosts \u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u9023\u3059\u308b\u6f5c\u5728\u7684\u306a\u9032\u6b69\u306b\u306f\u3001\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3068\u306e\u7d71\u5408<\/strong>: Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u9ad8\u5ea6\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u7d71\u5408\u3057\u3066\u3001\u30d5\u30a3\u30c3\u30b7\u30f3\u30b0\u3084\u30de\u30eb\u30a6\u30a7\u30a2\u306b\u5bfe\u3059\u308b\u4fdd\u8b77\u3092\u5f37\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5206\u6563\u578bDNS<\/strong>: \u30d6\u30ed\u30c3\u30af\u30c1\u30a7\u30fc\u30f3\u306a\u3069\u306e\u5206\u6563\u578b\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306e\u53f0\u982d\u306b\u3088\u308a\u3001Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u6982\u5ff5\u3092\u62e1\u5f35\u3057\u3066\u3001\u5206\u6563\u578b\u30c9\u30e1\u30a4\u30f3\u540d\u89e3\u6c7a\u3092\u30b5\u30dd\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u306e\u4f7f\u7528\u65b9\u6cd5\u3084\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3068\u306e\u95a2\u9023\u4ed8\u3051\u65b9\u6cd5<\/h2>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001Hosts \u30d5\u30a1\u30a4\u30eb\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3055\u307e\u3056\u307e\u306a\u76ee\u7684\u3092\u9054\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30a2\u30af\u30bb\u30b9\u5236\u5fa1<\/strong>: \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u30a8\u30f3\u30c8\u30ea\u306b\u57fa\u3065\u3044\u3066\u8981\u6c42\u3092\u30d5\u30a3\u30eb\u30bf\u30fc\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u7279\u5b9a\u306e Web \u30b5\u30a4\u30c8\u3092\u8a31\u53ef\u307e\u305f\u306f\u30d6\u30ed\u30c3\u30af\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5730\u7406\u4f4d\u7f6e\u60c5\u5831\u30d0\u30a4\u30d1\u30b9<\/strong>: Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u5730\u7406\u7684\u306a\u5236\u9650\u3092\u56de\u907f\u3057\u3001\u5730\u57df\u5236\u9650\u306e\u3042\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0<\/strong>: \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f Hosts \u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8907\u6570\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9 \u30b5\u30fc\u30d0\u30fc\u306b\u5206\u6563\u3057\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u4fe1\u983c\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<p>Hosts \u30d5\u30a1\u30a4\u30eb\u3068\u95a2\u9023\u30c8\u30d4\u30c3\u30af\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Hosts_(file)\" target=\"_new\" rel=\"noopener nofollow\">Wikipedia \u2013 Hosts \u30d5\u30a1\u30a4\u30eb<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/troubleshoot\/windows-server\/networking\/manage-the-hosts-file\" target=\"_new\" rel=\"noopener nofollow\">Microsoft Docs \u2013 Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u7ba1\u7406<\/a><\/li>\n<li><a href=\"https:\/\/geekflare.com\/hosts-file-usage\/\" target=\"_new\" rel=\"noopener nofollow\">Geekflare \u2013 Hosts \u30d5\u30a1\u30a4\u30eb\u306e\u4f7f\u3044\u65b9\uff08\u4f8b\u4ed8\u304d\uff09<\/a><\/li>\n<li><a href=\"https:\/\/www.cloudflare.com\/learning\/dns\/what-is-dns\/\" target=\"_new\" rel=\"noopener nofollow\">DNS\u306e\u8aac\u660e<\/a><\/li>\n<\/ol>","protected":false},"featured_media":477485,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-477484","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Hosts file for Proxy Server Provider OneProxy (oneproxy.pro)<\/mark>","faq_items":[{"question":"What is the Hosts file, and how does it work?","answer":"<p>The Hosts file is a text file on your computer that maps hostnames to their corresponding IP addresses. When you access a website, your computer checks the Hosts file before querying a DNS server. If the hostname is found in the file, the associated IP address is used to connect to the website.<\/p>"},{"question":"What is the history of the Hosts file?","answer":"<p>The Hosts file has its origins in the early days of ARPANET, the precursor to the modern internet. It was later replaced by the Domain Name System (DNS) in 1983 but continued to be used on individual systems for local hostname resolution.<\/p>"},{"question":"How is the Hosts file structured, and what does an entry look like?","answer":"<p>The Hosts file offers local overrides, offline testing capabilities, enhanced security, and potential speed improvements for frequently accessed websites.<\/p>"},{"question":"What are the key features of the Hosts file?","answer":"<p>There are two types of Hosts files: system-wide and user-specific. The system-wide file applies globally to all users, while the user-specific file affects only the specific user's account.<\/p>"},{"question":"What are the types of Hosts files, and how do they differ?","answer":"<p>You can use the Hosts file to block unwanted websites or redirect domains to specific IP addresses. However, incorrect configurations can lead to problems accessing websites. Clearing the DNS cache or restarting your system can help resolve some issues.<\/p>"},{"question":"How can I use the Hosts file, and what problems might arise?","answer":"<p>The Hosts file provides local hostname resolution override, while DNS offers global domain name resolution. The Hosts file takes precedence over DNS resolution, making it useful for customizations on a local level.<\/p>"},{"question":"How does the Hosts file compare to DNS?","answer":"<p>As the internet evolves, the Hosts file is expected to coexist with advanced resolution technologies. It may find integration with security solutions and potentially support decentralized domain name resolution.<\/p>"},{"question":"What does the future hold for the Hosts file?","answer":"<p>Proxy servers can work alongside the Hosts file for access control, geolocation bypass, and load balancing, enhancing network performance and security.<\/p>"},{"question":"How can proxy servers be associated with the Hosts file?","answer":""}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477484\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/477485"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=477484"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}