> in bind's zone-files...
# Configured by Hiren Dave on 07th March 2006
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
allow-transfer { 192.168.0.3; };
allow-query { 192.168.0.0/24; localhost; };
allow-recursion { 192.168.0.0/24
; localhost; };
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
logging {
category dnssec { security_log; };
category update { security_log; };
category security { security_log; };
channel security_log {
file "/var/named/dns-security.log" versions 5 size 20m;
print-time yes;
print-category yes;
print-severity yes;
severity info;
};
};
//Root server hints
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
};
acl "dhcp-server" {
192.168.0.2;
};
acl "dhcp-clients" {
192.168.0/24;
};
zone "guru.com" IN {
type master;
file "guru.com.zone";
allow-query { any; };
allow-update { dhcp-clients; };
};
zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192.zone";
allow-query { any; };
allow-update { dhcp-clients; };
};
#include "/etc/rndc.key";
"Hiren Dave" <[EMAIL PROTECTED]> wrote:
> I am facing problems in configuring DDNS with dhcpd. When i'm rebooting
> linux machine, it is getting dynamically ip address from linux server but
> no dynamic dns updates are there.
I think you must allow dynamic updates by "allow-update" or "update-policy"
in bind's zone-files...
And one more thing: for every ip from your dyn-ip pool I would
set very short ttl/expire in your zone-files. Otherwise caching-clients
would get know too late, that there was a change in ip/dn assignment...
Jarry
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
--
gentoo-user@gentoo.org mailing list