erlug
[Top] [All Lists]

Re: [Erlug] Pdnsd

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] Pdnsd
From: Zen <zen@xxxxxxxxx>
Date: Tue, 5 Mar 2002 11:07:48 +0100
On Tue, Mar 05, 2002 at 06:25:25AM +0100, ddef wrote:
>         Il comando al più può essere
>         pdnsd-ctl status 

        E' satto. :)

>         Tuttavia continuo a non capire, perdonami. Perché se il 
>         servizio è attivo, come appare dal comando 
> 
> [root@calimero log]# service --status-all | grep pdnsd
> pdnsd (pid 676 675 673 661) in esecuzione...

        Detto anche
        ps auxw | grep pdns 

>         la sua cache è vuota? Questa non dovrebbe contenere le corrispondenze 
>         tra indirizzi simbolici e quelli numerici? 

        Si', a mano a mano che gli fai query, lui le forwarda e si salva
        in questo file il risultato.

> [root@calimero log]# ll /var/cache/pdnsd/*
> -rw-rw----    1 nobody   root     4 mar  4 19:57 /var/cache/pdnsd/pdnsd.cache
> srw-------    1 nobody   nobody   0 mar  4 13:56 /var/cache/pdnsd/pdnsd.status
        
        Maledetto... :)
        Se gli dici 
        pdnsd-ctl status
        cosa ti dice lui?

        A me dice:

root@inferno:~# pdnsd-ctl status
Opening socket /var/cache/pdnsd/pdnsd.status.

pdnsd-1.1.7 running on inferno.

Cache status:
=============
2048 kB maximum disk cache size.
1779677 of 2107392 bytes (84%) memory cache used in 7064 entries.

Configuration:
==============
Global:
-------
        Cache size: 2048 kB
        Server directory: /var/cache/pdnsd
        Scheme file (for Linux pcmcia support): /var/lib/pcmcia/scheme
        Server port: 53
        Server ip (0.0.0.0=any available one): 0.0.0.0
        Ignore cache when link is down: 0
        Maximum ttl: 604800
        Minimum ttl: 120
        Negative ttl: 900
        Negative RRS policy: auth
        Negative domain policy: auth
        Run as: pdnsd
        Strict run as: 1
        Paranoid mode (cache pollution prevention): 1
        Control socket permissions (mode): 600
        Maximum parallel queries served: 20
        Maximum queries queued for serving: 30
        Maximum parallel queries done: 2
        Randomize records in answer: 1
        Query port start: 0
        Query port end: 65535
Server 0:
------
        label: 
        ip: xx.xx.xx.xx 
        port: 53
        uptest: 3
        timeout: 120
        uptest interval: 900
        ping timeout: 600
        ping ip: 195.250.233.15
        interface: 
        device (for special Linux ppp device support): 
        uptest command: 
        uptest user: (process owner)
        force cache purging: 0
        server is cached: 1
        lean query: 1
        Use only proxy?: 0
        Default policy: included
        Policies:
                (none)
        server assumed available: 1
Succeeded

'ao!
-- 
'Why do you close your eyes?' 'So that the room will be empty.'
zen@xxxxxxxxx . Geek . And proud of it .
http://www.kill-9.it/jargon/html/entry/zen.html


<Prev in Thread] Current Thread [Next in Thread>