erlug
[Top] [All Lists]

Re: [Erlug] Pdnsd

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] Pdnsd
From: Zen <zen@xxxxxxxxx>
Date: Sat, 2 Mar 2002 12:23:16 +0100
On Sat, Mar 02, 2002 at 06:06:30AM +0100, ddef wrote:
> Eccoti il mio /etc/pdnsd, copiato pari pari da /etc/pdnsd.sample e 
>       interval=30;
>       uptest=ping;
>       ping_timeout=50;

        Come per altri servizi, io nel mio pdnsd.conf ho eliminato la
        parte di ping per la verifica del server, perche' molti host
        sono filtrati all' icmp echo request.
        Magari puoi verificare se veramente riesci a pingare i due host
        che usi come dns.

> E' inutile infine che ti aggiunga che il file 
> /var/cache/pdnsd/pdnsd.cache
> appare miseramente vuoto.

        Il tuo pdnsd lo fai girare come utente nobody.
        Questo utente ha i diritti di scrittura sul file della cache?

        Da me gira come pdnsd, (Debian 3.0)
        
dns:~# ps auxw  | grep pdnsd
pdnsd      214  0.0  2.7 24956 1708 ?        S    Feb26   0:00 /usr/sbin/pdnsd 
--daemon -p /var/run/pdnsd.pid
pdnsd     1571  0.0  2.7 24956 1708 ?        S    12:18   0:00 /usr/sbin/pdnsd 
--daemon -p /var/run/pdnsd.pid
[etc]
        
        E ho la cache in /var/run
drwxr-xr-x    2 pdnsd    proxy          62 Jan 13 22:22 pdnsd

dns:/var/cache/pdnsd# ls -l
total 128
-rw-r--r--    1 pdnsd    proxy      126983 Feb  5 21:44 pdnsd.cache

        Magari e' una banale questione di diritti sui file/dir.

ciao!
-- 
'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>