Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
avahi [2013/08/13 10:07] 127.0.0.1 external edit |
avahi [2015/08/06 14:45] steve |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Avahi ====== | ====== Avahi ====== | ||
+ | * [[DNS]] | ||
* [[dnsmasq]] | * [[dnsmasq]] | ||
- | * [[IPFire]] | ||
- | * [[Local DNS]] | ||
* [[Multicast DNS]] | * [[Multicast DNS]] | ||
* [[netatalk]] | * [[netatalk]] | ||
Line 17: | Line 16: | ||
OS X seems to cache mDNS entries, even if a service and/or server goes away. To test: | OS X seems to cache mDNS entries, even if a service and/or server goes away. To test: | ||
- | * Startup iptables, samba, avahi-daemon on stormy | + | * Startup iptables, samba, avahi-daemon on nas |
- | * stormy shows up in Finder as ''STORMY'' | + | * nas shows up in Finder as ''NAS'' |
* Shut down samba and/or avahi-daemon or reboot the box | * Shut down samba and/or avahi-daemon or reboot the box | ||
- | * ''STORMY'' still displays as available. | + | * ''NAS'' still displays as available. |
== Finder Bugs == | == Finder Bugs == | ||
Line 69: | Line 68: | ||
=== Examples === | === Examples === | ||
- | == tahiti.local and netatalk == | + | == gentoo.local and netatalk == |
In ''/etc/avahi/hosts'': | In ''/etc/avahi/hosts'': | ||
<code> | <code> | ||
- | 192.168.13.2 tahiti.local | + | 192.168.13.2 gentoo.local |
</code> | </code> | ||
Line 83: | Line 82: | ||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | ||
<service-group> | <service-group> | ||
- | <name replace-wildcards="yes">tahiti</name> | + | <name replace-wildcards="yes">gentoo</name> |
<service> | <service> | ||
<type>_device-info._tcp</type> | <type>_device-info._tcp</type> | ||
Line 89: | Line 88: | ||
<!-- Customize this to get a different icon in the Finder. --> | <!-- Customize this to get a different icon in the Finder. --> | ||
<txt-record>model=PowerMac</txt-record> | <txt-record>model=PowerMac</txt-record> | ||
- | <host-name>tahiti.local</host-name> | + | <host-name>gentoo.local</host-name> |
</service> | </service> | ||
<service> | <service> | ||
<type>_afpovertcp._tcp</type> | <type>_afpovertcp._tcp</type> | ||
<port>548</port> | <port>548</port> | ||
- | <host-name>tahiti.local</host-name> | + | <host-name>gentoo.local</host-name> |
</service> | </service> | ||
</service-group> | </service-group> | ||
Line 104: | Line 103: | ||
<code> | <code> | ||
- | 192.168.12.184 cloudy.local | + | 192.168.12.184 nas.local |
</code> | </code> | ||
Line 113: | Line 112: | ||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | <!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | ||
<service-group> | <service-group> | ||
- | <name replace-wildcards="yes">cloudy</name> | + | <name replace-wildcards="yes">nas</name> |
<service> | <service> | ||
<type>_device-info._tcp</type> | <type>_device-info._tcp</type> | ||
<port>0</port> | <port>0</port> | ||
<txt-record>model=PowerMac</txt-record> | <txt-record>model=PowerMac</txt-record> | ||
- | <host-name>cloudy.local</host-name> | + | <host-name>nas.local</host-name> |
</service> | </service> | ||
<service> | <service> | ||
<type>_smb._tcp</type> | <type>_smb._tcp</type> | ||
<port>445</port> | <port>445</port> | ||
- | <host-name>cloudy.local</host-name> | + | <host-name>nas.local</host-name> |
</service> | </service> | ||
</service-group> | </service-group> |