質問編集履歴

2

ログを追記しました

2017/05/03 05:27

投稿

ziyuunanoraneko
test CHANGED
File without changes
test CHANGED
@@ -89,3 +89,19 @@
89
89
  include "/var/named/young1.org.zone.internal";
90
90
 
91
91
  };
92
+
93
+
94
+
95
+ ログを調べました。
96
+
97
+ May 3 14:17:10 localhost bash: /var/named/young1.org.zone.internal:1: unknown option '$ORIGIN'
98
+
99
+ May 3 14:17:10 localhost bash: /etc/named/named.conf.internal:9: unexpected token near '}'
100
+
101
+ May 3 14:17:10 localhost systemd: named.service: control process exited, code=exited status=1
102
+
103
+ May 3 14:17:10 localhost systemd: Failed to start Berkeley Internet Name Domain (DNS).
104
+
105
+ May 3 14:17:10 localhost systemd: Unit named.service entered failed state.
106
+
107
+ May 3 14:17:10 localhost systemd: named.service failed.

1

/var/named/young1\.org\.zone\.internalの中と/etc/named/named\.conf\.internalの中を追記しました

2017/05/03 05:27

投稿

ziyuunanoraneko
test CHANGED
File without changes
test CHANGED
@@ -37,3 +37,55 @@
37
37
  5月 02 19:05:43 localhost.localdomain systemd[1]: Unit named.service entered failed state.
38
38
 
39
39
  5月 02 19:05:43 localhost.localdomain systemd[1]: named.service failed.
40
+
41
+
42
+
43
+ /var/named/young1.org.zone.internalの中
44
+
45
+ $ORIGIN young1.org.
46
+
47
+ $TTL 86400
48
+
49
+ @ IN SOA sv1.young1.org. root.young1.org.(
50
+
51
+ 2015051201
52
+
53
+ 60
54
+
55
+ 900
56
+
57
+ 604800
58
+
59
+ 3600
60
+
61
+ )
62
+
63
+ IN NS sv1.young1.org.
64
+
65
+ sv1 IN A 192.168.33.20
66
+
67
+ www IN A 192.168.33.20
68
+
69
+
70
+
71
+ /etc/named/named.conf.internalの中
72
+
73
+ view "internal"{
74
+
75
+ match-clients{};
76
+
77
+ allow-query{};
78
+
79
+ recursion yes;
80
+
81
+ zone "young1.org."{
82
+
83
+ type master;
84
+
85
+ file"young1.org.zone.internal";
86
+
87
+ };
88
+
89
+ include "/var/named/young1.org.zone.internal";
90
+
91
+ };