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
> 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
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 ***
> 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
> 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