Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mDNS across subnets?



Shao,

Thanks for the response.

I don't particularly care about mDNS, I care more about Service Discovery. The IP address blocks we usually deploy on are 10. networks. Usually there is a wired network 10.31.129.* for example, and a wireless network, 10.31.130.*. There is a router and firewall (out of our control) between the two networks, and we have to request our customers open a range of ports for our system to work. We already use Bonjour for our wired clients to locate our server application (but they are all on the same subnet), but we would like our wireless clients to locate the server via service discovery as well.

The end goal is for our clients to have zero knowledge of the client configuration on startup, and to configure themselves as they boot. I would like to avoid the dependancy on a DNS server or forwarder, because our clients have pretty ridged networking procedures and are probably going to be unwilling or unable to change their DNS servers to support us. We could install our own DNS server on our machines if needed and forward that with our DHCP server, but that seems painful.

I suppose it may be possible to get our clients to open port 5353 between the two subnets, I don't know enough about router configuration.

-Josh

On Jan 25, 2007, at 3:59 PM, Shao Miller wrote:

Good day Joshua ChaitinPollak,

    I've talked about mDNS across subnets a few times in this list.

Bonjour consists of two parts: multicast DNS & DNS service discovery
extensions.


You can add DNS service discovery functionality to several types of DNS
servers, including Mac OS X DNS (named). This is called Wide-Area Bonjour
by Apple.


Regardless of DNS-SD, multicast DNS will always be limited to multicast
boundaries. Sometimes you can configure routers to pass along multicast
traffic.


You said you will need to use multicast DNS across subnets. Could you
offer a little more information? Are you planning on using Bonjour? Is it
pure multicast DNS you are interested in (like .local automatic names)? Is
it DNS-SD you want? Both?


A word of warning about using Bonjour as it is currently available: RFC
1918 private IP addresses, such as 192.168.0.1 and 172.16.0.1, are treated
specially by Bonjour if you intend on using a DNS server with DNS-SD
extensions (Wide-Area Bonjour).


If you don't understand any of this and you simply want two Bonjour
services to find each other across multicast boundaries, perhaps you can
configure your router to pass on this multicast traffic, which uses the IP
address of 224.0.0.251, UDP port 5353. An alternative is to use a Bonjour
"repeater", such as Network Beacon by chaoticsoftware.com.


    I hope this helps.

- Shao Miller



-- Joshua ChaitinPollak Software Engineer Kiva Systems


_______________________________________________ Do not post admin requests to the list. They will be ignored. Bonjour-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bonjour-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: mDNS across subnets? (From: Shao Miller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.