Salute a tutta la lista :-)
Gia' fanno vari mesi che sto usando pdnsd sul mio portatile con una
Lenny e ne sono entusiasta per come lavora nelle connessioni lente in
cui mi trovo. Lentamente sto cercando di adattarlo alle mie esigenze e
mi sono accorto che seppur abbia abilitato

> linkdown_kluge = on;

quando sono dentro in una lan-wifi comunque dopo un router, quando cade
la connessione dalla parte dell'isp (naturalmente tra il computer e il
router tutto ok) ha problemi e dando un semplice

$ dig www.google.com

questi non mi risolve il nome nonostante

> purge_cache = off;

Nel file /etc/pdnsd.conf
Probabilmente dal man di pdnsd mi sfugge qualcosa ma... :-)

Incollo quì il mio file /etc/pdnsd.conf che poco a poco ha cambiato
forma dall'originale installato da debian :)

> ~$ cat /etc/pdnsd.conf
> /* Debian specific configuration to work with resolvconf */
> 
> global {
>     perm_cache = 2048;
>     cache_dir = "/var/cache/pdnsd";
>     run_as = "pdnsd";
>     server_ip = 127.0.0.1;  // Use eth0 here if you want to allow other
>                             // machines on your network to query pdnsd.
>     status_ctl = on;
>     paranoid = on;
>     min_ttl = 15m;          // Retain cached entries at least 15 minutes.
>     max_ttl = 1w;           // One week.
>     timeout = 10;           // Global timeout option (10 seconds).
>     linkdown_kluge = on;
>     randomize_recs = on;
> }
> 
> server {
>     label = "resolvconf";
>     proxy_only = on;
>     lean_query = on;
> }
> 
> # The servers provided by OpenDNS are fast, but they do not reply with
> # NXDOMAIN for non-existant domains, instead they supply you with an
> # address of one of their search engines. They also lie about the addresses 
> of 
> # of the search engines of google, microsoft and yahoo.
> # If you do not like this behaviour the "reject" option may be useful.
> server {
>       label = "opendns";
>       ip = 208.67.222.222, 208.67.220.220;
>       reject = 208.69.32.0/24,  # You may need to add additional address 
> ranges
>                208.69.34.0/24,  # here if the addresses of their search 
> engines
>                208.67.219.0/24; # change.
>       reject_policy = fail;     # If you do not provide any alternative server
>                                 # sections, like the following root-server
>                                 # example, "negate" may be more appropriate 
> here.
>       timeout = 5;
>       uptest = ping;            # Test availability using ICMP echo requests.
>         ping_timeout = 100;       # ping test will time out after 10 seconds.
>       interval = 15m;           # Test every 15 minutes.
>       preset = off;
> }
> 
> server {
>       label = "root-servers";
>       root_server=on;
>       randomize_servers= on;
>       ip =    41.220.162.2    #umbeluzi.tdm.mz
>       ,       41.220.162.1    #buzi.tdm.mz.
>       ,       196.3.96.69     #oceano.uem.mz
>       ,       196.28.224.2
>       ,       196.28.224.1    #zambeze.tdm.mz.
>       ,       196.28.224.21   #incomiati.tdm.mz
>       ,       193.220.24.4    #vodamail.co.mz
>       ,       193.220.24.5    #paintara per vodamail
>       ,       193.220.24.6    #paintara per vodamail
>       ,       196.3.96.66     #dzowo.uem.mz
> //    ,       208.67.222.222
> //    ,       208.67.220.220
>       ,       10.201.47.16    #
> //    ,       192.33.4.12
> //    ,       128.8.10.90
> //    ,       192.203.230.10
> //    ,       192.5.5.241
> //    ,       192.112.36.4
> //    ,       128.63.2.53
> //    ,       192.36.148.17
> //    ,       192.58.128.30
> //    ,       193.0.14.129
> //    ,       198.32.64.12
> //    ,       202.12.27.33
>       ;
>       timeout = 15;
>       uptest = query;
>       interval = 30m;      // Test every half hour.
>       ping_timeout = 300;  // 30 seconds.
>       purge_cache = off;
>       exclude = .localdomain;
>       policy = included;
>       preset = off;
> }
> 
> 
> source {
>     owner = localhost;
>     file = "/etc/hosts";
> }
> 
> rr {
>     name = localhost;
>     reverse = on;
>     a = 127.0.0.1;
>     owner = localhost;
>     soa = localhost,root.localhost,42,86400,900,86400,86400;
> }
> 
> /* vim:set ft=c: */

Grazie 
Ciao Genki ):o))


-- 
Per REVOCARE l'iscrizione alla lista, inviare un email a 
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Rispondere a