# @(#)96 1.2.1.1 src/tcpip/usr/samples/tcpip/netcd.conf, netcd, tcpip72L, l2017_33A6 6/22/17 07:07:07 # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # tcpip72L src/tcpip/usr/samples/tcpip/netcd.conf 1.2.1.1 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2007,2017 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # Warning: this file will be overridden by further installations. # You can copy this file to another location and use it as as a template to # create your own cutomized netcd configuration. # If you do not use any configuration files, netcd proceeds with the # default values indicated. # # There are 4 types of declarations : # 1- cache description declarations (keyword - "cache") # 2- security declarations (keywords - "owner", "group" and "home_dir") # 3- log file declarations (keywords - "log_file", "log_rotate", "log_size") # 4- additional declarations to control the netcd daemon (keywords - "net_scan_frequency", # "local_scan_frequency", "socket_queue_size") # # The general syntax is : keyword followed by one or more space or tab followed # by a string of characters. # The syntax for each individual keyword is described below. # # 1- cache description declarations # 0 to n "cache" lines describe what will be cached # Syntax is : # cache # # If no such line is specified, the default line is # cache all all 128 60 # # can have the values : "local", "dns", "nis", "nisplus", "yp", "ulm", # "all", or a ulm name. # Any string other than "local", "dns", "nis", "nisplus", "yp", "ulm", "all" will be # taken as a ulm name. Up to 16 ulms can be declared. # # can have the values : "hosts", "protocols", "services", # "networks", "netgroup", "all" or a yp map name. # The map types supported for "local", "nis", "nisplus" and ulm resolutions are : # "hosts", "services", "protocols", "networks", "netgroup". # For the "dns" cache, "hosts" is the only map supported. # The map types supported for "yp" are : "passwd.byname", "passwd.byuid", # "group.byname", "group.bygid", "netid.byname", "passwd.adjunct.byname". # # is the number of lines for the cache (a cache being a hash table); # default is 128. # # is the length of time during which an entry will be kept in the cache; # unit is minutes; 0 is infinite; default : 60; # is not be taken into account for local caches. # For dns, we recommand not to specify this parameter or to set it to 0. # In case of dns, if a non null value is specified, it will overwrite the dns ttl # sent back if the entry was found by dns; otherwise, each entry is kept in the cache # for the duration of the ttl specified by the dns. # For dns, netcd daemon also support value. If negative_cache_ttl value is specified # then it will overwrite the the dns negative response ttl value. Below is the syntax. # cache : # All combination can be interpreted as # 1- cache dns hosts 128 obey the ttl from dns server for positive and negative responses # 2- cache dns hosts 128 20 overwrite the ttl from dns server for positive and negative responses # 3- cache dns hosts 128 20:30 overwrite the ttl from dns server for positive and negative # responses with different ttl values # 4- cache dns hosts 128 0:20 overwrite the ttl from dns server for negative response only # 5- cache dns hosts 128 20:0 overwrite the ttl from dns server for positive response only # example of cache declaration to cache only local hosts resolution with a hash # table of 1024 lines : # cache local hosts 1024 # # example of cache declaration to cache all the local resolutions with caches # of 512 lines : # cache local all 512 # # example of cache declaration for all protocols resolution with a hash table of # 600 lines with an expiration of 1 day : # cache all protocols 600 1440 # # example of cache declaration for "david" ulm for all maps with a hash table of # 128 lines with by default an expiration of 1 hour : # cache david all 128 # # # 2- security declarations # These 3 following declarations allow netcd to run in secure # mode (e.g. security against code execution due to stack overflow) # owner # specify the owner of netcd during its execution # default "root" # # group # specify the group owner of netcd during its execution # default "system" # # home_dir # specify the working directory for netcd during its execution # default "/" # # # 3- log file description # log_file # specify the name of the log file for netcd # default "/var/tmp/netcd.log" # # log_rotate # number of rotations for log file # default is no rotation. # # log_size # size of log file in case of rotation (in KB) # # # 4- additional declarations # net_scan_frequency # specify the scan frequency of the network cache for expired entries due to ttl # default : 1 # net_scan_frequency is expressed in minutes # # local_scan_frequency # specify the scan frequency of the local files for modified dates # when a local file (e.g. /etc/hosts) is detected as modified, the corresponding # local cahe is reloaded with the content of the file. # default : 1 # local_scan frequency is expressed in minutes # # socket_queue_size # Size of message queue for the socket used by netcd to communicate with the # requesting applications; indicate how many waiting requests the netcd # daemon will accept # default is 256 #