このコンテンツは選択した言語では利用できません。

4.4. Generating a BIND TSIG Key


If you want OpenShift Enterprise to act as the name server and manage DNS for applications hosted on OpenShift Enterprise, you must generate a TSIG key for the OpenShift Enterprise BIND instance. This key is used to update DNS records in the BIND server that will be installed, both for managing application DNS and (by default) for creating host DNS records.

Procedure 4.1. To Generate a BIND TSIG Key:

  1. The dnssec-keygen command, provided by the bind package, can be used to generate a TSIG key. Install the bind package on a host, if required:
    # yum install bind
    Copy to Clipboard Toggle word wrap

    Note

    The bind package is available in the Red Hat Enterprise Linux 6 Server base channel.
  2. Configure the $domain environment variable to simplify the process in the following step, replacing Cloud_Domain with the domain name to suit your environment:
    # domain=Cloud_Domain# domain=Cloud_Domain
    Copy to Clipboard Toggle word wrap
  3. Generate a TSIG key for your chosen cloud domain:
    # dnssec-keygen -a HMAC-MD5 -b 512 -n USER -r /dev/urandom -K /var/named $domain
    # cat /var/named/K$domain.*.key | awk '{print $8}'
    Copy to Clipboard Toggle word wrap
    The format for the TSIG key returned by the last command should resemble CNk+wjszKi9da9nL/1gkMY7H+GuUng==. This key is set in the bind_key Puppet parameter in later sections.
  4. If you want your OpenShift Enterprise hosts to be in a separate domain than the zone used for applications hosted on OpenShift Enterprise, you can create a second TSIG key at this time as well:
    # infra_domain=Infrastructure_Domain# infra_domain=Infrastructure_Domain
    # dnssec-keygen -a HMAC-MD5 -b 512 -n USER -r /dev/urandom -K /var/named $infra_domain
    # cat /var/named/K$infra_domain.*.key | awk '{print $8}'
    Copy to Clipboard Toggle word wrap
    This key can be set in the dns_infrastructure_key Puppet parameter in later sections, if the dns_infrastructure_zone parameter is set.
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat