Goed ik probeer dus dynamische updates toe te staan en heb al veel dingen geprobeerd maar het werkt nog niet!
/etc/dhcpd.conf
en /chroot/named-in/etc/named.conf
Zoals je kan zien heb ik al enkele dingen gecomment want dat werkte niet!
Error die ik krijg is
De named db files lijken me overbodig maar ik kan ze er wel bij plakken
/etc/dhcpd.conf
code:
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
| default-lease-time 384000;
max-lease-time 400000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option netbios-name-servers 192.168.1.1;
option domain-name-servers 192.168.1.1;
#option domain-name-servers 192.168.1.1, 62.45.46.46, 62.45.45.45;
option domain-name "imdos.ath.cx";
option netbios-dd-server 192.168.1.1;
option netbios-node-type 8;
ddns-update-style ad-hoc;
ddns-updates on;
ddns-domainname "imdos.ath.cx";
ddns-rev-domainname "in-addr.arpa";
# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "NLwvzm0p8JhOuCx3iJCUgw==";
};
zone 1.168.192.in-addr. {
primary 127.0.0.1;
key rndc-key;
}
zone imdos.ath.cx{
primary 127.0.0.1;
key rndc-key;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
ddns-domainname "imdos.ath.cx";
ddns-rev-domainname "in-addr.arpa";
ddns-update-style ad-hoc;
ddns-updates on;
deny client-updates;
}
host xxx {
hardware ethernet 00:00:b4:bf:02:04;
fixed-address 192.168.1.20;
} |
en /chroot/named-in/etc/named.conf
code:
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
| options {
pid-file "/var/run/named.pid";
directory "/var/named";
listen-on port 53 {
127.0.0.1;
192.168.1.1;
};
};
logging {
category lame-servers { null; };
//category cname { null; };
};
key "rndc-key" {
algorithm hmac-md5;
secret "NLwvzm0p8JhOuCx3iJCUgw==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
zone "." in {
type hint;
file "root.cache";
};
zone "0.0.127.in-addr.arpa" in {
type master;
notify no;
file "127.0.0.db";
};
zone "imdos.ath.cx" in {
type master;
notify no;
file "imdos.ath.cx.db";
//allow-transfer { 192.168.1.2/32; };
allow-query { 127/8; 192.168.1/24; };
allow-update { key rndc-key; 127/8; };
//update-policy { grant * self * A TXT;
};
};
zone "1.168.192.in-addr.arpa" in {
type master;
notify no;
file "192.168.1.db";
//allow-transfer { 192.168.1.2/32; };
allow-query { 127/8; 192.168.1/24; };
allow-update { key rndc-key; 127/8; };
//update-policy { grant * self * A TXT;
};
}; |
Zoals je kan zien heb ik al enkele dingen gecomment want dat werkte niet!
Error die ik krijg is
code:
1
2
3
| Nov 23 14:50:13 server dhcpd: if IN A malafide.imdos.ath.cx rrset doesn't exist add 192000 IN A malafide.imdos.ath.cx 192.168.1.200: RRset already exists. |
De named db files lijken me overbodig maar ik kan ze er wel bij plakken
edit:
Heb je posting gefix0red
-- r3boot
Heb je posting gefix0red
[ Voor 8% gewijzigd door imdos op 25-11-2003 01:11 . Reden: aangepaste config ]
pvoutput. Waarom makkelijk doen, als het ook moeilijk kan! Every solution has a new problem