Hi,
I'm trying to setup DNS updates from dhcpd. Right now it doesn't work.
Also I tried to do "manual" dynamic zone update using /usr/bin/nsupdate binary - it works fine, so I assume the problem is in dhcpd.conf. Here it is:
Furthermore the content of /var/log/dhcpd.log is meager:
Could someone advise what is wrong with my /usr/local/etc/dhcpd.conf and/or how to get more verbose output from dhcpd?
I'm trying to setup DNS updates from dhcpd. Right now it doesn't work.
Also I tried to do "manual" dynamic zone update using /usr/bin/nsupdate binary - it works fine, so I assume the problem is in dhcpd.conf. Here it is:
Code:
option domain-name-servers 192.168.1.100, 8.8.8.8, 95.67.0.252;
option domain-name "tatem.local";
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
ignore client-updates;
ddns-updates on;
ddns-domainname "tatem.local.";
ddns-rev-domainname "1.168.192.in-addr.arpa.";
ddns-update-style interim;
range 192.168.1.55 192.168.1.99;
range 192.168.1.101 192.168.1.189;
range 192.168.1.191 192.168.1.245;
option routers 192.168.1.100;
}
key DHCP_UPDATER_TERMIT {
algorithm hmac-md5;
secret "secret key removed";
}
local-address 127.0.0.1;
zone tatem.local. {
primary 127.0.0.1;
key DHCP_UPDATER_TERMIT;
}
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
key DHCP_UPDATER_TERMIT;
}
#Reserved IPs
host lemon {
hardware ethernet c8:2a:14:57:58:1e;
fixed-address 192.168.1.190;
}
Code:
[root@freegtw /usr/local/etc]# cat /var/log/dhcpd.log
Mar 24 20:32:17 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 24 20:32:17 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 24 20:40:47 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 24 20:40:47 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 24 22:01:17 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 24 22:01:17 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 25 14:11:22 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 25 14:11:22 <daemon.info> freegtw dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Mar 25 14:13:15 <daemon.info> freegtw last message repeated 2 times
Code:
[root@freegtw /usr/local/etc]# grep dhcp /etc/syslog.conf
!dhcpd
*.* /var/log/dhcpd.log
Could someone advise what is wrong with my /usr/local/etc/dhcpd.conf and/or how to get more verbose output from dhcpd?