Oracle Solaris Networking (MOSC)

MOSC Banner

Name service caching behaviour

edited Apr 7, 2011 5:17AM in Oracle Solaris Networking (MOSC) 6 commentsAnswered
Hi Guys,
  It appears that hosts names are always cached somewhere even if nscd is disabled. Here is a test case I ran:


           1.  on termial 1, disable nscd:
                # svcadm disable name-service-cache
                # svcs name-service-cache
                 STATE          STIME    FMRI
                disabled       15:18:55 svc:/system/name-service-cache:default


            2. on termial 2, run first sftp session:
            sbpsvrwm691% sftp gcsscinca@fts.jpmchase.com
            sbpsvrwm691% sftp> exit
            sbpsvrwm691%



            3. on termial 3, and 4, start snooping on all interfaces
            # snoop -o /tmp/snooper5 -d bge0
            # snoop -o /tmp/snooper6 -d bge1


            4. on termial 1, run second sftp session:
            sbpsvrwm691% sftp gcsscinca@fts.jpmchase.com
            sbpsvrwm691% sftp> exit
            sbpsvrwm691%


            5. stop snooping, and print the result:
            # sync;sync;sync

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center