OS X Client fails to discover Apple Caching Server

Originator:calum.h
Number:rdar://26780904 Date Originated:14/06/2016
Status:Resolved Resolved:
Product:OS X Product Version:10.11.5
Classification:Performance Reproducible:Yes
 
Summary:
In a complex network environment with multiple WAN IP addresses.
We configure Apple Caching server with LAN IP Address Ranges as well as WAN IP address ranges.
We also add the WAN IP Address ranges to a DNS TXT Service record of the default search domain
This works great, until the primary DNS Server being given to the client device is no longer responsive.
If this primary DNS server is down, the caching server discovery tool on the client device is unable to lookup the DNS TXT record. 
It does not fail over to the secondary DNS Server. Because of this, it does not provide the correct information to the LCDN locator service and the client fails to retrieve the correct caching server to use.


Steps to Reproduce:
1. Configure Apple caching server to work in complete network topology. Provide DNS TXT record to client devices. Ensure atleast two DNS servers are available and being provided to client device via DHCP
2. Confirm it is working as expected.
3. Now turn off the primary DNS server.
4. Trigger a rediscovery by removing the diskcache.plist ( sudo find /var/folders -iname diskcache.plist -exec rm {} \; ) and reboot the client device.
5. Attempt to download content from a content download service such as the App Store
6. Check Apple caching server for connections from the client device.
7. Note that no connections are made and the client device downloads the content from the WAN


Expected Results:
The caching server discovery tool should fail over to the secondary DNS server to perform the DNS TXT record lookup. 
The client device should then be able to locate the correct caching server by supplying the apple LCDN locator service with the lan ip and the wan ip address ranges from the DNS txt record.

Actual Results:
The caching server discovery tool DOES NOT fail over to the secondary DNS server and perform the DNS TXT record lookup.
Because it is unable to locate the DNS TXT record, it is unable to get the correct caching server from the Apple LCDN locator service

Regression:
Problem occurs in all tested versions of OS X 10.10 and 10.11 up to 10.11.5

Notes:

Comments

Apple Developer Relations06-Jul-2016 05:26 AM

We believe this issue has been resolved in the latest macOS 10.12 Beta.

Please test with the latest Beta. If you still have issues, please update your bug report with any relevant logs or information that could help us investigate.

macOS 10.12 https://developer.apple.com/download/


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!