head 1.6; access; symbols netbsd-10-0-RC6:1.6 netbsd-10-0-RC5:1.6 netbsd-10-0-RC4:1.6 netbsd-10-0-RC3:1.6 netbsd-10-0-RC2:1.6 netbsd-10-0-RC1:1.6 netbsd-10:1.6.0.58 netbsd-10-base:1.6 netbsd-9-3-RELEASE:1.6 cjep_sun2x-base1:1.6 cjep_sun2x:1.6.0.56 cjep_sun2x-base:1.6 cjep_staticlib_x-base1:1.6 netbsd-9-2-RELEASE:1.6 cjep_staticlib_x:1.6.0.54 cjep_staticlib_x-base:1.6 netbsd-9-1-RELEASE:1.6 phil-wifi-20200421:1.6 phil-wifi-20200411:1.6 is-mlppp:1.6.0.52 is-mlppp-base:1.6 phil-wifi-20200406:1.6 netbsd-8-2-RELEASE:1.6 netbsd-9-0-RELEASE:1.6 netbsd-9-0-RC2:1.6 netbsd-9-0-RC1:1.6 phil-wifi-20191119:1.6 netbsd-9:1.6.0.50 netbsd-9-base:1.6 phil-wifi-20190609:1.6 netbsd-8-1-RELEASE:1.6 netbsd-8-1-RC1:1.6 pgoyette-compat-merge-20190127:1.6 pgoyette-compat-20190127:1.6 pgoyette-compat-20190118:1.6 pgoyette-compat-1226:1.6 pgoyette-compat-1126:1.6 pgoyette-compat-1020:1.6 pgoyette-compat-0930:1.6 pgoyette-compat-0906:1.6 netbsd-7-2-RELEASE:1.6 pgoyette-compat-0728:1.6 netbsd-8-0-RELEASE:1.6 phil-wifi:1.6.0.48 phil-wifi-base:1.6 pgoyette-compat-0625:1.6 netbsd-8-0-RC2:1.6 pgoyette-compat-0521:1.6 pgoyette-compat-0502:1.6 pgoyette-compat-0422:1.6 netbsd-8-0-RC1:1.6 pgoyette-compat-0415:1.6 pgoyette-compat-0407:1.6 pgoyette-compat-0330:1.6 pgoyette-compat-0322:1.6 pgoyette-compat-0315:1.6 netbsd-7-1-2-RELEASE:1.6 pgoyette-compat:1.6.0.46 pgoyette-compat-base:1.6 netbsd-7-1-1-RELEASE:1.6 matt-nb8-mediatek:1.6.0.44 matt-nb8-mediatek-base:1.6 perseant-stdc-iso10646:1.6.0.42 perseant-stdc-iso10646-base:1.6 netbsd-8:1.6.0.40 netbsd-8-base:1.6 prg-localcount2-base3:1.6 prg-localcount2-base2:1.6 prg-localcount2-base1:1.6 prg-localcount2:1.6.0.38 prg-localcount2-base:1.6 pgoyette-localcount-20170426:1.6 bouyer-socketcan-base1:1.6 pgoyette-localcount-20170320:1.6 netbsd-7-1:1.6.0.36 netbsd-7-1-RELEASE:1.6 netbsd-7-1-RC2:1.6 netbsd-7-nhusb-base-20170116:1.6 bouyer-socketcan:1.6.0.34 bouyer-socketcan-base:1.6 pgoyette-localcount-20170107:1.6 netbsd-7-1-RC1:1.6 pgoyette-localcount-20161104:1.6 netbsd-7-0-2-RELEASE:1.6 localcount-20160914:1.6 netbsd-7-nhusb:1.6.0.32 netbsd-7-nhusb-base:1.6 pgoyette-localcount-20160806:1.6 pgoyette-localcount-20160726:1.6 pgoyette-localcount:1.6.0.30 pgoyette-localcount-base:1.6 netbsd-7-0-1-RELEASE:1.6 netbsd-7-0:1.6.0.28 netbsd-7-0-RELEASE:1.6 netbsd-7-0-RC3:1.6 netbsd-7-0-RC2:1.6 netbsd-7-0-RC1:1.6 netbsd-5-2-3-RELEASE:1.5 netbsd-5-1-5-RELEASE:1.5 netbsd-6-0-6-RELEASE:1.6 netbsd-6-1-5-RELEASE:1.6 netbsd-7:1.6.0.26 netbsd-7-base:1.6 yamt-pagecache-base9:1.6 yamt-pagecache-tag8:1.6 netbsd-6-1-4-RELEASE:1.6 netbsd-6-0-5-RELEASE:1.6 tls-earlyentropy:1.6.0.24 tls-earlyentropy-base:1.6 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6 riastradh-drm2-base3:1.6 netbsd-6-1-3-RELEASE:1.6 netbsd-6-0-4-RELEASE:1.6 netbsd-5-2-2-RELEASE:1.5 netbsd-5-1-4-RELEASE:1.5 netbsd-6-1-2-RELEASE:1.6 netbsd-6-0-3-RELEASE:1.6 netbsd-5-2-1-RELEASE:1.5 netbsd-5-1-3-RELEASE:1.5 netbsd-6-1-1-RELEASE:1.6 riastradh-drm2-base2:1.6 riastradh-drm2-base1:1.6 riastradh-drm2:1.6.0.16 riastradh-drm2-base:1.6 netbsd-6-1:1.6.0.22 netbsd-6-0-2-RELEASE:1.6 netbsd-6-1-RELEASE:1.6 khorben-n900:1.6.0.20 netbsd-6-1-RC4:1.6 netbsd-6-1-RC3:1.6 agc-symver:1.6.0.18 agc-symver-base:1.6 netbsd-6-1-RC2:1.6 netbsd-6-1-RC1:1.6 yamt-pagecache-base8:1.6 netbsd-5-2:1.5.0.60 netbsd-6-0-1-RELEASE:1.6 yamt-pagecache-base7:1.6 netbsd-5-2-RELEASE:1.5 netbsd-5-2-RC1:1.5 matt-nb6-plus-nbase:1.6 yamt-pagecache-base6:1.6 netbsd-6-0:1.6.0.14 netbsd-6-0-RELEASE:1.6 netbsd-6-0-RC2:1.6 tls-maxphys:1.6.0.12 tls-maxphys-base:1.6 matt-nb6-plus:1.6.0.10 matt-nb6-plus-base:1.6 netbsd-6-0-RC1:1.6 yamt-pagecache-base5:1.6 yamt-pagecache-base4:1.6 netbsd-6:1.6.0.8 netbsd-6-base:1.6 netbsd-5-1-2-RELEASE:1.5 netbsd-5-1-1-RELEASE:1.5 yamt-pagecache-base3:1.6 yamt-pagecache-base2:1.6 yamt-pagecache:1.6.0.6 yamt-pagecache-base:1.6 cherry-xenmp:1.6.0.4 cherry-xenmp-base:1.6 bouyer-quota2-nbase:1.6 bouyer-quota2:1.6.0.2 bouyer-quota2-base:1.6 matt-mips64-premerge-20101231:1.6 matt-nb5-mips64-premerge-20101231:1.5 matt-nb5-pq3:1.5.0.58 matt-nb5-pq3-base:1.5 netbsd-5-1:1.5.0.56 netbsd-5-1-RELEASE:1.5 netbsd-5-1-RC4:1.5 matt-nb5-mips64-k15:1.5 netbsd-5-1-RC3:1.5 netbsd-5-1-RC2:1.5 netbsd-5-1-RC1:1.5 netbsd-5-0-2-RELEASE:1.5 matt-nb5-mips64-premerge-20091211:1.5 matt-premerge-20091211:1.6 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.5 matt-nb4-mips64-k7-u2a-k9b:1.5 matt-nb5-mips64-u1-k1-k5:1.5 matt-nb5-mips64:1.5.0.54 netbsd-5-0-1-RELEASE:1.5 jym-xensuspend-nbase:1.5 netbsd-5-0:1.5.0.52 netbsd-5-0-RELEASE:1.5 netbsd-5-0-RC4:1.5 netbsd-5-0-RC3:1.5 netbsd-5-0-RC2:1.5 jym-xensuspend:1.5.0.50 jym-xensuspend-base:1.5 netbsd-5-0-RC1:1.5 mjf-devfs2-base2:1.5 netbsd-5:1.5.0.48 netbsd-5-base:1.5 matt-mips64-base2:1.5 matt-mips64:1.5.0.46 netbsd-4-0-1-RELEASE:1.5 wrstuden-revivesa-base-3:1.5 wrstuden-revivesa-base-2:1.5 wrstuden-fixsa-newbase:1.5 wrstuden-revivesa-base-1:1.5 yamt-pf42-base4:1.5 yamt-pf42-base3:1.5 hpcarm-cleanup-nbase:1.5 yamt-pf42-baseX:1.5 yamt-pf42-base2:1.5 wrstuden-revivesa:1.5.0.44 wrstuden-revivesa-base:1.5 yamt-pf42:1.5.0.42 yamt-pf42-base:1.5 mjf-devfs2:1.5.0.40 mjf-devfs2-base:1.5 keiichi-mipv6:1.5.0.38 keiichi-mipv6-base:1.5 mjf-devfs:1.5.0.36 mjf-devfs-base:1.5 matt-armv6-nbase:1.5 matt-armv6-prevmlocking:1.5 wrstuden-fixsa-base-1:1.5 netbsd-4-0:1.5.0.34 netbsd-4-0-RELEASE:1.5 cube-autoconf:1.5.0.32 cube-autoconf-base:1.5 netbsd-4-0-RC5:1.5 netbsd-4-0-RC4:1.5 netbsd-4-0-RC3:1.5 netbsd-4-0-RC2:1.5 netbsd-4-0-RC1:1.5 matt-armv6:1.5.0.30 matt-armv6-base:1.5 matt-mips64-base:1.5 hpcarm-cleanup:1.5.0.28 hpcarm-cleanup-base:1.5 netbsd-3-1-1-RELEASE:1.5 netbsd-3-0-3-RELEASE:1.5 wrstuden-fixsa:1.5.0.26 wrstuden-fixsa-base:1.5 abandoned-netbsd-4-base:1.5 abandoned-netbsd-4:1.5.0.20 netbsd-3-1:1.5.0.22 netbsd-3-1-RELEASE:1.5 netbsd-3-0-2-RELEASE:1.5 netbsd-3-1-RC4:1.5 netbsd-3-1-RC3:1.5 netbsd-3-1-RC2:1.5 netbsd-3-1-RC1:1.5 netbsd-4:1.5.0.24 netbsd-4-base:1.5 netbsd-3-0-1-RELEASE:1.5 netbsd-3-0:1.5.0.18 netbsd-3-0-RELEASE:1.5 netbsd-3-0-RC6:1.5 netbsd-3-0-RC5:1.5 netbsd-3-0-RC4:1.5 netbsd-3-0-RC3:1.5 netbsd-3-0-RC2:1.5 netbsd-3-0-RC1:1.5 netbsd-2-0-3-RELEASE:1.5 netbsd-2-1:1.5.0.16 netbsd-2-1-RELEASE:1.5 netbsd-2-1-RC6:1.5 netbsd-2-1-RC5:1.5 netbsd-2-1-RC4:1.5 netbsd-2-1-RC3:1.5 netbsd-2-1-RC2:1.5 netbsd-2-1-RC1:1.5 netbsd-2-0-2-RELEASE:1.5 netbsd-3:1.5.0.14 netbsd-3-base:1.5 netbsd-2-0-1-RELEASE:1.5 netbsd-2:1.5.0.12 netbsd-2-base:1.5 netbsd-2-0-RELEASE:1.5 netbsd-2-0-RC5:1.5 netbsd-2-0-RC4:1.5 netbsd-2-0-RC3:1.5 netbsd-2-0-RC2:1.5 netbsd-2-0-RC1:1.5 netbsd-2-0:1.5.0.10 netbsd-2-0-base:1.5 netbsd-1-6-PATCH002-RELEASE:1.5 netbsd-1-6-PATCH002:1.5 netbsd-1-6-PATCH002-RC4:1.5 netbsd-1-6-PATCH002-RC3:1.5 netbsd-1-6-PATCH002-RC2:1.5 netbsd-1-6-PATCH002-RC1:1.5 netbsd-1-6-PATCH001:1.5 netbsd-1-6-PATCH001-RELEASE:1.5 netbsd-1-6-PATCH001-RC3:1.5 netbsd-1-6-PATCH001-RC2:1.5 netbsd-1-6-PATCH001-RC1:1.5 fvdl_fs64_base:1.5 netbsd-1-6-RELEASE:1.5 netbsd-1-6-RC3:1.5 netbsd-1-6-RC2:1.5 netbsd-1-6-RC1:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH002:1.5 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.5 netbsd-1-5-BETA2:1.5 netbsd-1-5-BETA:1.5 netbsd-1-4-PATCH003:1.3 netbsd-1-5-ALPHA2:1.5 netbsd-1-5:1.5.0.6 netbsd-1-5-base:1.5 minoura-xpg4dl:1.5.0.4 minoura-xpg4dl-base:1.5 netbsd-1-4-PATCH002:1.3 wrstuden-devbsize-19991221:1.5 wrstuden-devbsize:1.4.0.2 wrstuden-devbsize-base:1.5 comdex-fall-1999:1.5.0.2 comdex-fall-1999-base:1.5 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-4:1.3.0.2 netbsd-1-4-base:1.3; locks; strict; comment @# @; 1.6 date 2009.10.25.00.17.06; author tsarna; state Exp; branches; next 1.5; 1.5 date 99.10.24.12.36.52; author lukem; state Exp; branches; next 1.4; 1.4 date 99.05.19.02.25.14; author lukem; state Exp; branches 1.4.2.1; next 1.3; 1.3 date 99.01.23.08.07.05; author lukem; state Exp; branches; next 1.2; 1.2 date 99.01.22.03.39.10; author lukem; state Exp; branches; next 1.1; 1.1 date 99.01.16.14.25.47; author lukem; state Exp; branches; next ; 1.4.2.1 date 99.12.27.18.28.50; author wrstuden; state Exp; branches; next ; desc @@ 1.6 log @Major enhancements to mdnsd nsswitch support: - nss_mdns renamed to nss_multicast_dns for clarity and less chance of confusion with nss_mdnsd (see next). - Support using mdnsd for all unicast too with new nss_mdnsd module (note: this mode requires an updated mdnsd too, not yet committed) - Implement resolv.conf "search" directive support. Needed for nss_mdnsd, potentially useful with nss_multicast_dns (you could now do "search example.com local" in resolv.conf if you wanted to and it would act as you might expect) - Add references in nsswitch.conf man page and sample file - Implement AI_CANONNAME - Various bug fixes @ text @# $NetBSD: nsswitch.conf,v 1.5 1999/10/24 12:36:52 lukem Exp $ # # nsswitch.conf(5) - # name service switch configuration file # # These are the defaults in libc # group: compat group_compat: nis hosts: files dns netgroup: files [notfound=return] nis networks: files passwd: compat passwd_compat: nis shells: files # List of supported sources for each database # # group: compat, dns, files, nis # group_compat: dns, nis # hosts: dns, files, nis, mdnsd, multicast_dns # netgroup: files, nis # networks: dns, files, nis # passwd: compat, dns, files, nis # passwd_compat: dns, nis # shells: dns, files, nis @ 1.5 log @default for hosts has changed from `dns files' to `files dns' @ text @d1 1 a1 1 # $NetBSD: nsswitch.conf,v 1.4 1999/05/19 02:25:14 lukem Exp $ d24 1 a24 1 # hosts: dns, files, nis @ 1.4 log @* document `shells' default (suggested by cgd) * for each database, list supported sources (it's useful to know) @ text @d1 1 a1 1 # $NetBSD: nsswitch.conf,v 1.3 1999/01/23 08:07:05 lukem Exp $ d12 1 a12 1 hosts: dns files @ 1.4.2.1 log @Pull up to last week's -current. @ text @d1 1 a1 1 # $NetBSD: nsswitch.conf,v 1.5 1999/10/24 12:36:52 lukem Exp $ d12 1 a12 1 hosts: files dns @ 1.3 log @add missing colons (this is what happens when you cut & paste from a man page...) noticed by Dave Huang in [lib/6865] @ text @d1 1 a1 1 # $NetBSD: nsswitch.conf,v 1.2 1999/01/22 03:39:10 lukem Exp $ d6 3 a8 1 # these are the defaults in libc d17 13 @ 1.2 log @update to show current defaults @ text @d1 1 a1 1 # $NetBSD: nsswitch.conf,v 1.1 1999/01/16 14:25:47 lukem Exp $ d8 7 a14 7 group compat group_compat nis hosts dns files netgroup files [notfound=return] nis networks files passwd compat passwd_compat nis @ 1.1 log @install sample nsswitch.conf @ text @d1 1 a1 1 # $NetBSD$ d3 2 a4 1 # name service switch configuration file d6 9 a14 19 # lookup hosts in /etc/hosts then from the DNS hosts: files dns # uncomment to support `+/-' compat mode in /etc/passwd and /etc/group # defaults to `files' #passwd: compat #passwd_compat: nis #group: compat #group_compat: nis # lookup netgroups in /etc/netgroup.db netgroup: files # lookup networks in /etc/networks networks: files # lookup shells in /etc/shells shells: files @