In the DHCP server interface, I can see that the hostname of the client is properly being displayed, so I know the client is properly sending the hostname back.However, the DNS servers do not seem to be able to resolve the address.

dhcp not updating dns server-11

If you don’t have that I suggest that you first read my two other posts on how to install them: Setting up a DNS for the local network on the Ubuntu Hardy Heron server Setting up a DHCP server on Ubuntu Hardy Heron Step by step instructions Apparently the Ubuntu server is installed with an App Armor profile that prevents bind to write to the /etc/bind directory.

The default profile suggests that these files should be put in /var/lib/bind.

It has not been tested with the Samba 4 internal DNS server and it probably will not work with the Samba 4 internal DNS.

As this How To is based on a Debian OS install, the paths given may be different if you use another OS. /bin/bash # /etc/bin/# This script is for secure DDNS updates on Samba 4 # Version: 0.8.8 # DNS domain domain=$(hostname -d) if [ -z $ ]; then echo "Cannot obtain domain name, is DNS set up correctly? Exiting." logger "Cannot obtain domain name, is DNS set up correctly? Exiting." exit 1 fi # Samba 4 realm REALM=$(echo $) # Additional nsupdate flags (-g already applied), e.g.

Probing the DNS servers via dig returns no records for the hostname.

Windows DHCP clients in the domain which have reservations properly update DNS. Are your DHCP servers set to update DNS even with an unauthenticated requests?

-f /etc/dhcp/dhcpduser.keytab ]; then echo "Required keytab /etc/dhcpduser.keytab not found, it needs to be created." echo "Use the following commands as root" echo "samba-tool domain exportkeytab --principal=$ /etc/dhcpduser.keytab" echo "chown XXXX: XXXX /etc/dhcpduser.keytab" echo "Replace 'XXXX: XXXX' with the user & group that dhcpd runs as on your distro" echo "chmod 400 /etc/dhcpduser.keytab" exit 1 fi # Variables supplied by action=

Windows DHCP clients in the domain which have reservations properly update DNS. Are your DHCP servers set to update DNS even with an unauthenticated requests?-f /etc/dhcp/dhcpduser.keytab ]; then echo "Required keytab /etc/dhcpduser.keytab not found, it needs to be created." echo "Use the following commands as root" echo "samba-tool domain exportkeytab --principal=$ /etc/dhcpduser.keytab" echo "chown XXXX: XXXX /etc/dhcpduser.keytab" echo "Replace 'XXXX: XXXX' with the user & group that dhcpd runs as on your distro" echo "chmod 400 /etc/dhcpduser.keytab" exit 1 fi # Variables supplied by action=$1 ip=$2 DHCID=$3 name=$ usage() _KERBEROS () # Exit if no ip address or mac-address if [ -z "$" ] || [ -z "$" ]; then usage exit 1 fi # Exit if no computer name supplied, unless the action is 'delete' if [ "$" = "" ]; then if [ "$" = "delete" ]; then name=$(host -t PTR "$" | awk '' | awk -F '.' '') else usage exit 1; fi fi # Set PTR address ptr=$(echo $ | awk -F '.' '') ## nsupdate ## case "$" in add) _KERBEROS nsupdate -g $ Start the dhcp server and see what happens, don't forget to stop your windows clients trying to update their own records, as this will fail.Add the following to the /etc/dhcp/file on the primary: Replace PUT_YOUR_KEY_HERE with the key you extracted from the private key created by the dnssec command Restart both servers to apply the configuration changes.This How To describes how to configure isc DHCP to update a Samba DC BIND DNS backend.See Setting_up_a_BIND_DNS_Server for how to set up Bind.option domain-name "home.lan"; option domain-name-servers lan; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. Some people have mentioned that they think that bind messes up these files so that they are impossible to maintain.

||

Windows DHCP clients in the domain which have reservations properly update DNS. Are your DHCP servers set to update DNS even with an unauthenticated requests?

-f /etc/dhcp/dhcpduser.keytab ]; then echo "Required keytab /etc/dhcpduser.keytab not found, it needs to be created." echo "Use the following commands as root" echo "samba-tool domain exportkeytab --principal=$ /etc/dhcpduser.keytab" echo "chown XXXX: XXXX /etc/dhcpduser.keytab" echo "Replace 'XXXX: XXXX' with the user & group that dhcpd runs as on your distro" echo "chmod 400 /etc/dhcpduser.keytab" exit 1 fi # Variables supplied by action=$1 ip=$2 DHCID=$3 name=$ usage() _KERBEROS () # Exit if no ip address or mac-address if [ -z "$" ] || [ -z "$" ]; then usage exit 1 fi # Exit if no computer name supplied, unless the action is 'delete' if [ "$" = "" ]; then if [ "$" = "delete" ]; then name=$(host -t PTR "$" | awk '' | awk -F '.' '') else usage exit 1; fi fi # Set PTR address ptr=$(echo $ | awk -F '.' '') ## nsupdate ## case "$" in add) _KERBEROS nsupdate -g $ Start the dhcp server and see what happens, don't forget to stop your windows clients trying to update their own records, as this will fail.

Add the following to the /etc/dhcp/file on the primary: Replace PUT_YOUR_KEY_HERE with the key you extracted from the private key created by the dnssec command Restart both servers to apply the configuration changes.

This How To describes how to configure isc DHCP to update a Samba DC BIND DNS backend.

See Setting_up_a_BIND_DNS_Server for how to set up Bind.

option domain-name "home.lan"; option domain-name-servers lan; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. Some people have mentioned that they think that bind messes up these files so that they are impossible to maintain.

||

Windows DHCP clients in the domain which have reservations properly update DNS. Are your DHCP servers set to update DNS even with an unauthenticated requests?

-f /etc/dhcp/dhcpduser.keytab ]; then echo "Required keytab /etc/dhcpduser.keytab not found, it needs to be created." echo "Use the following commands as root" echo "samba-tool domain exportkeytab --principal=$ /etc/dhcpduser.keytab" echo "chown XXXX: XXXX /etc/dhcpduser.keytab" echo "Replace 'XXXX: XXXX' with the user & group that dhcpd runs as on your distro" echo "chmod 400 /etc/dhcpduser.keytab" exit 1 fi # Variables supplied by action=$1 ip=$2 DHCID=$3 name=$ usage() _KERBEROS () # Exit if no ip address or mac-address if [ -z "$" ] || [ -z "$" ]; then usage exit 1 fi # Exit if no computer name supplied, unless the action is 'delete' if [ "$" = "" ]; then if [ "$" = "delete" ]; then name=$(host -t PTR "$" | awk '' | awk -F '.' '') else usage exit 1; fi fi # Set PTR address ptr=$(echo $ | awk -F '.' '') ## nsupdate ## case "$" in add) _KERBEROS nsupdate -g $ Start the dhcp server and see what happens, don't forget to stop your windows clients trying to update their own records, as this will fail.

Add the following to the /etc/dhcp/file on the primary: Replace PUT_YOUR_KEY_HERE with the key you extracted from the private key created by the dnssec command Restart both servers to apply the configuration changes.

This How To describes how to configure isc DHCP to update a Samba DC BIND DNS backend.

ip= DHCID= name=$ usage() _KERBEROS () # Exit if no ip address or mac-address if [ -z "$" ]