/usr/local/sbin/unbound-control-setup
setup in directory /var/unbound
generating unbound_server.key
Generating RSA private key, 1536 bit long modulus
......................................++++
.............................................++++
e is 65537 (0x10001)
generating unbound_control.key
Generating RSA private key, 1536 bit long modulus
.++++
..........++++
e is 65537 (0x10001)
create unbound_server.pem (self signed certificate)
create unbound_control.pem (signed client certificate)
Signature ok
subject=/CN=unbound-control
Getting CA Private Key
Setup success. Certificates created. Enable in unbound.conf file to use
# /usr/local/sbin/unbound-control dump_cache
START_RRSET_CACHE
;rrset 297 1 0 3 2
dns2.test.ne.jp. 297 IN A 210.191.71.2
;rrset 297 1 0 3 2
dns1.test.ne.jp. 297 IN A 210.191.71.1
;rrset 197 3 0 7 2
bbiq.jp. 197 IN NS dns1.test.ne.jp.
bbiq.jp. 197 IN NS dns2.test.ne.jp.
bbiq.jp. 197 IN NS dns1.test.jp.
;rrset 197 1 0 8 2
www.test.jp. 197 IN A 210.191.71.65
;rrset 197 1 0 3 2
dns1.test.jp. 197 IN A 218.40.228.9
END_RRSET_CACHE
START_MSG_CACHE
msg www.test.jp. IN A 33152 1 197 2 1 1 3
www.test.jp. IN A 0
test.jp. IN NS 0
dns1.test.ne.jp. IN A 0
dns2.test.ne.jp. IN A 0
dns1.test.jp. IN A 0
END_MSG_CACHE
EOF
コメント