問題タブ [bind9]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
dns - DNSにIPの代わりにドメインアドレスを使用する方法
Vestacp が domain.ltd にインストールされた Digitalocean に ubuntu サーバーがあります。ドメイン パネルで、DNS をサーバー IP (000.000.000.000) に指定しました。このサーバーに複数の Web サイトを配置したいのですが、問題は、サーバーの IP を指定したくないことです。代わりに、ドメイン パネルの DNS アドレスに ns1.domain.ltd と ns2.domain.ltd を使用したいのです。
これは私の domain.ltd bind9 設定です:
centos7 - カスタム ネーム サーバーがインターネット経由でサブドメイン名を解決しない (動的 DNS)
私の目的は、noip/dyndns のようなサイトをセットアップすることです。
ドメインを購入しました (例: locations.com )。私のcpanelで、それを静的IP(128.10.10.10など)にリダイレクトしました。サブドメイン(device.locations.comなど)を作成し、別の静的IP(128.20.20.20など)にリダイレクトしました。これはうまくいっています。
device.locations.com (128.20.20.20) で動的 DNS サービスをセットアップしたいのですが、bibd をインストールしました (Centos 7 のバージョン 9)。
Probluem は : 動的クライアントがあるとします。IPを持つ「serial001.device.locations.com」として登録したもの( 50.50.60.1 、時間の経過とともに変化します)
DNSサーバー(128.20.20.20/device.locations.com)で「dig serial001.device.locations.com」を発行すると、
ただし、他のマシンで「dig serial001.device.locations.com」を発行しても、何の回答も得られません。
上記のようにネームサーバーを使用するように具体的に言うと(jayaruvandns.tkを128.20.20.20に指定しました)、@ locationsdns.tk serial001.device.locations.comを掘ります
この問題を解決するにはどうすればよいですか?
(私はDNSに本当に慣れていません)