The nss_mdns port does not currently build and install the nss_mdns_minimal module. This module only performs lookups for the .local domain and self assigned IP addresses, rejecting others. This can be used to speed up the resolution of non mdns registered host names. A useful entry in nsswitch.conf might be: hosts: files cache mdns_minimal [NOTFOUND=return] dns Fix: Patch attached with submission follows:
Maintainer of dns/nss_mdns, Please note that PR ports/128107 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/128107 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Edwin Groothuis writes: > Maintainer of dns/nss_mdns, > Please note that PR ports/128107 has just been submitted. > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/128107 Yes, I approve the patch mentioned at above URL. Please commit it. Thanks Ashish Shukla -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- % dig +short cname cdac.in @::1 ms.gov.in
State Changed From-To: feedback->open Maintainer approved.
State Changed From-To: open->closed Committed, thanks!
pav 2008-11-14 10:23:34 UTC FreeBSD ports repository Modified files: dns/nss_mdns Makefile dns/nss_mdns/files patch-src__Makefile.am patch-src__bsdnss.c Added files: dns/nss_mdns/files patch-src__nss.c patch-src__nss_gethostname_select.h Log: - Build and install the nss_mdns_minimal module. This module only performs lookups for the .local domain and self assigned IP addresses, rejecting others. This can be used to speed up the resolution of non mdns registered host names. PR: ports/128107 Submitted by: Andrew <andrew@ugh.net.au> Approved by: Ashish Shukla <wahjava@gmail.com> (maintainer) Revision Changes Path 1.12 +8 -3 ports/dns/nss_mdns/Makefile 1.3 +7 -9 ports/dns/nss_mdns/files/patch-src__Makefile.am 1.6 +50 -13 ports/dns/nss_mdns/files/patch-src__bsdnss.c 1.1 +39 -0 ports/dns/nss_mdns/files/patch-src__nss.c (new) 1.1 +55 -0 ports/dns/nss_mdns/files/patch-src__nss_gethostname_select.h (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"