Boa tarde pessoal,
Estou tentando configurar duas views no meu arquivo named.conf do bind9 e estou tendo problemas. No log diz que view é uma opção desconhecida.
Alguém sabe o que estou fazendo de errado? Segue meu arquivo e o erro que está apresentando no log.
Jan 16 12:27:19 named[29539]: loading configuration from '/etc/bind/named.conf'
Jan 16 12:27:19 named[29539]: /etc/bind/named.conf:17: unknown option 'view'
Jan 16 12:27:19 named[29539]: /etc/bind/named.conf:51: unknown option 'view'
Jan 16 12:27:19 named[29539]: loading configuration: failure
Jan 16 12:27:19 named[29539]: exiting (due to fatal error)
1 // This is the primary configuration file for the BIND DNS server named.
2 //
3 // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
4 // structure of BIND configuration files in Debian, *BEFORE* you customize
5 // this configuration file.
6 //
7 acl clientes {
8 localhost;
10 };
11 // If you are just adding zones, please do that in /etc/bind/named.conf.local
12
13 include "/etc/bind/named.conf.options";
14
15 // prime the server with knowledge of the root servers
16
17 view"interna" {
18 match-clients { clientes; };
19 recursion yes;
20
21 zone "." {
22 type hint;
23 file "/etc/bind/db.root";
24 };
25
26 // be authoritative for the localhost forward and reverse zones, and for
27 // broadcast zones as per RFC 1912
28
29 zone "localhost" {
30 type master;
31 file "/etc/bind/db.local";
32 };
33
34 zone "127.in-addr.arpa" {
35 type master;
36 file "/etc/bind/db.127";
37 };
38
39 zone "0.in-addr.arpa" {
40 type master;
41 file "/etc/bind/db.0";
42 };
43
44 zone "255.in-addr.arpa" {
45 type master;
46 file "/etc/bind/db.255";
47 };
48 };
49
50
51 view"externa" {
52 match-clients { any; };
53 recursion no;
54 additional-from-auth no;
55 additional-from-cache no;
Muito obrigada,
Juliana