After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337679 - dns-sd support should use avahi_nss_support() and return .local domains if supported
dns-sd support should use avahi_nss_support() and return .local domains if su...
Status: RESOLVED DUPLICATE of bug 332759
Product: gnome-vfs
Classification: Deprecated
Component: Other
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-07 21:13 UTC by Sebastian Dröge (slomo)
Modified: 2006-05-27 19:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
small patch that does this (2.16 KB, patch)
2006-05-16 17:08 UTC, Kyle McFarland
none Details | Review

Description Sebastian Dröge (slomo) 2006-04-07 21:13:55 UTC
Hi,
the dns-sd API should return the .local hostnames instead of IPs if the nss-mdns module is enabled for libc. This can be checked by avahi_nss_support() for avahi.

When using the IP instead of the hostname you could get on the wrong virtual host for _http._tcp services for examples... and obviously it looks much nicer ;)

Bye

Ubuntu Bug: https://launchpad.net/distros/ubuntu/+source/gnome-vfs2/+bug/36769
Comment 1 Kyle McFarland 2006-05-16 17:08:58 UTC
Created attachment 65602 [details] [review]
small patch that does this

heres a small patch that returns the hostname if there is nss support and the hostname resolves with gethostbyname
Comment 2 Sebastian Dröge (slomo) 2006-05-16 18:17:25 UTC
Thanks, works perfect here
Comment 3 Christian Persch 2006-05-17 18:08:28 UTC
Looks like a dup of bug 332759 to me.
Comment 4 Sebastian Dröge (slomo) 2006-05-27 19:59:09 UTC

*** This bug has been marked as a duplicate of 332759 ***