[FUGSPBR] Bind-DLZ
Carlos Augusto Silva
listas em mecmedia.com.br
Sex Nov 14 13:10:07 BRST 2003
Olá Pessoal!!
Tenho um problema..
Estou instalando o Bind9-DLZ e não estou conseguindo configurar uma zona.
Eu criei a tabela como descrito na documentação:
create table dns_data
(
zone text,
host text,
ttl integer,
type text,
mx_priority integer,
data text,
resp_person text,
serial integer,
refresh integer,
retry integer,
expire integer,
minimum integer
);
Coloquei isso no named.conf:
dlz "postgres zone" {
database "postgres 1
{host=localhost port=5432 dbname=dns user=usuario password=senha}
{select zone from dns_data where zone = '%zone%'}
{select ttl, type, mx_priority, case when lower(type)='txt' then '\"'
|| data || '\"' when lower(type)='soa' then data || ' ' ||
resp_person || ' '
|| serial || ' ' || refresh || ' ' || retry || ' ' || expire || ' '
|| minimum
else data end from dns_systema where zone = '%zone%' and host =
'%record%'}";
};
No log aparece isso:
Nov 14 09:17:50 joselito named[36057]: using 1 CPU
Nov 14 09:17:50 joselito named[36057]: loading configuration from
'/usr/local/etc/named.conf'
Nov 14 09:17:50 joselito named[36057]: listening on IPv4 interface xl0,
172.16.0.100#53
Nov 14 09:17:50 joselito named[36057]: listening on IPv4 interface lo0,
127.0.0.1#53
Nov 14 09:17:50 joselito named[36057]: Loading 'postgres zone' using driver
postgres
Nov 14 09:17:50 joselito named[36057]: none:0: open:
/usr/local/etc/rndc.key: file not found
Nov 14 09:17:50 joselito named[36057]: couldn't add command channel
127.0.0.1#953: file not found
Nov 14 09:17:50 joselito named[36057]: none:0: open:
/usr/local/etc/rndc.key: file not found
Nov 14 09:17:50 joselito named[36057]: couldn't add command channel ::1#953:
file not found
Nov 14 09:17:50 joselito named[36057]: running
O que estou fazendo de errado?!
Obrigado,
Carlos Augusto Silva
carlos em mecmedia.com.br
www.mecmedia.com.br
-----------------------------
ICQ: 319235020
MSN: silvamedia em hotmail.com
_______________________________________________________________
Sair da Lista: http://lists.fugspbr.org/listinfo.cgi
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd