1

Event ID 1340 warnings are consistently being logged on a Server 2012 R2 domain controller in the System log whenever Apple/Mac clients connect to the network. Here's a log example:


Log Name:      System
Source:        Microsoft-Windows-DHCP-Server
Date:          8/10/2015 5:00:33 AM
Event ID:      1340
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      myserver.mydomain.com

Log Description:
The DNS registration for DHCPv4 Client IP address 192.168.1.51 , FQDN
hostname.mydomain.com and DHCID AAEBVzZyBqmkeAK+NSOo3wSKL= has been 
denied as there is probably an existing client with same FQDN 
already registered with DNS.

I'm aware this is related to the fact that I have DHCP Name Protection enabled, but the feature works fine for all Windows & Android devices. The logs seem to be present for all Mac and iOS devices. It doesn't appear to impact the client's connectivity however.

I've confirmed that DHCIDs (which are used by the non-Windows clients in DHCP name protection) populate in DNS correctly - even for the Apple clients. Also, the DNS zone is AD integrated with secure dynamic updates enabled. Note that when I first enabled name protection I saw these all the time, until I went through steps to configure the DHCP server to own all records it registers. I've also confirmed that no additional adapters are attempting network connections (wifi is disabled when cabled connections are used, for example.)

So, the last piece of this puzzle is: why is this still happening on the Apple DHCP clients? I'm not satisfied with administrative events populating for "routine" items like these if I can resolve it with diligent configuration.

TheMessenger
  • 129
  • 1
  • 3
  • 12

1 Answers1

1

Looks like all the Mac machines have the same default hostname. Set reservations with hostnames for each different machine or set the hostname on the Apple MAC itself.

rjt
  • 578
  • 6
  • 26
  • Nope. ALL clients on the network have unique hostnames. If that were true, I would expect this to happen occasionally (e.g. two or more users naming their personal device like "iPhone") Also, note, this issue does not appear to impact leasing of any device, it only populates multiple warnings throughout the day for primarily iOS devices. I'm beginning to wonder if this is related to iOS 8+ MAC address randomization feature, but OSX doesn't have this I believe. – TheMessenger Dec 03 '15 at 18:40
  • OK, so the event log was edited before upload to change the real hostname to generic "hostname". – rjt Dec 03 '15 at 21:34
  • And I don't truly utilize or own "mydomain.com" as well, yes. – TheMessenger Dec 04 '15 at 19:18