Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Q) Runtime discovery of a specific server

11 views
Skip to first unread message

Generic Usenet Account

unread,
Apr 1, 2011, 9:22:28 AM4/1/11
to
Hello experts,

I would appreciate if someone can tell me what is the best way for
runtime discovery of a local server that is running a specific
service. The service is running on an IANA registered port. I
believe that there is some DNS and DHCP magic that can be performed to
return the address of such a server.

Any pointers to the RFCs would be appreciated.

Thanks,
Choi

David Schwartz

unread,
Apr 4, 2011, 5:48:52 AM4/4/11
to
On Apr 1, 6:22 am, Generic Usenet Account <use...@sta.samsung.com>
wrote:

> I would appreciate if someone can tell me what is the best way for
> runtime discovery of a local server that is running a specific
> service.  The service is running on an IANA registered port.  I
> believe that there is some DNS and DHCP magic that can be performed to
> return the address of such a server.

The server has to do something that the client can detect. What that
something is -- it can be anything. Without knowing your requirements,
it's really hard to give you a useful answer. On what basis is the
client supposed to choose a server? Is there one server for the
planet? Are the server and client always on the same LAN? Or what?

DS

Barry Margolin

unread,
Apr 4, 2011, 8:35:08 PM4/4/11
to
In article
<d07fda4f-80cd-4223...@f6g2000prf.googlegroups.com>,
David Schwartz <dav...@webmaster.com> wrote:

He mentioned "DNS magic", so I suspect what he's looking for are SRV
records. That's what Microsoft uses to advertise the location of
services on the local network.

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE don't copy me on replies, I'll read them in the group ***

Generic Usenet Account

unread,
Apr 5, 2011, 2:23:33 PM4/5/11
to
On Apr 4, 7:35 pm, Barry Margolin <bar...@alum.mit.edu> wrote:

> He mentioned "DNS magic", so I suspect what he's looking for are SRV
> records.  That's what Microsoft uses to advertise the location of
> services on the local network.
>

Yes indeed. A distinguished colleague of mine has proposed the
following alternatives (see OMA-DM-DM13-2011-0029R02-
CR_Client_Initiated_Bootstrap_and_DM_Bootstrap_Discovery.zip):

1) The host first obtains its domain name from the response that it
receives for a DHCP query that includes the "Client FQDN" option, with
an empty Domain Name field, as specified in [RFC 4702] and [RFC
4704]. It then issues a DNS Resource Record query, as specified in
[RFC 2782].

2) The host first obtains its domain name from the response that it
receives for a DHCP query that includes the "Access Network Domain
Name" option, as specified in [RFC 5986]. It then issues a DNS
Resource Record query, as specified in [RFC 2782].

Thanks,
Choi

Generic Usenet Account

unread,
Apr 5, 2011, 2:25:18 PM4/5/11
to
On Apr 5, 1:23 pm, Generic Usenet Account <use...@sta.samsung.com>
wrote:

> Yes indeed.  A distinguished colleague of mine has proposed the


> following alternatives (see OMA-DM-DM13-2011-0029R02-
> CR_Client_Initiated_Bootstrap_and_DM_Bootstrap_Discovery.zip):

Apologies for the incomplete URL. Here's the full URL:
http://member.openmobilealliance.org/ftp/Public_documents/DM/DM-DM13/2011/OMA-DM-DM13-2011-0029R02-CR_Client_Initiated_Bootstrap_and_DM_Bootstrap_Discovery.zip

Thanks,
Choi

0 new messages