Dynamic DNS configuration
Rob Mortimer
r_mortimer at postmaster.co.uk
Fri Nov 21 12:45:03 UTC 2003
I am configuring DNS/DHCP on a Mandrake 9.2 machine
Unfortunately I can not get it to work
Can anyone see a problem in my named.conf or dhcpd.conf
(both run on the same machine there is a firewall between the machine
and the internet)
DHCP allocates addresses OK
BIND does not update
Bind is 9.2.3
DHCP is ISC dhcpd 3.0
-----------------named.conf-----------------------
controls {
inet 127.0.0.1 port 53 allow {10.0.0.20;127.0.0.1;};
};
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
forwarders {10.0.0.3;};
};
zone "." {
type hint;
file "root.hints";
};
zone "corp.bc-tech.co.uk" {
type master;
file "corp.bc-tech.co.uk.db";
// some security
allow-transfer {127.0.0.1;};
allow-update {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 "0.0.10.in-addr.arpa" {
notify no;
type master;
file "10.0.0.rev";
allow-transfer {127.0.0.1;};
allow-update {127.0.0.1;};
};
-------dhcpd.conf----------------------------------
default-lease-time 36000;
max-lease-time 144000;
ddns-update-style none;
not authoritative;
subnet 10.0.0.0 netmask 255.255.255.0{
range 10.0.0.101 10.0.0.175;
option domain-name "corp.bc-tech.co.uk";
option domain-name-servers 10.0.0.20;
option routers 10.0.0.3;
option subnet-mask 255.255.255.0;
ddns-updates on;
ddns-domainname "corp.bc-tech.co.uk.";
ddns-rev-domainname "in-addr.arpa.";
}
-----END----------------------------
More information about the bind-users
mailing list