Alla fine non ho capito un gran che. A me basta aggiungere la parte per la risoluzione degli host locali.
Vi posto il mio file di configurazione:
options {
// DNS tables are located in the /var/named directory
directory "/var/named";
pid-file "/var/run/named/named.pid";
// Forward any unresolved requests to our ISP's name server
forwarders {
195.130.224.18;
195.130.225.129;
};
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
zone "." {
type hint;
file "root.hints";
};
// All our DNS information is stored in /var/named/domain.name.db
zone "poix.nop-ip.com" {
type master;
file "poix.nop-ip.com.db";
// some security
allow-transfer { 127.0.0.1; };
};
zone "0.0.127.in-addr.arpa" {
notify no;
type master;
file "127.0.0.rev";
allow-transfer { 127.0.0.1; };
};
zone "1.168.192.in-addr.arpa" {
notify no;
type master;
file "192.168.1.rev";
allow-transfer { 127.0.0.1; };
};
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S
HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5
Utenti con cui ho trattato
|