rogerdigital
(usa Debian)
Enviado em 05/07/2013 - 15:20h
Ola pessoal, sou novo no linux e estou tentando configurar o Bind9 como DNS local com o
Samba no Debian 7
Meu dominio é teste.local
Debian 7
Samba version 3.6.6
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
***********************************************************
Essa é a minha Configuração do named.conf.local
//
// Do any local configuration here
//
zone "teste.local" {
type master;
file "/etc/bind/db.teste.local";
};
zone "0.0.10.in-addr.arpa" {
type master;
file "/etc/bind/db.0.0.10";
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
~
~
~
~
~
~
~
Digite :quit<Enter> para sair do Vim
****************************************************
Meu arquivo resolv.conf
domain teste.local
search teste.local
nameserver 127.0.0.1
******************************************************
essa é a minha named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
*************************************************************
Essa é a db.teste.local
;
;ND zone file for teste.local
;
$TTL 3D
@ IN SOA ns.teste.local. root.teste.local. (
2010111101 ; serial
8H ; refresh
2H ; retry
4W ; expire
1D ) ; minimum
;
NS ns ; Inet address of name server
MX 10 mail ; Primary mail exchanger
ns A 10.0.0.15
mail A 10.0.0.15
teste.local. A 10.0.0.15
server A 10.0.0.15
virtual A 10.0.0.16
1,1 Topo
********************************************************************************************
o meu arquivo db.o.o.10 está sem nada.
Pessoal me ajuda ja to ficando louco com esse cara