{"id":248,"date":"2022-08-08T13:48:28","date_gmt":"2023-05-09T13:19:59","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/"},"modified":"2025-07-31T21:59:30","modified_gmt":"2025-07-31T12:59:30","slug":"ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/","title":{"rendered":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u6210\u3068\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u91cd\u8981\u306a\u90e8\u5206\u306f\u3001\u540d\u524d\u306b\u3088\u3063\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3068IP\u30a2\u30c9\u30ec\u30b9\u3092\u898b\u3064\u3051\u308b\u624b\u6bb5\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u65b9\u6cd5\u306e\u3072\u3068\u3064\u306f\u3001\u9069\u5207\u306a\u30c9\u30e1\u30a4\u30f3\u540d\u30b7\u30b9\u30c6\u30e0\uff08DNS\uff09\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3059\u3002IP\u30a2\u30c9\u30ec\u30b9\u306e\u4ee3\u308f\u308a\u306b\u5b8c\u5168\u4fee\u98fe\u30c9\u30e1\u30a4\u30f3\u540d\uff08FQDN\uff09\u3092\u4f7f\u7528\u3057\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u3092\u6700\u9069\u5316\u3057\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b88\u6027\u3092\u5411\u4e0a\u3055\u305b\u307e\u3059\u3002\u5c02\u7528\u306eDNS\u3092\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u3092\u6539\u5584\u3059\u308b\u7d20\u6674\u3089\u3057\u3044\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u30012\u53f0\u306eUbuntu 22.04\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3057\u3066\u5185\u90e8DNS\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002BIND\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\uff08BIND9\uff09\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30db\u30b9\u30c8\u540d\u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u89e3\u6c7a\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u74b0\u5883\u304c\u6570\u30db\u30b9\u30c8\u3092\u8d85\u3048\u3066\u62e1\u5927\u3059\u308b\u5834\u5408\u306b\u4e0d\u53ef\u6b20\u3068\u306a\u308b\u3001\u5185\u90e8\u30db\u30b9\u30c8\u540d\u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u306e\u96c6\u4e2d\u7ba1\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u304c\u5fc5\u8981\u3067\u3059\u3002\u5404\u30b5\u30fc\u30d0\u30fc\u3092\u540c\u3058\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u3067\u4f5c\u6210\u3057\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u3092\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul class=\"post-ul\">\n<li>A fresh Ubuntu 22.04 server to serve as the Primary DNS server, ns1.<\/li>\n<li>(Recommended) A second Ubuntu 22.04 server to serve as a Secondary DNS server, ns2.<\/li>\n<li>At least one additional server. This guide assumes you have two additional servers, which will be referred to as client servers. These client servers must be created in the same datacenter where your DNS servers are located.<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u30b5\u30fc\u30d0\u30fc\u305d\u308c\u305e\u308c\u306b\u3064\u3044\u3066\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3092\u6301\u3064sudo\u30e6\u30fc\u30b6\u30fc\u3092\u8a2d\u5b9a\u3057\u3001Ubuntu 22.04\u521d\u671f\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30ac\u30a4\u30c9\u306b\u5f93\u3063\u3066\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>DNS\u306e\u6982\u5ff5\u306b\u8a73\u3057\u304f\u306a\u3044\u5834\u5408\u306f\u3001\u5f53\u793e\u306eDNS\u7ba1\u7406\u306e\u5c0e\u5165\u306e\u6700\u521d\u306e3\u3064\u306e\u30d1\u30fc\u30c8\u3092\u5c11\u306a\u304f\u3068\u3082\u304a\u8aad\u307f\u3044\u305f\u3060\u304f\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-info\">\n<p class=\"post-conf-desc\">Info<\/p>\n<div>Silicon Cloud\u3067\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3079\u3066\u306e\u65b0\u3057\u3044vServers\u306fVirtual Private Cloud\uff08VPC\uff09\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001VPC\u306e\u88fd\u54c1\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<h3>\u4f8b\u3048\u3070\u3001\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3068\u76ee\u6a19<\/h3>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u4ee5\u4e0b\u3092\u524d\u63d0\u3068\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>You have two servers which will be designated as your DNS name servers. This guide will refer to these as ns1 and ns2.<\/li>\n<li>You have two additional client servers that will be using the DNS infrastructure you create, referred to as host1 and host2 in this guide. You can add as many client servers as you\u2019d like.<\/li>\n<li>All of these servers exist in the same datacenter. This tutorial assumes that this datacenter is called nyc3.<\/li>\n<li>All of these servers have private networking enabled and are on the 10.128.0.0\/16 subnet (you will likely have to adjust this for your servers).<\/li>\n<li>All servers are connected to a project that runs on example.com. This guide outlines how to set up an internal, private DNS system, so you can use any domain name you\u2019d like instead of example.com. The DNS servers will always attempt to first route requests internally, meaning they won\u2019t try to reach the given domain on the public internet. However, using a domain you own may help avoid conflicts with publicly routable domains.<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u524d\u63d0\u3092\u8003\u616e\u306b\u5165\u308c\u308b\u3068\u3001\u3053\u306e\u30ac\u30a4\u30c9\u306e\u4f8b\u3067\u306f\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3nyc3.example.com\u3092\u57fa\u306b\u3057\u305f\u547d\u540d\u65b9\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u3001\u4f8b\u3068\u3057\u3066\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30cd\u30c3\u30c8\u307e\u305f\u306f\u30be\u30fc\u30f3\u3092\u53c2\u7167\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001host1\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306e\u5b8c\u5168\u4fee\u98fe\u30c9\u30e1\u30a4\u30f3\u540d\uff08FQDN\uff09\u306fhost1.nyc3.example.com\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u5168\u4f53\u3067\u4f7f\u7528\u3055\u308c\u308b\u95a2\u9023\u3059\u308b\u8a73\u7d30\u306f\u3001\u4ee5\u4e0b\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Host<\/th>\n<th>Role<\/th>\n<th>Private FQDN<\/th>\n<th>Private IP Address<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>ns1<\/strong><\/td>\n<td>Primary DNS Server<\/td>\n<td><code>ns1.nyc3.example.com<\/code><\/td>\n<td><code>10.128.10.11<\/code><\/td>\n<\/tr>\n<tr>\n<td><strong>ns2<\/strong><\/td>\n<td>Secondary DNS Server<\/td>\n<td><code>ns2.nyc3.example.com<\/code><\/td>\n<td><code>10.128.20.12<\/code><\/td>\n<\/tr>\n<tr>\n<td><strong>host1<\/strong><\/td>\n<td>Generic Host 1<\/td>\n<td><code>host1.nyc3.example.com<\/code><\/td>\n<td><code>10.128.100.101<\/code><\/td>\n<\/tr>\n<tr>\n<td><strong>host2<\/strong><\/td>\n<td>Generic Host 2<\/td>\n<td><code>host2.nyc3.example.com<\/code><\/td>\n<td><code>10.128.200.102<\/code><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f: \u3042\u306a\u305f\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u7570\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u4f8b\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u540d\u524d\u3068IP\u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u3063\u3066\u3001DNS\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3057\u3066\u5185\u90e8DNS\u3092\u6a5f\u80fd\u3055\u305b\u308b\u65b9\u6cd5\u3092\u793a\u3059\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002 \u30db\u30b9\u30c8\u540d\u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u81ea\u5206\u306e\u3082\u306e\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u81ea\u5206\u306e\u74b0\u5883\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002 \u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u306e\u5730\u57df\u540d\u3092\u547d\u540d\u898f\u5247\u306b\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u3053\u3053\u3067\u306f\u3053\u308c\u3089\u306e\u30db\u30b9\u30c8\u304c\u7279\u5b9a\u306e\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5c5e\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3059\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u8907\u6570\u306e\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u3067\u30b5\u30fc\u30d0\u30fc\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u5185\u306b\u5185\u90e8DNS\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u6700\u5f8c\u307e\u3067\u306b\u3001\u512a\u5148DNS\u30b5\u30fc\u30d0\u30fc\u3067\u3042\u308bns1\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u4e8c\u6b21DNS\u30b5\u30fc\u30d0\u30fc\u3067\u3042\u308bns2\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002ns2\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u3057\u3066\u306e\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3063\u3066\u3044\u308b\u9014\u4e2d\u3067\u3001\u3053\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u7279\u5b9a\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u7279\u5b9a\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002ns1\u3067\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30b3\u30de\u30f3\u30c9\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u9752\u3044\u80cc\u666f\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u540c\u69d8\u306b\u3001ns2\u4e0a\u3067\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u306e\u3042\u308b\u30b3\u30de\u30f3\u30c9\u306f\u8d64\u3044\u80cc\u666f\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns2$\"><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30fc\u30d0\u30fc\u306e\u3044\u305a\u308c\u304b\u3067\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u306e\u3042\u308b\u30b3\u30de\u30f3\u30c9\u306f\u3001\u7dd1\u306e\u80cc\u666f\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u3057\u3066\u3001\u8907\u6570\u306e\u30b5\u30fc\u30d0\u3067\u5b9f\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u4efb\u610f\u306e\u30b3\u30de\u30f3\u30c9\u306b\u306f\u3001\u6a19\u6e96\u306e\u30cd\u30a4\u30d3\u30fc\u306e\u80cc\u666f\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6700\u5f8c\u306b\u3001\u30b3\u30de\u30f3\u30c9\u3084\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u306b\u3053\u306e\u3088\u3046\u306b\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u305d\u306e\u30c6\u30ad\u30b9\u30c8\u306f\u91cd\u8981\u306a\u610f\u5473\u3092\u6301\u3064\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001\u81ea\u5206\u81ea\u8eab\u306e\u8a2d\u5b9a\u3067\u7f6e\u304d\u63db\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u8a73\u7d30\u3084\u3001\u5909\u66f4\u3084\u8ffd\u52a0\u304c\u5fc5\u8981\u306a\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u3092\u793a\u3059\u305f\u3081\u306b\u3001\u3053\u306e\u3088\u3046\u306a\u30cf\u30a4\u30e9\u30a4\u30c8\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001host1.nyc3.example.com\u306e\u3088\u3046\u306a\u4f8b\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u81ea\u5206\u81ea\u8eab\u306e\u30b5\u30fc\u30d0\u30fc\u306eFQDN\u3067\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>ns1\u3068ns2\u3068\u3044\u3046\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u3068\u30bb\u30ab\u30f3\u30c0\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u4e21\u65b9\u306bBIND\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71 &#8211; DNS\u30b5\u30fc\u30d0\u30fc\u306bBIND\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2>\n<p>ns1\u3068ns2\u306e\u4e21\u65b9\u306eDNS\u30b5\u30fc\u30d0\u30fc\u306b\u3066\u3001apt\u30d1\u30c3\u30b1\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u308c\u305e\u308c\u306e\u30de\u30b7\u30f3\u306bBIND\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> bind9 bind9utils bind9-doc<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c7\u30b8\u30bf\u30eb\u30aa\u30fc\u30b7\u30e3\u30f3\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u306fIPv4\u306e\u307f\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u304c\u3042\u306a\u305f\u306e\u5834\u5408\u306f\u3001BIND\u3092IPv4\u30e2\u30fc\u30c9\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e21\u65b9\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u3001\u597d\u307f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001named\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001nano\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/default\/named<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30aa\u30d7\u30b7\u30e7\u30f3\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u672b\u5c3e\u306b-4\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\u4ee5\u4e0b\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u307e\u3059\uff08\uff11\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\uff09\uff1a<br \/>\n\u300c\/etc\/default\/named\u300d<\/div>\n<pre class=\"post-pre\"><code>. . .\r\nOPTIONS=\"-u bind <mark>-4<\/mark>\"\r\n<\/code><\/pre>\n<p>\u7de8\u96c6\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u306bnano\u3092\u4f7f\u7528\u3057\u305f\u5834\u5408\u3001CTRL + X\u3001Y\u3001\u305d\u3057\u3066ENTER\u3092\u62bc\u3059\u3053\u3068\u3067\u4fdd\u5b58\u3068\u9589\u3058\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5909\u66f4\u3092\u5b9f\u65bd\u3059\u308b\u305f\u3081\u306bBIND\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Henk\u014d o jisshi suru tame ni BIND o saikid\u014d shite kudasai.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns$\"><span class=\"token function\">sudo<\/span> systemctl restart bind9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>BIND\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u306e\u3067\u3001\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72\uff1a\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/h2>\n<p>BIND\u306e\u8a2d\u5b9a\u306f\u3001\u30e1\u30a4\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308bnamed.conf\u304b\u3089\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3055\u308c\u308b\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u3001BIND\u304c\u5b9f\u884c\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306e\u540d\u524d\u3067\u3042\u308bnamed\u3067\u59cb\u307e\u308a\u307e\u3059\uff08named\u306f\u300c\u30c9\u30e1\u30a4\u30f3\u540d\u30c7\u30fc\u30e2\u30f3\u300d\u3068\u3044\u3046\u610f\u5473\u306e\u300cname daemon\u300d\u306e\u7565\u3067\u3059\uff09\u3002\u307e\u305a\u3001named.conf.options\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30aa\u30d7\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a<\/h3>\n<p>ns1\u3067\u3001named.conf.options\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u305f\u3081\u306b\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/bind\/named.conf.options<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u65e2\u5b58\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u30d6\u30ed\u30c3\u30af\u306e\u4e0a\u306b\u3001trusted\u3068\u3044\u3046\u65b0\u3057\u3044ACL\uff08\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u30ea\u30b9\u30c8\uff09\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u306f\u3001ns1\u3068\u540c\u3058\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u306b\u3042\u308b\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306e\u30ea\u30ab\u30fc\u30b7\u30d6DNS\u30af\u30a8\u30ea\u3092\u8a31\u53ef\u3059\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30b9\u30c8\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u3066\u3001ns1\u3001ns2\u3001host1\u3001\u304a\u3088\u3073host2\u3092\u4fe1\u983c\u3055\u308c\u305f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4f8b\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u81ea\u5206\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u3082\u306e\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3092\u5fd8\u308c\u305a\u306b\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n<div>\/etc\/bind\/named.conf.options \u2014 \uff13\u3064\u306e\u3046\u3061\u306e\uff11\u3064<\/div>\n<pre class=\"post-pre\"><code>acl \"trusted\" {\r\n        <mark>10.128.10.11<\/mark>;    # ns1 \r\n        <mark>10.128.20.12<\/mark>;    # ns2\r\n        <mark>10.128.100.101<\/mark>;  # host1\r\n        <mark>10.128.200.102<\/mark>;  # host2\r\n};\r\n\r\noptions {\r\n\r\n        . . .\r\n<\/code><\/pre>\n<p>\u4fe1\u983c\u3067\u304d\u308bDNS\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30b9\u30c8\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u30d6\u30ed\u30c3\u30af\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u73fe\u5728\u306e\u30d6\u30ed\u30c3\u30af\u306e\u958b\u59cb\u90e8\u5206\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<div>\/etc\/bind\/named.conf.options \u306e\u3046\u3061\u306e 2 \u756a\u76ee\u306e\u3082\u306e\u306f\u4f55\u3067\u3059\u304b\uff1f<\/div>\n<pre class=\"post-pre\"><code>        . . .\r\n};\r\n\r\noptions {\r\n        directory \"\/var\/cache\/bind\";\r\n        . . .\r\n}\r\n<\/code><\/pre>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u4e0b\u306b\u3001\u5f37\u8abf\u3055\u308c\u305f\u8a2d\u5b9a\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u9069\u5207\u306ans1\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<div>\/etc\/bind\/named.conf.options \u2014 \u306e 3 \u3064\u306e 3 \u3064<\/div>\n<pre class=\"post-pre\"><code>        . . .\r\n\r\n};\r\n\r\noptions {\r\n        directory \"\/var\/cache\/bind\";\r\n        \r\n        <mark>recursion yes;<\/mark>                 # enables recursive queries\r\n        <mark>allow-recursion { trusted; };<\/mark>  # allows recursive queries from \"trusted\" clients\r\n        <mark>listen-on { 10.128.10.11; };<\/mark>   # ns1 private IP address - listen on private network only\r\n        <mark>allow-transfer { none; };<\/mark>      # disable zone transfers by default\r\n\r\n        <mark>forwarders {<\/mark>\r\n                <mark>8.8.8.8;<\/mark>\r\n                <mark>8.8.4.4;<\/mark>\r\n        <mark>};<\/mark>\r\n\r\n        . . .\r\n};\r\n<\/code><\/pre>\n<p>\u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u30d6\u30ed\u30c3\u30af\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30d6\u30ed\u30c3\u30af\u306b\u306f8.8.8.8\u30688.8.4.4\u306e2\u3064\u306eIP\u30a2\u30c9\u30ec\u30b9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u306fBIND\u304c\u5916\u90e8\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30ea\u30f3\u30af\u4e0a\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u6e1b\u3089\u3059\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u7279\u5225\u306a\u30e1\u30ab\u30cb\u30ba\u30e0\u3067\u3059\u3002\u307e\u305f\u3001\u76f4\u63a5\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306e\u30af\u30a8\u30ea\u3092\u8a31\u53ef\u3059\u308b\u305f\u3081\u306b\u3082\u30d5\u30a9\u30ef\u30fc\u30c0\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u308c\u3089\u306e\u30af\u30a8\u30ea\u3078\u306e\u5fdc\u7b54\u3092\u3088\u308a\u901f\u304f\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d6\u30ed\u30c3\u30af\u5185\u306e2\u3064\u306eIP\u30a2\u30c9\u30ec\u30b9\u306f\u3001Google\u306e\u30d1\u30d6\u30ea\u30c3\u30afDNS\u30ea\u30be\u30eb\u30d0\u3092\u8868\u3057\u307e\u3059\u304c\u3001\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u518d\u5e30\u7684\u306a\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\u306a\u3089\u3069\u308c\u3067\u3082\u6a5f\u80fd\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4ee3\u308f\u308a\u306bCloudflare\u306eDNS\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\uff081.1.1.1\uff09\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001named.conf.options \u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002\u4e0a\u8a18\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u3001\u4fe1\u983c\u3067\u304d\u308b\u81ea\u5206\u81ea\u8eab\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u307f\u304c\u5916\u90e8\u30c9\u30e1\u30a4\u30f3\u306eDNS\u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30a8\u30ea\u3092\u9001\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001named.conf.local\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001DNS\u30be\u30fc\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u3092\u884c\u3046<\/h3>\n<p>ns1\u3067\u3001named.conf.local\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u305f\u3081\u306b\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/bind\/named.conf.local<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3044\u304f\u3064\u304b\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u9664\u3044\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306f\u7a7a\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u3068\u30ea\u30d0\u30fc\u30b9\u30be\u30fc\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002DNS\u30be\u30fc\u30f3\u306f\u3001DNS\u30ec\u30b3\u30fc\u30c9\u306e\u7ba1\u7406\u3068\u5b9a\u7fa9\u306e\u7279\u5b9a\u306e\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u306e\u4f8b\u306e\u30c9\u30e1\u30a4\u30f3\u306f\u3059\u3079\u3066nyc3.example.com\u306e\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u5185\u306b\u3042\u308b\u305f\u3081\u3001\u305d\u308c\u3092\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u3068\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u4f8b\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u306f10.128.0.0\/16\u306eIP\u30b9\u30da\u30fc\u30b9\u306b\u305d\u308c\u305e\u308c\u5b58\u5728\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u305d\u306e\u7bc4\u56f2\u5185\u3067\u9006\u5f15\u304d\u3092\u5b9a\u7fa9\u3067\u304d\u308b\u3088\u3046\u306b\u30ea\u30d0\u30fc\u30b9\u30be\u30fc\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u884c\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30be\u30fc\u30f3\u540d\u3092\u3054\u81ea\u8eab\u306e\u3082\u306e\u306b\u7f6e\u304d\u63db\u3048\u3001allow-transfer\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u4e2d\u306b\u306f\u30bb\u30ab\u30f3\u30c0\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u3066\u3001\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/bind\/named.conf.local &#8211; 2\u3064\u306e1\u3064<\/div>\n<pre class=\"post-pre\"><code>. . .\r\n\r\nzone \"<mark>nyc3.example.com<\/mark>\" {\r\n    type primary;\r\n    file \"\/etc\/bind\/zones\/db.<mark>nyc3.example.com<\/mark>\"; # zone file path\r\n    allow-transfer { <mark>10.128.20.12<\/mark>; };           # ns2 private IP address - secondary\r\n};\r\n<\/code><\/pre>\n<p>\u79c1\u305f\u3061\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30cd\u30c3\u30c8\u304c10.128.0.0\/16\u3067\u3042\u308b\u3068\u4eee\u5b9a\u3057\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u884c\u3067\u9006\u5f15\u304d\u30be\u30fc\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u9006\u5f15\u304d\u30be\u30fc\u30f3\u306e\u540d\u524d\u306f10.128\u306e8\u30d3\u30c3\u30c8\u53cd\u8ee2\u3067\u3042\u308b128.10\u3067\u59cb\u307e\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<div>\/etc\/bind\/named.conf.local\u306e2\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/div>\n<pre class=\"post-pre\"><code>    . . .\r\n};\r\n\r\nzone \"<mark>128.10<\/mark>.in-addr.arpa\" {\r\n    type primary;\r\n    file \"\/etc\/bind\/zones\/db.<mark>10.128<\/mark>\";  # 10.128.0.0\/16 subnet\r\n    allow-transfer { <mark>10.128.20.12<\/mark>; };  # ns2 private IP address - secondary\r\n};\r\n<\/code><\/pre>\n<p>\u540c\u3058\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u5185\u306b\u3042\u308b\u304c\u8907\u6570\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u30b5\u30fc\u30d0\u30fc\u304c\u5e83\u304c\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u5404\u7570\u306a\u308b\u30b5\u30d6\u30cd\u30c3\u30c8\u3054\u3068\u306b\u8ffd\u52a0\u306e\u30be\u30fc\u30f3\u3068\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u671b\u3080\u30be\u30fc\u30f3\u3092\u5168\u3066\u8ffd\u52a0\u3057\u305f\u3089\u3001named.conf.local\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>BIND\u3067\u30be\u30fc\u30f3\u304c\u6307\u5b9a\u3055\u308c\u305f\u306e\u3067\u3001\u5bfe\u5fdc\u3059\u308b\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u3068\u30ea\u30d0\u30fc\u30b9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30d5\u30a9\u30ef\u30fc\u30c9DNS\u30eb\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u305f\u3081\u306bDNS\u30ec\u30b3\u30fc\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u5834\u6240\u3067\u3059\u3002\u3064\u307e\u308a\u3001DNS\u304c\u540d\u524d\u30af\u30a8\u30ea\uff08\u4f8b: host1.nyc3.example.com\uff09\u3092\u53d7\u4fe1\u3057\u305f\u5834\u5408\u3001\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u3057\u3066\u3001host1\u306b\u5bfe\u5fdc\u3059\u308b\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u89e3\u6c7a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u304c\u683c\u7d0d\u3055\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002named.conf.local\u306e\u8a2d\u5b9a\u306b\u3088\u308b\u3068\u3001\u305d\u306e\u5834\u6240\u306f\/etc\/bind\/zones\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> \/etc\/bind\/zones<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u79c1\u9054\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u306edb.local\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u5143\u306b\u3057\u305f\u4f8b\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u9069\u5207\u306a\u5834\u6240\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> \/etc\/bind\/db.local \/etc\/bind\/zones\/db.<mark>nyc3.example.com<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4eca\u3001\u524d\u65b9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/bind\/zones\/db.<mark>nyc3.example.com<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6700\u521d\u306e\u6bb5\u968e\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u542b\u307e\u308c\u307e\u3059\u3002 (Saisho no dankai de wa, ika no y\u014dna kontentsu ga fukumaremasu.)<\/p>\n<div>\/etc\/bind\/zones\/db.nyc3.example.com \u2014 \u5143\u306e\u30d5\u30a1\u30a4\u30eb<\/div>\n<pre class=\"post-pre\"><code>$TTL    604800\r\n@       IN      SOA     localhost. root.localhost. (\r\n                              2         ; Serial\r\n                         604800         ; Refresh\r\n                          86400         ; Retry\r\n                        2419200         ; Expire\r\n                         604800 )       ; Negative Cache TTL\r\n;\r\n@       IN      NS      localhost.      ; delete this line\r\n@       IN      A       127.0.0.1       ; delete this line\r\n@       IN      AAAA    ::1             ; delete this line\r\n<\/code><\/pre>\n<p>\u6700\u521d\u306b\u3001SOA\u30ec\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6700\u521d\u306elocalhost\u3092ns1\u306e\u5b8c\u5168\u4fee\u98fe\u30c9\u30e1\u30a4\u30f3\u540d\uff08FQDN\uff09\u3067\u7f6e\u304d\u63db\u3048\u3001root.localhost\u3092admin.nyc3.example.com\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u305f\u3073\u306b\u3001named\u30d7\u30ed\u30bb\u30b9\u3092\u518d\u8d77\u52d5\u3059\u308b\u524d\u306bSerial\u5024\u3092\u5897\u3084\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001Serial\u5024\u30923\u306b\u5897\u3084\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/bind\/zones\/db.nyc3.example.com\u306f3\u3064\u306e\u3046\u30611\u3064\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>. . .\r\n;\r\n$TTL    604800\r\n@       IN      SOA     <mark>ns1.nyc3.example.com<\/mark>. <mark>admin<\/mark>.<mark>nyc3.example.com<\/mark>. (\r\n                              <mark>3<\/mark>         ; Serial\r\n\r\n                              . . .\r\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306e3\u3064\u306e\u30ec\u30b3\u30fc\u30c9\uff08SOA\u30ec\u30b3\u30fc\u30c9\u306e\u5f8c\uff09\u3092\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3069\u306e\u884c\u3092\u524a\u9664\u3059\u308b\u304b\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u524d\u306e\u4f8b\u3067\u300c\u3053\u306e\u884c\u3092\u524a\u9664\u300d\u3068\u30b3\u30e1\u30f3\u30c8\u304c\u8a18\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306b\u3001\u4ee5\u4e0b\u306e\u884c\u3067\u81ea\u5206\u306e\u540d\u524d\u30b5\u30fc\u30d0\u30fc\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u540d\u524d\u306f\u81ea\u5206\u306e\u3082\u306e\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3002\u306a\u304a\u30012\u756a\u76ee\u306e\u5217\u306b\u306f\u3053\u308c\u304cNS\u30ec\u30b3\u30fc\u30c9\u3067\u3042\u308b\u3053\u3068\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div>\/db.nyc3.example.com\u306e\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306f3\u3064\u4e2d2\u3064\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>. . .\r\n\r\n; name servers - NS records\r\n    IN      NS      ns1.<mark>nyc3.example.com<\/mark>.\r\n    IN      NS      ns2.<mark>nyc3.example.com<\/mark>.\r\n<\/code><\/pre>\n<p>\u3067\u306f\u3001\u3053\u306e\u30be\u30fc\u30f3\u306b\u5c5e\u3059\u308b\u30db\u30b9\u30c8\u306eA\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u306f\u3001.nyc3.example.com\u3067\u7d42\u308f\u308b\u540d\u524d\u3092\u6301\u3064\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u542b\u307e\u308c\u307e\u3059\uff08\u540d\u524d\u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3002\u79c1\u305f\u3061\u306e\u4f8b\u306e\u540d\u524d\u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3001ns1\u3001ns2\u3001host1\u3001host2\u306eA\u30ec\u30b3\u30fc\u30c9\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div>\/etc\/bind\/zones\/db.nyc3.example.com \u306f\u30013\u3064\u306e\u3046\u3061\u306e3\u3064\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>. . .\r\n\r\n; name servers - A records\r\nns1.<mark>nyc3.example.com<\/mark>.          IN      A       <mark>10.128.10.11<\/mark>\r\nns2.<mark>nyc3.example.com<\/mark>.          IN      A       <mark>10.128.20.12<\/mark>\r\n\r\n; 10.128.0.0\/16 - A records\r\n<mark>host1.nyc3.example.com<\/mark>.        IN      A      <mark>10.128.100.101<\/mark>\r\n<mark>host2.nyc3.example.com<\/mark>.        IN      A      <mark>10.128.200.102<\/mark>\r\n<\/code><\/pre>\n<p>\u6700\u7d42\u7684\u306a\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u4f8b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u542b\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<div>\u300c\/etc\/bind\/zones\/db.nyc3.example.com\u300d\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>$TTL    604800\r\n@       IN      SOA     <mark>ns1.nyc3.example.com<\/mark>. admin.<mark>nyc3.example.com<\/mark>. (\r\n                  <mark>3<\/mark>     ; Serial\r\n             604800     ; Refresh\r\n              86400     ; Retry\r\n            2419200     ; Expire\r\n             604800 )   ; Negative Cache TTL\r\n;\r\n; name servers - NS records\r\n     IN      NS      ns1.<mark>nyc3.example.com<\/mark>.\r\n     IN      NS      ns2.<mark>nyc3.example.com<\/mark>.\r\n\r\n; name servers - A records\r\nns1.<mark>nyc3.example.com<\/mark>.          IN      A       <mark>10.128.10.11<\/mark>\r\nns2.<mark>nyc3.example.com<\/mark>.          IN      A       <mark>10.128.20.12<\/mark>\r\n\r\n; 10.128.0.0\/16 - A records\r\n<mark>host1.nyc3.example.com<\/mark>.        IN      A      <mark>10.128.100.101<\/mark>\r\n<mark>host2.nyc3.example.com<\/mark>.        IN      A      <mark>10.128.200.102<\/mark>\r\n<\/code><\/pre>\n<p>\u300cdb.nyc3.example.com\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3067\u306f\u3001\u9006\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306b\u79fb\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30ea\u30d0\u30fc\u30b9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h3>\n<p>\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u9006\u5f15\u304dDNS\u691c\u7d22\u306e\u305f\u3081\u306bDNS PTR\u30ec\u30b3\u30fc\u30c9\u3092\u5b9a\u7fa9\u3059\u308b\u5834\u6240\u3067\u3059\u3002\u3059\u306a\u308f\u3061\u3001DNS\u304cIP\u30a2\u30c9\u30ec\u30b9\uff08\u4f8b\u3048\u307010.128.100.101\uff09\u306b\u3088\u308b\u30af\u30a8\u30ea\u3092\u53d7\u4fe1\u3059\u308b\u3068\u3001\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb(\u8907\u6570)\u3092\u53c2\u7167\u3057\u3066\u3001\u5bfe\u5fdc\u3059\u308bFQDN\uff08host1.nyc3.example.com\uff09\u3092\u89e3\u6c7a\u3057\u307e\u3059\u3002<\/p>\n<p>ns1\u306b\u306f\u3001named.conf.local\u30d5\u30a1\u30a4\u30eb\u3067\u6307\u5b9a\u3055\u308c\u305f\u5404\u9006\u5f15\u304d\u30be\u30fc\u30f3\u306b\u5bfe\u3057\u3066\u3001\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4f8b\u3068\u3057\u3066\u3001\u30b5\u30f3\u30d7\u30eb\u306edb.127\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u57fa\u306b\u3057\u3066\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002BIND\u306f\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u30eb\u30fc\u30d7\u30d0\u30c3\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u60c5\u5831\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002localhost\u3092\u8868\u3059IP\u30a2\u30c9\u30ec\u30b9\u306e\u6700\u521d\u306e\u30aa\u30af\u30c6\u30c3\u30c8\u3067\u3042\u308b127\u306b\u57fa\u3065\u3044\u3066\u3044\u307e\u3059\uff08127.0.0.1\uff09\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6b63\u3057\u3044\u5834\u6240\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u9006\u5f15\u304d\u30be\u30fc\u30f3\u306e\u5b9a\u7fa9\u306b\u5408\u308f\u305b\u3066\u5b9b\u5148\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> \/etc\/bind\/db.127 \/etc\/bind\/zones\/db.<mark>10.128<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>named.conf.local\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u9006\u5f15\u304d\u30be\u30fc\u30f3\u306b\u5bfe\u5fdc\u3059\u308b\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/bind\/zones\/db.<mark>10.128<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u306f\u3058\u3081\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<div>\/etc\/bind\/zones\/db.10.128 \u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u3002<\/div>\n<pre class=\"post-pre\"><code>$TTL    604800\r\n@       IN      SOA     localhost. root.localhost. (\r\n                              1         ; Serial\r\n                         604800         ; Refresh\r\n                          86400         ; Retry\r\n                        2419200         ; Expire\r\n                         604800 )       ; Negative Cache TTL\r\n;\r\n@       IN      NS      localhost.      ; delete this line\r\n1.0.0   IN      PTR     localhost.      ; delete this line\r\n<\/code><\/pre>\n<p>\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u3088\u3046\u306b\u3001SOA\u30ec\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3057\u3066\u30b7\u30ea\u30a2\u30eb\u306e\u5024\u3092\u5897\u3084\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div>\/etc\/bind\/zones\/db.10.128\u306e\u66f4\u65b0\u304c3\u3064\u306e\u3046\u3061\u306e1\u3064\u884c\u308f\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>@       IN      SOA     <mark>ns1.nyc3.example.com<\/mark>. <mark>admin<\/mark>.<mark>nyc3.example.com<\/mark>. (\r\n                              <mark>3<\/mark>         ; Serial\r\n\r\n                              . . .\r\n<\/code><\/pre>\n<p>\u6700\u5f8c\u306eSOA\u30ec\u30b3\u30fc\u30c9\u306e\u5f8c\u306b\u3042\u308b2\u3064\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u524a\u9664\u3059\u308b\u884c\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u524d\u306e\u4f8b\u3067\u300c\u3053\u306e\u884c\u3092\u524a\u9664\u3057\u307e\u3059\u300d\u3068\u30b3\u30e1\u30f3\u30c8\u304c\u4ed8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306b\u3001\u6b21\u306e\u884c\u3067\u3042\u306a\u305f\u81ea\u8eab\u306e\u540d\u524d\u30b5\u30fc\u30d0\u30fc\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u540d\u524d\u306f\u81ea\u5206\u306e\u3082\u306e\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3002\u306a\u304a\u3001\u7b2c2\u5217\u306f\u3053\u308c\u3089\u304cNS\u30ec\u30b3\u30fc\u30c9\u3067\u3042\u308b\u3053\u3068\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div>\/etc\/bind\/zones\/db.10.128\u306e\u66f4\u65b0\u306f3\u3064\u4e2d2\u3064\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>. . .\r\n\r\n; name servers - NS records\r\n      IN      NS      ns1.<mark>nyc3.example.com<\/mark>.\r\n      IN      NS      ns2.<mark>nyc3.example.com<\/mark>.\r\n<\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u7de8\u96c6\u3057\u3066\u3044\u308b\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u5bfe\u3057\u3066\u3001PTR\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u30db\u30b9\u30c8\u304c10.128.0.0\/16\u30b5\u30d6\u30cd\u30c3\u30c8\u4e0a\u306b\u3042\u308b\u305f\u3081\u3001\u3059\u3079\u3066\u306e\u30db\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u306a\u304a\u3001\u6700\u521d\u306e\u5217\u306f\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u306e\u5f8c\u308d\u304b\u30892\u3064\u306e\u30aa\u30af\u30c6\u30c3\u30c8\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u540d\u524d\u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u9069\u5207\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/bind\/zones\/db.10.128\u306f3\u3064\u4e2d3\u3064\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>. . .\r\n\r\n; PTR Records\r\n<mark>11.10<\/mark>   IN      PTR     ns1.<mark>nyc3.example.com<\/mark>.    ; 10.128.10.11\r\n<mark>12.20<\/mark>   IN      PTR     ns2.<mark>nyc3.example.com<\/mark>.    ; 10.128.20.12\r\n<mark>101.100<\/mark> IN      PTR     <mark>host1.nyc3.example.com<\/mark>.  ; 10.128.100.101\r\n<mark>102.200<\/mark> IN      PTR     <mark>host2.nyc3.example.com<\/mark>.  ; 10.128.200.102\r\n<\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u6700\u7d42\u7684\u306a\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div>\/etc\/bind\/zones\/db.10.128\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>$TTL    604800\r\n@       IN      SOA     <mark>nyc3.example.com<\/mark>. <mark>admin<\/mark>.<mark>nyc3.example.com<\/mark>. (\r\n                              <mark>3<\/mark>         ; Serial\r\n                         604800         ; Refresh\r\n                          86400         ; Retry\r\n                        2419200         ; Expire\r\n                         604800 )       ; Negative Cache TTL\r\n; name servers\r\n      IN      NS      ns1.<mark>nyc3.example.com<\/mark>.\r\n      IN      NS      ns2.<mark>nyc3.example.com<\/mark>.\r\n\r\n; PTR Records\r\n<mark>11.10<\/mark>   IN      PTR     ns1.<mark>nyc3.example.com<\/mark>.    ; 10.128.10.11\r\n<mark>12.20<\/mark>   IN      PTR     ns2.<mark>nyc3.example.com<\/mark>.    ; 10.128.20.12\r\n<mark>101.100<\/mark> IN      PTR     <mark>host1.nyc3.example.com<\/mark>.  ; 10.128.100.101\r\n<mark>102.200<\/mark> IN      PTR     <mark>host2.nyc3.example.com<\/mark>.  ; 10.128.200.102\r\n<\/code><\/pre>\n<p>\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u4ed6\u306e\u9006\u5f15\u304d\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u3053\u306e\u624b\u9806\u3092\u7e70\u308a\u8fd4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u306f\u7d42\u4e86\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u6b21\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>BIND\u306e\u8a2d\u5b9a\u69cb\u6587\u306e\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u3002<\/h3>\n<p>\u300cnamed.conf*\u300d\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6587\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> named-checkconf<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u306b\u6587\u6cd5\u30a8\u30e9\u30fc\u304c\u306a\u3051\u308c\u3070\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u8868\u793a\u3055\u308c\u305a\u3001\u30b7\u30a7\u30eb\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u623b\u308a\u307e\u3059\u3002\u3082\u3057\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u554f\u984c\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u300c\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u300d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3001\u518d\u5ea6named-checkconf\u3092\u8a66\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>named-checkzone\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u6b63\u78ba\u6027\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u6700\u521d\u306e\u5f15\u6570\u306f\u30be\u30fc\u30f3\u540d\u3092\u6307\u5b9a\u3057\u3001\u4e8c\u756a\u76ee\u306e\u5f15\u6570\u306f\u5bfe\u5fdc\u3059\u308b\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3044\u305a\u308c\u3082named.conf.local\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001nyc3.example.com\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u30d5\u30a9\u30ef\u30fc\u30c9\u30be\u30fc\u30f3\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u81ea\u5206\u306e\u3082\u306e\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> named-checkzone <mark>nyc3.example.com<\/mark> \/etc\/bind\/zones\/db.<mark>nyc3.example.com<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>zone nyc3.example.com\/IN: loaded serial 3 OK<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u3057\u3066\u3001128.10.in-addr.arpa\u306e\u9006\u30be\u30fc\u30f3\u306e\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u9006\u30be\u30fc\u30f3\u3084\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u5fdc\u3059\u308b\u6570\u5024\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> named-checkzone <mark><span class=\"token number\">128.10<\/span><\/mark>.in-addr.arpa \/etc\/bind\/zones\/db.<mark>10.128<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3068\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3079\u3066\u30a8\u30e9\u30fc\u3092\u542b\u307e\u306a\u3044\u72b6\u614b\u306b\u306a\u3063\u305f\u3089\u3001BIND\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3059\u308b\u6e96\u5099\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>BIND\u3092\u518d\u8d77\u52d5\u3059\u308b<\/h3>\n<p>BIND\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> systemctl restart bind9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>UFW\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u3001BIND\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u958b\u304f\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> ufw allow Bind9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306f\u8a2d\u5b9a\u3055\u308c\u3001DNS\u30af\u30a8\u30ea\u306b\u5fdc\u7b54\u3059\u308b\u6e96\u5099\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u3002\u6b21\u306b\u3001\u30bb\u30ab\u30f3\u30c0\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u9032\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 \u2014 \u30bb\u30ab\u30f3\u30c0\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a<\/h2>\n<p>\u307b\u3068\u3093\u3069\u306e\u74b0\u5883\u3067\u306f\u3001\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u304c\u5229\u7528\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306b\u5fdc\u7b54\u3059\u308b\u30bb\u30ab\u30f3\u30c0\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u826f\u3044\u8003\u3048\u3067\u3059\u3002\u5e78\u3044\u306a\u3053\u3068\u306b\u3001\u30bb\u30ab\u30f3\u30c0\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u3088\u308a\u3082\u8907\u96d1\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>ns2\u3067\u3001named.conf.options\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns2$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/bind\/named.conf.options<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u306b\u3001\u4fe1\u983c\u3067\u304d\u308b\u5168\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u7528\u3044\u305fACL\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/bind\/named.conf.options\u306f\u30012\u3064\u306e\u3046\u30611\u3064(\u30bb\u30ab\u30f3\u30c0\u30ea)\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002<\/div>\n<pre class=\"post-pre\"><code>acl \"trusted\" {\r\n        <mark>10.128.10.11<\/mark>;   # ns1\r\n        <mark>10.128.20.12<\/mark>;   # ns2 \r\n        <mark>10.128.100.101<\/mark>;  # host1\r\n        <mark>10.128.200.102<\/mark>;  # host2\r\n};\r\n\r\noptions {\r\n\r\n        . . .\r\n<\/code><\/pre>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u4e0b\u306b\u3001\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/bind\/named.conf.options\u306e\u66f4\u65b0\uff082\u756a\u76ee\u306e2\u3064\uff09<\/div>\n<pre class=\"post-pre\"><code>    . . .\r\n\r\n        recursion yes;\r\n        allow-recursion { trusted; };\r\n        listen-on { <mark>10.128.20.12<\/mark>; };      # ns2 private IP address\r\n        allow-transfer { none; };          # disable zone transfers by default\r\n\r\n        forwarders {\r\n                8.8.8.8;\r\n                8.8.4.4;\r\n        };\r\n\r\n    . . .\r\n<\/code><\/pre>\n<p>named.conf.options\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001ns1\u306enamed.conf.options\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001ns2\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3067\u30ea\u30b9\u30f3\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>named.conf.local\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns2$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/bind\/named.conf.local<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4e3bDNS\u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u5fdc\u3059\u308b\u30bb\u30ab\u30f3\u30c0\u30ea\u30be\u30fc\u30f3\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u30bf\u30a4\u30d7\u306f\u30bb\u30ab\u30f3\u30c0\u30ea\u3067\u3042\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u30d1\u30b9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306eprimaries\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u3042\u308a\u307e\u3059\u3002\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u3067\u8907\u6570\u306e\u9006\u5f15\u304d\u30be\u30fc\u30f3\u3092\u5b9a\u7fa9\u3057\u305f\u5834\u5408\u306f\u3001\u3059\u3079\u3066\u3053\u3053\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\/etc\/bind\/named.conf.local\u306e\u66f4\u65b0\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002\uff08\u30bb\u30ab\u30f3\u30c0\u30ea\uff09<\/div>\n<pre class=\"post-pre\"><code>zone \"<mark>nyc3.example.com<\/mark>\" {\r\n    type secondary;\r\n    file \"db.<mark>nyc3.example.com<\/mark>\";\r\n    primaries { <mark>10.128.10.11<\/mark>; };  # ns1 private IP\r\n};\r\n\r\nzone \"<mark>128.10<\/mark>.in-addr.arpa\" {\r\n    type secondary;\r\n    file \"db.<mark>10.128<\/mark>\";\r\n    primaries { <mark>10.128.10.11<\/mark>; };  # ns1 private IP\r\n};\r\n<\/code><\/pre>\n<p>\u4eca\u3001named.conf.local\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u6b63\u5f53\u6027\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns2$\"><span class=\"token function\">sudo<\/span> named-checkconf<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u304c\u30a8\u30e9\u30fc\u3092\u8fd4\u3055\u306a\u3051\u308c\u3070\u3001BIND\u3092\u518d\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns2$\"><span class=\"token function\">sudo<\/span> systemctl restart bind9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001UFW\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u30eb\u30fc\u30eb\u3092\u5909\u66f4\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u3078\u306eDNS\u63a5\u7d9a\u3092\u8a31\u53ef\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns2$\"><span class=\"token function\">sudo<\/span> ufw allow Bind9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u308c\u3067\u306f\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u540d\u524d\u3068IP\u30a2\u30c9\u30ec\u30b9\u306e\u89e3\u6c7a\u306b\u5fc5\u8981\u306a\u30d7\u30e9\u30a4\u30de\u30ea\u3068\u30bb\u30ab\u30f3\u30c0\u30ea\u306eDNS\u30b5\u30fc\u30d0\u30fc\u304c\u5099\u308f\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u304b\u3089\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30fc\u30d0\u30fc\u3092\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8DNS\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74\uff1aDNS\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u8a2d\u5b9a<\/h2>\n<p>\u4fe1\u983c\u3055\u308c\u305fACL\u5185\u306e\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u304cDNS\u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30a8\u30ea\u3092\u9001\u4fe1\u3059\u308b\u524d\u306b\u3001\u5404\u30b5\u30fc\u30d0\u30fc\u3092ns1\u3068ns2\u3092\u540d\u524d\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30fc\u30d0\u30fc\u304cUbuntu\u3067\u7a3c\u50cd\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u308b\u30c7\u30d0\u30a4\u30b9\u3092\u898b\u3064\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001ip\u30a2\u30c9\u30ec\u30b9\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30cd\u30c3\u30c8\u306b\u554f\u3044\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30de\u30b7\u30f3\u3054\u3068\u306b\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u81ea\u5206\u306e\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u30b5\u30d6\u30cd\u30c3\u30c8\u3092\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"host$\"><span class=\"token function\">ip<\/span> address show to <mark><span class=\"token number\">10.128<\/span>.0.0\/16<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>3: <mark>eth1<\/mark>: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000 altname enp0s4 altname ens4 inet 10.128.100.101\/16 brd 10.128.255.255 scope global eth1 valid_lft forever preferred_lft forever<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306feth1\u3067\u3059\u3002\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u5168\u4f53\u3092\u901a\u3057\u3066\u306e\u4f8b\u3067\u306f\u3001eth1\u3092\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3068\u547c\u3073\u307e\u3059\u304c\u3001\u3053\u308c\u3089\u306e\u4f8b\u3092\u81ea\u8eab\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Ubuntu 22.04\u3067\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u306fNetplan\u3092\u4f7f\u7528\u3057\u3066\u69cb\u6210\u3055\u308c\u307e\u3059\u3002Netplan\u306f\u6a19\u6e96\u5316\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u69cb\u6210\u3092\u8a18\u8ff0\u3057\u3001\u4e92\u63db\u6027\u306e\u3042\u308b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306b\u9069\u7528\u3059\u308b\u305f\u3081\u306e\u62bd\u8c61\u5316\u3055\u308c\u305f\u4ed5\u7d44\u307f\u3067\u3059\u3002DNS\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001Netplan\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\/etc\/netplan \u306b\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb 00-private-nameservers.yaml \u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/netplan\/00-private-nameservers.yaml<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5185\u90e8\u306b\u306f\u3001\u6b21\u306e\u5185\u5bb9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3001ns1\u3068ns2\u306eDNS\u30b5\u30fc\u30d0\u30fc\u306e\u30a2\u30c9\u30ec\u30b9\u3001\u304a\u3088\u3073DNS\u30be\u30fc\u30f3\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1aNetplan\u306f\u3001\u305d\u306e\u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u306bYAML\u30c7\u30fc\u30bf\u30b7\u30ea\u30a2\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002YAML\u306f\u30a4\u30f3\u30c7\u30f3\u30c8\u3068\u7a7a\u767d\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u3001\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u306f\u4e00\u8cab\u3057\u305f\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\nYAML Lint\u306e\u3088\u3046\u306aYAML\u30c1\u30a7\u30c3\u30ab\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3001YAML\u30d5\u30a1\u30a4\u30eb\u306e\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n<div>\/etc\/netplan 00-private-nameservers.yaml \u306e\u5185\u5bb9<\/div>\n<pre class=\"post-pre\"><code>network:\r\n    version: 2\r\n    ethernets:\r\n        <mark>eth1<\/mark>:                                    # Private network interface\r\n            nameservers:\r\n                addresses:\r\n                - <mark>10.128.10.11<\/mark>                # Private IP for ns1\r\n                - <mark>10.132.20.12<\/mark>                # Private IP for ns2\r\n                search: [ <mark>nyc3.example.com<\/mark> ]    # DNS zone\r\n\r\n<\/code><\/pre>\n<p>\u4f5c\u696d\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b21\u306b\u3001Netplan\u306b\u65b0\u3057\u3044\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3088\u3046\u3068\u3059\u308b\u3088\u3046\u6307\u793a\u3057\u307e\u3057\u3087\u3046\u3002\u305d\u308c\u306b\u306f\u3001netplan try\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30ad\u30f3\u30b0\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u3066\u901a\u4fe1\u304c\u9014\u5207\u308c\u305f\u5834\u5408\u3001Netplan\u306f\u4e00\u5b9a\u6642\u9593\u304c\u7d4c\u904e\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u5909\u66f4\u3092\u5143\u306b\u623b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> netplan try<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Warning: Stopping systemd-networkd.service, but it can still be activated by: systemd-networkd.socket Do you want to keep these settings? Press ENTER before the timeout to accept the new configuration Changes will revert in 120 seconds<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u30ab\u30a6\u30f3\u30c8\u30c0\u30a6\u30f3\u304c\u6b63\u3057\u304f\u66f4\u65b0\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u65b0\u3057\u3044\u8a2d\u5b9a\u306f\u5c11\u306a\u304f\u3068\u3082SSH\u63a5\u7d9a\u3092\u58ca\u3059\u3053\u3068\u306f\u306a\u3044\u7a0b\u5ea6\u306b\u306f\u6a5f\u80fd\u3057\u3066\u3044\u307e\u3059\u3002\u65b0\u3057\u3044\u8a2d\u5b9a\u3092\u53d7\u3051\u5165\u308c\u308b\u306b\u306fENTER\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3055\u3042\u3001\u30b7\u30b9\u30c6\u30e0\u306eDNS\u30ea\u30be\u30eb\u30d0\u30fc\u3092\u78ba\u8a8d\u3057\u3066\u3001DNS\u306e\u8a2d\u5b9a\u304c\u9069\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> resolvectl status<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u81ea\u5206\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u898b\u3064\u3051\u308b\u307e\u3067\u3001\u30b9\u30af\u30ed\u30fc\u30eb\u30c0\u30a6\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002 DNS\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u306f\u6700\u521d\u306b\u30ea\u30b9\u30c8\u3055\u308c\u3001\u305d\u306e\u5f8c\u306b\u3044\u304f\u3064\u304b\u306e\u4e88\u5099\u5024\u304c\u7d9a\u304d\u307e\u3059\u3002 DNS\u30c9\u30e1\u30a4\u30f3\u306e\u5f8c\u306b\u3001\u3042\u306a\u305f\u306e\u30c9\u30e1\u30a4\u30f3\u304c\u30ea\u30b9\u30c8\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>. . . Link 3 (eth1) Current Scopes: DNS Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no\/unsupported Current DNS Server: 67.207.67.3 DNS Servers: <mark>10.128.10.11<\/mark> <mark>10.128.20.12<\/mark> 67.207.67.3 67.207.67.2 DNS Domain: <mark>nyc3.example.com<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306eUbuntu\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u3001\u5185\u90e8\u306eDNS\u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d75 &#8211; \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30c6\u30b9\u30c8<\/h2>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u540d\u524d\u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30a8\u30ea\u3092\u9001\u4fe1\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001nslookup\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u8a2d\u5b9a\u6e08\u307f\u3067\u4fe1\u983c\u3055\u308c\u305fACL\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3053\u308c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u300c\u307e\u305a\u3001\u30d5\u30a9\u30ef\u30fc\u30c9\u30eb\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u300d<\/p>\n<h3>\u4e88\u6e2c\u691c\u7d22<\/h3>\n<p>host1.nyc3.example.com\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nslookup<\/span> host1<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u691c\u7d22\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001host1\u306e\u30af\u30a8\u30ea\u306fhost1.nyc3.example.com\u3078\u5c55\u958b\u3055\u308c\u307e\u3059\u3002DNS\u30af\u30a8\u30ea\u306f\u3001\u4ed6\u306e\u5834\u6240\u3067\u30db\u30b9\u30c8\u3092\u691c\u7d22\u3059\u308b\u524d\u306b\u3001\u307e\u305a\u305d\u306e\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092\u63a2\u305d\u3046\u3068\u3057\u307e\u3059\u3002\u524d\u306e\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Server: 127.0.0.53 Address: 127.0.0.53#53 Non-authoritative answer: Name: host1.nyc3.example.com Address: 10.128.100.101<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001\u9006\u5f15\u304d\u691c\u7d22\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u9006\u5f15\u304d<\/h3>\n<p>\u9006\u5f15\u304d\u306e\u30c6\u30b9\u30c8\u3092\u3059\u308b\u305f\u3081\u306b\u3001\u30db\u30b9\u30c81\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3067DNS\u30b5\u30fc\u30d0\u30fc\u306b\u30af\u30a8\u30ea\u3092\u9001\u4fe1\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nslookup<\/span> <span class=\"token number\">10.128<\/span>.100.101<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u3061\u3089\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51fa\u529b\u3092\u8fd4\u3059\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>11.10.128.10.in-addr.arpa name = host1.nyc3.example.com. Authoritative answers can be found from:<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u540d\u524d\u3068IP\u30a2\u30c9\u30ec\u30b9\u304c\u3059\u3079\u3066\u6b63\u3057\u3044\u5024\u306b\u89e3\u6c7a\u3055\u308c\u308b\u5834\u5408\u3001\u305d\u308c\u306f\u3042\u306a\u305f\u306e\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\u304c\u9069\u5207\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u4e88\u671f\u3057\u306a\u3044\u5024\u3092\u53d7\u3051\u53d6\u3063\u305f\u5834\u5408\u306f\u3001\u30d7\u30e9\u30a4\u30de\u30eaDNS\u30b5\u30fc\u30d0\u30fc\u4e0a\u306e\u30be\u30fc\u30f3\u30d5\u30a1\u30a4\u30eb\uff08\u4f8b\uff1adb.nyc3.example.com\u3068db.10.128\uff09\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6700\u5f8c\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30be\u30fc\u30f3\u30ec\u30b3\u30fc\u30c9\u306e\u7ba1\u7406\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d76 \u30fc DNS\u30ec\u30b3\u30fc\u30c9\u306e\u7dad\u6301<\/h2>\n<p>\u5185\u90e8DNS\u304c\u6a5f\u80fd\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3092\u6b63\u78ba\u306b\u53cd\u6620\u3059\u308b\u305f\u3081\u306bDNS\u30ec\u30b3\u30fc\u30c9\u3092\u9069\u5207\u306b\u4fdd\u5b88\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>DNS\u306b\u30db\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308b<\/h3>\n<p>\u540c\u3058\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u5185\u3067\u30db\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3001DNS\u306b\u3082\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u5fc5\u8981\u306a\u624b\u9806\u306e\u30ea\u30b9\u30c8\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<h4>\u4e3b\u8981\u306a\u540d\u524d\u30b5\u30fc\u30d0\u30fc<\/h4>\n<ul class=\"post-ul\">\n<li>Forward zone file: Add an A record for the new host, increment the value of Serial<\/li>\n<li>Reverse zone file: Add a PTR record for the new host, increment the value of Serial<\/li>\n<li>Add your new host\u2019s private IP address to the trusted ACL (named.conf.options)<\/li>\n<\/ul>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30c6\u30b9\u30c8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> named-checkconf<\/li>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> named-checkzone <mark>nyc3.example.com<\/mark> \/etc\/bind\/zones\/db.<mark>nyc3.example.com<\/mark><\/li>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> named-checkzone <mark><span class=\"token number\">128.10<\/span><\/mark>.in-addr.arpa \/etc\/bind\/zones\/db.<mark>10.128<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306bBIND\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"ns1$\"><span class=\"token function\">sudo<\/span> systemctl reload bind9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u65b0\u3057\u3044\u30db\u30b9\u30c8\u306b\u306f\u3001\u73fe\u5728\u3001\u3042\u306a\u305f\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fc\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4>\u30bb\u30ab\u30f3\u30c0\u30ea\u30cd\u30fc\u30e0\u30b5\u30fc\u30d0\u30fc<\/h4>\n<ul class=\"post-ul\">\n<li>Add your new host\u2019s private IP address to the trusted ACL (named.conf.options)<\/li>\n<\/ul>\n<p>\u69cb\u6210\u69cb\u6587\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> named-checkconf<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u308c\u304b\u3089BIND\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Sorekara BIND wo saiyomikomishite kudasai.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl reload bind9<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u65b0\u305f\u306a\u30db\u30b9\u30c8\u304b\u3089\u306e\u63a5\u7d9a\u306f\u3001\u304a\u624b\u6570\u3067\u3059\u304c\u3001\u3054\u5229\u7528\u3044\u305f\u3060\u3044\u3066\u3044\u308b\u4e8c\u6b21\u30b5\u30fc\u30d0\u30fc\u3067\u53d7\u3051\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>\u65b0\u3057\u3044\u30db\u30b9\u30c8\u3092\u8a2d\u5b9a\u3057\u3001\u3042\u306a\u305f\u306eDNS\u3092\u4f7f\u7528\u3055\u305b\u308b\u3002<\/h4>\n<ul class=\"post-ul\">\n<li>Configure \/etc\/resolv.conf to use your DNS servers<\/li>\n<li>Test using nslookup<\/li>\n<\/ul>\n<h3>DNS\u304b\u3089\u30db\u30b9\u30c8\u3092\u524a\u9664\u3059\u308b\u3002<\/h3>\n<p>\u3082\u3057\u74b0\u5883\u304b\u3089\u30db\u30b9\u30c8\u3092\u524a\u9664\u3059\u308b\u304b\u3001DNS\u304b\u3089\u524a\u9664\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u3092DNS\u306b\u8ffd\u52a0\u3057\u305f\u3068\u304d\u306b\u8ffd\u52a0\u3055\u308c\u305f\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u524a\u9664\u3059\u308b\u3060\u3051\u3067\u3059\uff08\u3064\u307e\u308a\u3001\u4ee5\u524d\u306e\u624b\u9806\u306e\u9006\u3067\u3059\uff09\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u4eca\u5f8c\u306f\u3001IP\u30a2\u30c9\u30ec\u30b9\u3067\u306f\u306a\u304f\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306e\u540d\u524d\u3067\u53c2\u7167\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b5\u30fc\u30d3\u30b9\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u5b9a\u304c\u3088\u308a\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u899a\u3048\u308b\u5fc5\u8981\u3082\u306a\u304f\u306a\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u3084\u3059\u3055\u3068\u7406\u89e3\u3057\u3084\u3059\u3055\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u4eca\u5f8c\u306f\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u3001\u5206\u6563\u3055\u308c\u305f\u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u3092\u8907\u6570\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee3\u308f\u308a\u306b\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3092\u6700\u9069\u5316\u3059\u308b\u305f\u3081\u3001\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u30fc\u3092\u6307\u3059\u69cb\u6210\u306f\u4e3bDNS\u30b5\u30fc\u30d0\u30fc\u306e\u4e00\u304b\u6240\u3067\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5185\u90e8DNS\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u3001\u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u304c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8FQDN\u3092\u4f7f\u7528\u3057\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001DNS\u30b5\u30fc\u30d0\u30fc\u3092\u9069\u5207\u306b\u7ba1\u7406\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u3082\u3057DNS\u30b5\u30fc\u30d0\u30fc\u306e\u3069\u3061\u3089\u304b\u304c\u5229\u7528\u3067\u304d\u306a\u304f\u306a\u308b\u3068\u3001\u305d\u308c\u306b\u4f9d\u5b58\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3082\u6b63\u5e38\u306b\u6a5f\u80fd\u3057\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001DNS\u3092\u5c11\u306a\u304f\u3068\u30821\u3064\u306e\u30bb\u30ab\u30f3\u30c0\u30ea\u30b5\u30fc\u30d0\u30fc\u3067\u8a2d\u5b9a\u3057\u3001\u3059\u3079\u3066\u306eDNS\u30b5\u30fc\u30d0\u30fc\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5b9a\u671f\u7684\u306b\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057DNS\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u5b66\u3073\u305f\u3044\u5834\u5408\u306f\u3001\u5f53\u793e\u306e\u8a18\u4e8b\u300cDNS\u7528\u8a9e\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3001\u6982\u5ff5\u306e\u5165\u9580\u300d\u3092\u8aad\u3093\u3067\u307f\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u6210\u3068\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u91cd\u8981\u306a\u90e8\u5206\u306f\u3001\u540d\u524d\u306b\u3088\u3063\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3068IP\u30a2\u30c9\u30ec\u30b9\u3092\u898b\u3064\u3051\u308b\u624b\u6bb5\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u65b9\u6cd5\u306e\u3072\u3068\u3064\u306f\u3001\u9069\u5207\u306a\u30c9\u30e1\u30a4\u30f3\u540d\u30b7\u30b9\u30c6\u30e0\uff08DN [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,18],"class_list":["post-248","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-18"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\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.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afdns\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066bind\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afdns\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066bind\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-09T13:19:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T12:59:30+00:00\" \/>\n<meta name=\"author\" content=\"\u967d, \u5411\u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u967d, \u5411\u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"48\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/\",\"name\":\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-05-09T13:19:59+00:00\",\"dateModified\":\"2025-07-31T12:59:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c\"},\"description\":\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c\",\"name\":\"\u967d, \u5411\u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g\",\"caption\":\"\u967d, \u5411\u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hinatasora\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","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.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afdns\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066bind\/","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5","og_description":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afdns\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066bind\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-09T13:19:59+00:00","article_modified_time":"2025-07-31T12:59:30+00:00","author":"\u967d, \u5411\u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u967d, \u5411\u5b87","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"48\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/","name":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-05-09T13:19:59+00:00","dateModified":"2025-07-31T12:59:30+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c"},"description":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30afDNS\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066BIND\u3092\u8a2d\u5b9a\u306e\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c","name":"\u967d, \u5411\u5b87","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g","caption":"\u967d, \u5411\u5b87"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hinatasora\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%afdns%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6bind\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/248\/revisions"}],"predecessor-version":[{"id":325766,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/248\/revisions\/325766"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}