I have a somewhat unique lion server setup, but it's experiencing a couple issues.
The main goal is to provide a transparent update server for computers on the network, but to allow them to default back to apple's servers when not in the office (ie, zero client-side changes)
in my office network, I have a DNS entry pointing swscan.apple.com to my mac server, so all local macs are looking at the server for updates.
on the mac server itself, i have /etc/hosts as follows:
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost 18.104.22.168 swscan.apple.com 22.214.171.124 swquery.apple.com 126.96.36.199 swcdn.apple.com 188.8.131.52 swcdn.apple.com
when a local mac pings swscan, they resolve to the local server as expected. when the mac server pings swscan, it resolves to apple as expected.
if i choose apple menu / software update on the mac server, it checks apples servers for updates as expected.
the software update service however, is giving me a "cant connect to apple" error.
anyone have any insight? im aware this setup isnt "the apple way" of doing things, but would work best for my network.