質問編集履歴

1

一部の表示を修正しました

2023/06/24 00:53

投稿

ShinyaNara
ShinyaNara

スコア4

test CHANGED
File without changes
test CHANGED
@@ -74,6 +74,7 @@
74
74
  DNSキャッシュサーバ:192.168.100.17/24 (proxy001.example.jp)
75
75
 
76
76
  ### ◆unboundの設定
77
+ ```
77
78
  ■/etc/unbound/unbound.conf.d/unbound.conf
78
79
  server:
79
80
  interface: 0.0.0.0
@@ -90,7 +91,6 @@
90
91
  logfile: "/var/log/unbound/unbound.log"
91
92
  use-syslog: no
92
93
  log-time-ascii: yes
93
-
94
94
  remote-control:
95
95
  control-enable: yes
96
96
  control-interface: 127.0.0.1
@@ -98,15 +98,16 @@
98
98
  server-cert-file: "/etc/unbound/unbound_server.pem"
99
99
  control-key-file: "/etc/unbound/unbound_control.key"
100
100
  control-cert-file: "/etc/unbound/unbound_control.pem"
101
-
101
+ ```
102
102
  ■/etc/unbound/conf.d/example.local.conf
103
+ ```
103
104
  server:
104
105
  local-zone: "100.168.192.in-addr.arpa." transparent
105
106
  domain-insecure: "example.local."
106
-
107
107
  forward-zone:
108
108
  name: "."
109
109
  forward-addr: 192.168.100.19
110
+ ```
110
111
  ### 参考 /var/log/unbound/unbound.logの内容
111
112
  Jun 24 00:18:37 unbound[68365:0] notice: init module 0: subnet
112
113
  Jun 24 00:18:37 unbound[68365:0] notice: init module 1: validator
@@ -124,3 +125,4 @@
124
125
  Jun 24 08:44:28 unbound[68365:0] info: generate keytag query _ta-4f66. NULL IN
125
126
 
126
127
 
128
+