このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
01_linux:01_net:16_unbound [2016/03/22 02:21] – matsui | 01_linux:01_net:16_unbound [2022/05/18 21:22] (現在) – matsui | ||
---|---|---|---|
行 205: | 行 205: | ||
デフォルトではnoになっているので、yesへ変更 | デフォルトではnoになっているので、yesへ変更 | ||
rrset-roundrobin: | rrset-roundrobin: | ||
+ | |||
+ | ===== 4.unbound-control を利用 ===== | ||
+ | |||
+ | ==== 鍵を作成 ==== | ||
+ | |||
+ | < | ||
+ | # unbound-control-setup | ||
+ | setup in directory / | ||
+ | Generating RSA private key, 3072 bit long modulus (2 primes) | ||
+ | ....................................................................................................++++ | ||
+ | ..++++ | ||
+ | e is 65537 (0x010001) | ||
+ | Generating RSA private key, 3072 bit long modulus (2 primes) | ||
+ | ..................++++ | ||
+ | ...........................................++++ | ||
+ | e is 65537 (0x010001) | ||
+ | Signature ok | ||
+ | subject=CN = unbound-control | ||
+ | Getting CA Private Key | ||
+ | removing artifacts | ||
+ | Setup success. Certificates created. Enable in unbound.conf file to use | ||
+ | </ | ||
+ | |||
+ | ==== unbound.confの修正 ==== | ||
+ | |||
+ | remote-control: | ||
+ | control-enable: | ||
+ | ↓ | ||
+ | remote-control: | ||
+ | control-enable: | ||
+ | |||
+ | ==== サービス再起動 ==== | ||
+ | |||
+ | service unbound restart | ||
+ | |||
+ | |||
+ | ==== キャッシュの確認 ==== | ||
+ | |||
+ | unbound-control dump_cache | ||
{{tag> | {{tag> |