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: service registration



On Wed, 3 Nov 2004, Adam Purkiss wrote:

> I register a HTTP service without problem however I was wondering if I can
> change the http address it uses.
>
> At the moment when I register my HTTP server it is shown in the IE plugin as
> "adam" however the http link is "blob.local.". If I use the below code I can
> change it so that the IE plugin takes me to "adam.local." however the DNS
> lookup fails.
>

The problem here, as I understand it, is that the IE plugin only tells IE
where to go to - that is, the URL that it should launch - in your case
http://blob.local./ or http://adam.local./ (depending on which one you
use). IE then takes that and attempts to resolve those addresses through
its normal resolution methods applied to the HTTP scheme. Since those
resolution methods do not include mDNS lookups, it will only use regular
DNS as I understand it [1]. As a result the lookup will fail.

My solution here was to add a 'local.' domain in my bind on the linux
server that provides my DNS, for my testing purposes. This was fine for
me, working on the assumption that the additional resolution of 'local.'
was something that Windows doesn't do so needs external support.

This effectively limits the usefulness of the Rendezvous service on a
Windows system as I understand it. I believe, but I could be wrong, that
it's possible to provide additional resolution services to augment the
normal resolution methods that applications use, however I do not
understand Windows at that level so couldn't even comment on that.

I'm only using the Windows implementation (and the Posix build on Linux)
to test my port of the mDNS core to another platform, so I don't know the
specifics of the Windows implementation.

Is the lack of 'local.' resolution the reason why I'm seeing that I have
to do this, or should I be doing something else to allow Windows to query
the mDNS core for those addresses ?

-- 
Gerph <http://gerph.org/>
... You don't even have to leave your house.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Rendezvous-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/rendezvous-dev/email@hidden

This email sent to email@hidden

References: 
 >service registration (From: "Adam Purkiss" <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.