[avahi] publishing within differant subnets

Lennart Poettering lennart at poettering.net
Thu Jun 5 11:12:42 PDT 2008

On Thu, 05.06.08 22:21, Rupesh (thakkar_rupesh at yahoo.com) wrote:

> I wanted use avahi tool for
> publishing services . Bear me I am new to avahi.
> I have two subnets with in same
> physical network . For example: I am on a machine with 10.52.10.X(
> DHCP IP) with default gateway as
>  and domain as "smsv.com" and clients is on  machine
> static ip 10.52.11.x with the gateway
> and with domain "sadom.com" and I can' publish service with
> domin option, does specifying domain in following way will help me
> alone and how ?
> avahi-publish --domain="sadom.com" -R "ServiceName" _http._tcp
> "sadom.com" 80 "XXXXXXX" I get below error
> Failed to add service: Not supported

.local is the mDNS domain. All other domains are classic unicast DNS
domains. Unfortunately, Avahi doesn't (yet) support registering
services in unicast DNS servers.

In short: if you want to publish services you have to do so in .local.


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the avahi mailing list