For some reason I was not clear enough an someone post this at the Engarde Forum:
Hi,
You haven't really told us what you have done to make it work. What is the actual problem? What do the error logs say? Have you tried tcpdump to see if you are communicating with your dhcp server from the client? What clients are you using?
Read this HOWTO, written quite a while ago, but still highly recommended:
http://www.linuxquestions.org/linux/...P_Server_Howto
Regards,
Person
So I replied:
Hi,
Answering your questions in the hope that you could help me solve this problem:
[You haven't really told us what you have done to make it work.] By inspecting the dhcpd.conf and named.conf provided can be seen that I already added the:
dhcpd.conf:
ddns-update-style interim;
ddns-updates on;
etc ..
named.conf:
allow-update {
any;
};
[What is the actual problem?] I need help to configure DHCP DNS integration. Meaning to have the DHCP to update the DNS when ever it refresh or assign the IP to a client.
[What do the error logs say?]
At first there were no dhcpd/named error related logs for some time, now I am getting the following errors:
Filter by dhcpd:
Mar 25 09:48:34 engarde dhcpd: DHCPOFFER on 192.168.1.203 to 00:0c:29:c5:cc:62 (BATCH-HIST) via eth2
Mar 25 09:48:34 engarde dhcpd: Unable to add forward map from BATCH-HIST.engnet.com. to 192.168.1.203: connection refused
Mar 25 09:48:34 engarde dhcpd: DHCPREQUEST for 192.168.1.203 (192.168.1.75) from 00:0c:29:c5:cc:62 (BATCH-HIST) via eth2
Mar 25 09:48:34 engarde dhcpd: DHCPACK on 192.168.1.203 to 00:0c:29:c5:cc:62 (BATCH-HIST) via eth2
Mar 25 09:53:22 engarde dhcpd: DHCPDISCOVER from 00:0c:29:33:f1:94 via eth2
Mar 25 09:53:23 engarde dhcpd: DHCPOFFER on 192.168.1.158 to 00:0c:29:33:f1:94 (BATCH-EXEC) via eth2
Mar 25 09:53:23 engarde dhcpd: Unable to add forward map from BATCH-EXEC.engnet.com. to 192.168.1.158: connection refused
Mar 25 09:53:23 engarde dhcpd: DHCPREQUEST for 192.168.1.158 (192.168.1.75) from 00:0c:29:33:f1:94 (BATCH-EXEC) via eth2
Mar 25 09:53:23 engarde dhcpd: DHCPACK on 192.168.1.158 to 00:0c:29:33:f1:94 (BATCH-EXEC) via eth2
Mar 25 10:42:38 engarde dhcpd: Unable to add forward map from BackupServer.engnet.com. to 192.168.1.160: connection refused
Mar 25 10:42:38 engarde dhcpd: Wrote 10 leases to leases file.
Mar 25 10:42:39 engarde dhcpd: DHCPREQUEST for 192.168.1.160 from 00:0c:29:53:f9:b9 (BackupServer) via eth2
Mar 25 10:42:39 engarde dhcpd: DHCPACK on 192.168.1.160 to 00:0c:29:53:f9:b9 (BackupServer) via eth2
Mar 25 10:54:30 engarde dhcpd: Unable to add forward map from service2.engnet.com. to 192.168.1.152: connection refused
Mar 25 10:54:30 engarde dhcpd: DHCPREQUEST for 192.168.1.152 from 00:04:75:d3:9f:27 (service2) via eth2
Mar 25 10:54:30 engarde dhcpd: DHCPACK on 192.168.1.152 to 00:04:75:d3:9f:27 (service2) via eth2
Mar 25 10:54:38 engarde dhcpd: Unable to add forward map from SERVICE1.engnet.com. to 192.168.1.151: connection refused
Mar 25 10:54:38 engarde dhcpd: DHCPREQUEST for 192.168.1.151 from 00:10:b5:91:72:18 (SERVICE1) via eth2
Mar 25 10:54:38 engarde dhcpd: DHCPACK on 192.168.1.151 to 00:10:b5:91:72:18 (SERVICE1) via eth2
Mar 25 11:39:43 engarde dhcpd: DHCPINFORM from 192.168.1.160 via eth2
Mar 25 11:39:43 engarde dhcpd: DHCPACK to 192.168.1.160 (00:0c:29:53:f9:b9) via eth2
Mar 25 11:42:31 engarde dhcpd: DHCPINFORM from 192.168.1.159 via eth2
Mar 25 11:42:31 engarde dhcpd: DHCPACK to 192.168.1.159 (00:0c:29:78:dd:c7) via eth2
Filter by named:
Mar 25 09:48:18 engarde named[3399]: master/db.1.168.192.in-addr.arpa..jnl: open: permission denied
Mar 25 09:48:18 engarde named[3399]: client 192.168.1.159#64320: updating zone '1.168.192.in-addr.arpa/IN': error: journal open failed: unexpected error
Mar 25 09:50:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': deleting an RR
Mar 25 09:50:32 engarde named[3399]: master/db.1.168.192.in-addr.arpa..jnl: open: permission denied
Mar 25 09:50:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': error: journal open failed: unexpected error
Mar 25 09:50:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': deleting rrset at '155.1.168.192.in-addr.arpa' PTR
Mar 25 09:50:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '155.1.168.192.in-addr.arpa' PTR
Mar 25 09:50:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '155.1.168.192.in-addr.arpa' PTR
Mar 25 09:55:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': deleting an RR
Mar 25 09:55:32 engarde named[3399]: master/db.1.168.192.in-addr.arpa..jnl: open: permission denied
Mar 25 09:55:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': error: journal open failed: unexpected error
Mar 25 09:55:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': deleting rrset at '155.1.168.192.in-addr.arpa' PTR
Mar 25 09:55:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '155.1.168.192.in-addr.arpa' PTR
Mar 25 09:55:32 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '155.1.168.192.in-addr.arpa' PTR
Mar 25 09:58:18 engarde named[3399]: client 192.168.1.159#55763: updating zone '1.168.192.in-addr.arpa/IN': deleting rrset at '159.1.168.192.in-addr.arpa' PTR
Mar 25 09:58:18 engarde named[3399]: client 192.168.1.159#55763: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '159.1.168.192.in-addr.arpa' PTR
Mar 25 09:58:18 engarde named[3399]: master/db.1.168.192.in-addr.arpa..jnl: open: permission denied
Mar 25 09:58:18 engarde named[3399]: client 192.168.1.159#55763: updating zone '1.168.192.in-addr.arpa/IN': error: journal open failed: unexpected error
Mar 25 10:03:18 engarde named[3399]: client 192.168.1.159#64332: updating zone '1.168.192.in-addr.arpa/IN': deleting rrset at '159.1.168.192.in-addr.arpa' PTR
Mar 25 10:03:18 engarde named[3399]: client 192.168.1.159#64332: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '159.1.168.192.in-addr.arpa' PTR
Mar 25 10:03:18 engarde named[3399]: master/db.1.168.192.in-addr.arpa..jnl: open: permission denied
Mar 25 10:03:18 engarde named[3399]: client 192.168.1.159#64332: updating zone '1.168.192.in-addr.arpa/IN': error: journal open failed: unexpected error
Mar 25 10:55:33 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': deleting an RR
Mar 25 10:55:33 engarde named[3399]: master/db.1.168.192.in-addr.arpa..jnl: open: permission denied
Mar 25 10:55:33 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': error: journal open failed: unexpected error
Mar 25 10:55:33 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': deleting rrset at '155.1.168.192.in-addr.arpa' PTR
Mar 25 10:55:33 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '155.1.168.192.in-addr.arpa' PTR
Mar 25 10:55:33 engarde named[3399]: client 192.168.1.155#1028: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '155.1.168.192.in-addr.arpa' PTR
Mar 25 11:03:19 engarde named[3399]: client 192.168.1.159#57776: updating zone '1.168.192.in-addr.arpa/IN': deleting rrset at '159.1.168.192.in-addr.arpa' PTR
Mar 25 11:03:19 engarde named[3399]: client 192.168.1.159#57776: updating zone '1.168.192.in-addr.arpa/IN': adding an RR at '159.1.168.192.in-addr.arpa' PTR
[Have you tried tcpdump to see if you are communicating with your dhcp server from the client? What clients are you using?]
I am new to Linux and Engarde. I do not even know that (tcpdump) exists or how to use it.
Also I though that it was clear from "My Network is" description that the clients are getting their IP assigned by DHCP and that were Windows Clients
I hope this has made the problem more clear!
Thanks for inquiring.
Jose
PS: In my opinion this feature (DHCP/DNS updates) should be included as part of the provided Web Configurator on any package, it even should be the default behavior between DHCP and DNS services.