I have been the happy owner of a Synology DS-1010+ NAS for some time now. The NAS works without problems since I got it and although it took a short while, it fully supports Mac OS X Lion after the last upgrade to DSM 3.2.
One of the things that had annoyed me for some time though, was that on the Mac Finder, the Synology NAS is shown as if it was a Windows host, both for the AFP shares as well as its TimeMachine function. Functionally nothing wrong, but not as I wanted. Since I had been playing with AFP and Avahi on Linux and set this up correctly in the past based on this blog post of Simon Wheatley,I decided to check whether I could achieve the same on my NAS.
After a bit of debugging I found out that the Synology NAS (DSM 3.2) was also using avahi, but that its configuration files were re-generated every time the avahi service was restarted based on the configuration of the NAS. To show the right icons in the finder meant 2 simple changes to the file /usr/syno/etc/rc.d/S99avahi.sh, which changes how the Synology NAS to what is depicted to the right
In the function AddTimeMachine(), one has to add the following just before the </service-group> tag:
<service> <type>_device-info._tcp</type> <port>0</port> <txt-record>model=TimeCapsule</txt-record> </service>
and in the function AddAFP(), the following must be added just before the </service-group> tag:
<service> <type>_device-info._tcp</type> <port>0</port> <txt-record>model=Xserve</txt-record> </service>
Next, the avahi service must be restarted/reloaded with the following command:
/usr/syno/etc/rc.d/S99avahi.sh reload
and after logging in again on you Mac the Finder will start showing the right icons (apparently this information is cached).
The resulting S99avahi.sh file for DSM3.2 that can be used as a drop-in replacement is attached to this post.