Friday, September 28, 2007

Young (cheap) system administrators...

...should be avoided, or at least well trained, when required to manage a name server like that one which controls APPLE.IT and APPLE.COM domain.

This morning my squid complained about http://www.apple.it/ couldn't be reached cause www.apple.it did have No address records...so I thought: WTF? Can't be!

Well..it actually is:

iscamac:~ rlucia$ date
Fri Sep 28 13:03:43 CEST 2007
iscamac:~ rlucia$ host -t a www.apple.it
www.apple.it is an alias for euro-red.apple.com.
iscamac:~ rlucia$ host -t a euro-red.apple.com
euro-red.apple.com has no A record
iscamac:~ rlucia$ host -t ns apple.it
apple.it name server nserver.euro.apple.com.
apple.it name server nserver.apple.com.
apple.it name server nserver2.apple.com.
iscamac:~ rlucia$ host -t a euro-red.apple.com nserver.euro.apple.com
Using domain server:
Name: nserver.euro.apple.com
Address: 17.72.133.64#53
Aliases:

euro-red.apple.com has no A record
iscamac:~ rlucia$ host -t a euro-red.apple.com nserver.apple.com
Using domain server:
Name: nserver.apple.com
Address: 17.254.0.50#53
Aliases:

euro-red.apple.com has no A record
iscamac:~ rlucia$ host -t a euro-red.apple.com nserver2.apple.com
Using domain server:
Name: nserver2.apple.com
Address: 17.254.0.59#53
Aliases:
euro-red.apple.com has no A record
iscamac:~ rlucia$



I think some homework is required, or at least encorauged.

I know you're in a hurry, for a quick and dirty solution, add these two lines into apple.com zone:
$ORIGIN apple.com.
euro-red IN A 1.2.3.4

where 1.2.3.4 should be replaced with the IP address of your actual web server :-)

P.S.
• hey, don't forget to bump up zone serial ;-)
• for the rest of us that still want to access Apple web site in Italian, it's possible to reach it at http://www.apple.com/it/

1 comment:

volpedue said...

Problem solved:
iscamac:~ rlucia$ date
Fri Sep 28 14:49:53 CEST 2007
iscamac:~ rlucia$ host www.apple.it
www.apple.it is an alias for euro-red.apple.com.
euro-red.apple.com has address 17.149.160.31

it only took one hour for the fix :-)