**Mam uplne zaciatocnicku otazku ako spravit flushdns v freebsd, okrem restartu?

windows: ipconfig /flushdns
mac: dscacheutil -flushcache
niektore linuxy:  /etc/rc.d/init.d/nscd restart
niektore linuxy:  /usr/local/etc/rc.d/init.d/nscd restart
niektore linuxy:  /etc/init.d/dns-clean start
niektore linuxy:  /usr/sbin/nscd restart

v starsich verziach FreeBSD funguje aj toto
/etc/init.d/nscd stop
/etc/init.d/nscd start


ale co teraz, ked msdc poskytuje iba toto?
man nscd
  The nscd utility recognizes the following runtime options:

     -n      Do not daemonize; nscd will not fork or disconnect itself from
             the terminal.

     -s      Single-threaded mode.  Forces using only one thread for all pro-
             cessing purposes (it overrides the threads parameter in the
             nscd.conf(5) file).

     -t      Trace mode.  All trace messages will be written to stdout.  This
             mode is usually used with -n and -s flags are used for debugging
             purposes.

     -i cachename
             Invalidates personal cache.  When specified, nscd acts as the
             administration tool.  It asks the already running nscd to invali-
             date the specified part of the cache of the calling user.  For
             example, sometimes you may want to invalidate your ``hosts''
             cache.  You can specify ``all'' as the cachename to invalidate
             your personal cache as a whole.  You cannot use this option for
             the cachename for which the perform-actual-lookups option is
             enabled.

     -I cachename
             Invalidates the cache for every user.  When specified, nscd acts
             as the administration tool.  It asks the already running nscd to
             invalidate the specified part of the cache for every user.  You
             can specify ``all'' as the cachename to invalidate the whole
             cache.  Only the root can use this option.

Jozef

--
FreeBSD mailing list ([email protected])
http://www.freebsd.cz/listserv/listinfo/users-l

Odpovedet emailem