This is fine except... web applications see a different host with and
without a trailing dot.

DNS need the trailing dot because a domain like "sub" in a
configuration file is resolved as "sub.example.com." (main domain is
appended).

So my guess is that if I intend to use the HOST information from
apache in a web application, I have to accept both "example.com" and
"example.com.".

The strange fact is that only Bonjour uses trailing dots in domain
names in Safari. But if both are considered acceptable domain names
for the same service, I'll change my web applications...
(http://zenadmin.org).

Gaspard

On Wed, Jan 28, 2009 at 11:32 AM, Robin Perkins
<robin.perk...@internode.on.net> wrote:
> The trailing dot exists in *every* domain name, just nobody bothers to
> write it in web urls or email address' because.....I guess everyone
> just assumes its there. DNS needs it however (I don't really know why,
> it just does, I guess domains can't hide their true identity in this
> space) and this is reflected in the response you are seeing in Safari.
>
> Rob
>
> On 28/01/2009, at 5:56 PM, Gaspard Bucher wrote:
>
>> Cool, great news.
>>
>> I have a (stupid) question regarding ".local" domain. I tried a setup
>> to advertise a vhost called "zena.local" with avahi:
>> "/etc/avahi/services/zena.service"
>> <service-group>
>>  <name>zena playground</name>
>>  <service>
>>    <type>_http._tcp</type>
>>    <port>80</port>
>>  </service>
>> </service-group>
>>
>> But the Bonjour browser in Safari would recognize it as "zena.local."
>> (trailing dot). Why is that so ? "zena.local" would still be resolved
>> correctly, but the entry for the vhost is clearly not the same if you
>> call "zena.local" or "zena.local.".
>>
>>
>>
>> Gaspard
>>
>> On Wed, Jan 28, 2009 at 3:41 AM, Lennart Poettering
>> <lenn...@poettering.net> wrote:
>>> Heya!
>>>
>>> I just did another release of mod_dnssd 0.6.
>>>
>>> http://0pointer.de/lennart/projects/mod_dnssd/
>>>
>>> The next version of gnome-user-share will depend on this new version,
>>> so make sure to prepare packages!
>>>
>>> Lennart
>>>
>>> --
>>> Lennart Poettering                        Red Hat, Inc.
>>> lennart [at] poettering [dot] net         ICQ# 11060553
>>> http://0pointer.net/lennart/           GnuPG 0x1A015CC4
>>> _______________________________________________
>>> avahi mailing list
>>> avahi@lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/avahi
>>>
>> _______________________________________________
>> avahi mailing list
>> avahi@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/avahi
>
> _______________________________________________
> avahi mailing list
> avahi@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
>
_______________________________________________
avahi mailing list
avahi@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to