3. "Пример использования кэширующего DNS сервера pdnsd (dns cach..."
Сообщение от Анониум on 30-Окт-08, 15:22
$ pdnsd-ctl empty-cache
empty-cache [[+|-]name ...] Delete all entries in the cache matching include/exclude rules. If no arguments are provided, the cache is completely emptied, freeing all existing entries. This also removes "local" records, as defined by the config file. To restore local records, run "pdnsd-ctl config" immediately afterwards. If one or more arguments are provided, these are interpreted as include/exclude names. If an argument starts with a '+' the name is to be included. If an argument starts with a '-' it is to be excluded. If an argument does not begin with '+' or '-', a '+' is assumed. If the domain name of a cache entry ends in one of the names in the list, the first match will determine what happens. If the matching name is to be included, the cache entry is deleted, otherwise it remains. If there are no matches, the default action is not to delete.