10.2. DNS サービスプール設定の表示
DNS プール設定のコピーを使用して、Red Hat OpenStack Services on OpenShift (RHOSO) DNS サービス (designate) のトラブルシューティングを実行できます。
注記
RHOSO 18.0 では、複数のプールはサポートされていません。
前提条件
-
ワークステーションに
ocコマンドラインツールがインストール済みである。 -
cluster-admin権限を持つユーザーとして、RHOSO コントロールプレーンにアクセスできるワークステーションにログオン済みである。
手順
designate-centralPod で、designate-manage poolコマンドをリモートで実行します。$ oc exec -it deployment/designate-central -- \ designate-manage pool show_config出力例
Pool Configuration: ------------------- also_notifies: [] attributes: {} description: Default BIND Pool id: 794ccc2c-d751-44fe-b57f-8894c9f5c842 name: default nameservers: - host: 172.28.0.100 port: 53 - host: 172.28.0.101 port: 53 - host: 172.28.0.102 port: 53 ns_records: - hostname: ns1.example.org. priority: 10 - hostname: ns2.example.org. priority: 20 targets: - description: BIND9 Server 0 (172.28.0.100) masters: - host: 172.28.0.98 port: 5354 - host: 172.28.0.99 port: 5354 - host: 172.28.0.97 port: 5354 options: host: 172.28.0.100 port: '53' rndc_host: 172.28.0.100 rndc_key_file: /etc/designate/rndc-keys/rndc-key-0 rndc_port: '953' type: bind9 - description: BIND9 Server 1 (172.28.0.101) masters: - host: 172.28.0.99 port: 5354 - host: 172.28.0.97 port: 5354 - host: 172.28.0.98 port: 5354 options: host: 172.28.0.101 port: '53' rndc_host: 172.28.0.101 rndc_key_file: /etc/designate/rndc-keys/rndc-key-1 rndc_port: '953' type: bind9 - description: BIND9 Server 2 (172.28.0.102) masters: - host: 172.28.0.97 port: 5354 - host: 172.28.0.98 port: 5354 - host: 172.28.0.99 port: 5354 options: host: 172.28.0.102 port: '53' rndc_host: 172.28.0.102 rndc_key_file: /etc/designate/rndc-keys/rndc-key-2 rndc_port: '953' type: bind9注記ns_recordsセクションには、クエリーでの使用可能として DNS サービスがゾーンにアドバタイズするネームサーバーのリストが含まれています。これらのネームサーバーは外部ネットワークからアドバタイズされます。