DNS - DHCP Updates
Hello. (sorry I didn't know which forum to post in with this prob.)
I have been battling with this for ages and can't seem to get it to go. I was hoping someone might be able to see the cause of the problem.
I have a Red Hat 9 server set up as a DHCP and DNS server. The clients connecting to the machine are both Windows (2K & XP) and also Red Hat 9.
When a client connects to the network and grabs an IP lease from the server, I want it to automatically update the DNS records as well. So basically if a workstation called "desktop" grabs an IP, other uses can nslookup and reverse lookup 'desktop'.
Below is my /etc/dhcpd.conf and /etc/named.conf files. I would much appreciate if anyone can help me out here, I've been racking my brains for months.
/etc/dhcpd.conf.......................
====================================
ddns-updates on;
ddns-update-style interim;
subnet 192.168.0.0 netmask 255.255.255.0 {
ddns-updates on;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
range 192.168.0.10 192.168.0.100;
}
====================================
/etc/named.conf
====================================
options {
directory "/var/named";
/*
* 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;
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
zone "TSD-Support" {
type master;
file "/var/named/TSD-Support.hosts";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/var/named/192.168.0.rev";
};
====================================
|