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 188.8.131.52 swscan.apple.com 184.108.40.206 swquery.apple.com 220.127.116.11 swcdn.apple.com 18.104.22.168 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.