DHCP...

  • Thread starter Thread starter sudeep
  • Start date Start date
S

sudeep

I dunno if this is the right place , but I think someone might be able
to answer me anyway.
Here is what I need to do.
We have client server app. Client needs to discover at runtime.
Someone came up with the idea of using the dhcp server , the same way
get dns information from the dhcp server while obtaining the IP
address.
Can someone enlighten me on
1. How can you create something like an attribute for a particular
system. (Like the dns server information ) at the server , which can
be retrievd by a client system
2. How can a connecting client retrieve this info.

Thanks in advance
regards
Sudeep
 
sudeep said:
I dunno if this is the right place , but I think someone might be able
to answer me anyway.
Here is what I need to do.
We have client server app. Client needs to discover at runtime.
Someone came up with the idea of using the dhcp server , the same way
get dns information from the dhcp server while obtaining the IP
address.

Probably not: Windows DHCP clients only pay attention to
certain options -- perhaps someone can tell us if they store the
rest in the registry, but unless that is the case you idea is dead
in the water.

Can someone enlighten me on
1. How can you create something like an attribute for a particular
system. (Like the dns server information ) at the server , which can
be retrievd by a client system

You would also have to be able to hand out non-standard options,
which I have never seen in MS DNS.
2. How can a connecting client retrieve this info.

They don't unless the DHCP server offers it and the particular
clients store it somewhere.

Much easier to have the clients connect to a "known" DNS name
or some such and find the service that way.

Perhaps, APPNAME.ClientsDomain.Com (where the last part is
the machines domain name) would work as a standard.

Then by adding this as an A, CNAME, or SRV record you could
get the effect you wish.
 
Back
Top