Einzelnen Beitrag anzeigen
Alt 14.03.10, 16:30   #9 (permalink)
Darkholylein
Themenstarter
 
Registriert seit: 12.06.08
Darkholylein Leistung: Facit NTK
Likes: 0
Standard

Ja, du hast recht, aber der Server ist eigentlich nur mal gedacht um das mal konfiguriert zu haben...
Wird dann alles nochmal neu gemacht, um dann auch die Sicherheit zu erhöhen...

Hier die Dateien:

named.conf   

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";


named.conf.options   
acl homelan {
192.168.1.0/24;
127.0.0.1/32;
2001:abcd:abcd:abcd::/64;
::1/128;
};
options {
directory "/etc/bind";
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { 2001:abcd:abcd:abcd::2; };
listen-on { 192.168.1.2; };
version "REFUSED";
query-source 192.168.2.199;
# query-source-v6 2001:aaaa:abcd:abcd::2;
recursion yes;
allow-query { homelan; };
allow-recursion { homelan; };
forwarders { 192.168.2.1; };
};
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};


named.conf.local   
# options######

include "/etc/bind/rndc.key";

## static zones #####

## dynamic zones ####
zone "mo-test.home" {
type master;
file "cache/db.mo-test.home";
notify no;
allow-update { key "rndc-key"; };

};
zone "1.168.192.in-addr.arpa" {
type master;
file "cache/db.192.168.1";
notify no;
allow-update { key "rndc-key"; };
};


named.conf.local   
# options######

include "/etc/bind/rndc.key";

## static zones #####

## dynamic zones ####
zone "mo-test.home" {
type master;
file "cache/db.mo-test.home";
notify no;
allow-update { key "rndc-key"; };

};
zone "1.168.192.in-addr.arpa" {
type master;
file "cache/db.192.168.1";
notify no;
allow-update { key "rndc-key"; };
};


named.conf.default-zones   

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/cache/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/cache/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/cache/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/cache/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/cache/db.255";
};



zone db.mo-test.home   

$TTL 86400
@ IN SOA mo-test.home. root.mo-test.home (
5 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS moubuserv.mo-test.home.
moubuserv IN A 192.168.1.2
moubuserv IN AAAA 2001:abcd:abcd:abcd::2


reverse zone db.192.168.1   
$TTL 100 ;
@ IN SOA mo-test.home. root.mo-test.home. (
5 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL

@ IN NS moubuserv.mo-test.home.
2 IN PTR moubuserv.mo-test.home.


dhcpd.conf   
server-identifier moubuserv;
ddns-updates on;
ddns-update-style interim;
ddns-domainname "mo-test.home.";
ddns-rev-domainname "in-addr.arpa.";
allow client-updates;
update-static-leases on;

include "/etc/bind/rndc.key";

zone mo-test.home. {
primary 127.0.0.1;
key "rndc-key";
}

ddns-domainname "mo-test.home";

default-lease-time 86400;
max-lease-time 86400;

authoritative;

log-facility local7;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.250;
option domain-name-servers 192.168.1.2;
option domain-name "mo-test.home";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
default-lease-time 1000;
option ip-forwarding on;
max-lease-time 7200;

# DNS zones to update
zone 1.268.192.in-addr.arpa. {
primary 192.168.1.2;
key "rndc-key";
}

zone mo-test.home. {
primary 192.168.1.2;
key "rndc-key";
}

}


so, das waren glaub ich alle...die default-zonen-dateien poste ich hier mal nicht....
Darkholylein ist offline   Mit Zitat antworten
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61