cache DNS

George Daflidis-Kotsis gdk at demon.net
Mon Feb 19 11:46:01 EET 2001


On Sun, Feb 18, 2001 at 11:34:46PM +0000, Alex wrote:

> Exw thn entypwsh oti an den shkwnetai aytomata apo ta rc scripts o
> named, antistoixa den katebainei aytomata. Epeidh exw syndesh dialup ton
> shkwnw mono afou synde8w sto net, ara manually. Pantws opote exw
> ksexasei na kanw stop kai ginei reboot, meta exw thn entypwsh oti den
> exoun apo8hkeytei sthn cache ta sites pou episkefthka thn teleytaia
> fora. Kapoia lookups xreiazetai na ksanaginoun dhladh.

3exnas pws ean exeis Sys V init, opote oi diaforoi daemons 3ekinane apo
ta antistoixa SXXdaemon script, p.x. S96named gia ton named, uparxoun
(se ena swsta settarismeno susthma) kai ta antistoixa KXXdaemon scripts
ta opoia kanoun shutdown ta diafora daemons me to swsto tropo. Opote
sthn prokeimenh periptwsh 8a prepei to K96named script (leme twra) na
kanei kill -STOP `cat /var/run/named.pid` wste na swzei thn cache tou.

> Opws eipes kai sy 8a htan teleiws xazomara na ginetai mono sthn RAM to
> caching. Logika, apokleietai! As mas diafwtisei kapoios pio gnwsths, egw
> apla akolou8hsa to HOWTO kai twra ton blepw na douleyei...

Apo oti 8umamai, se palioterous named (den 3erw ean uposthrizetai kai stous
monternous, to man page den anaferei tetoio option) tous kleiname afou
kaname ena kill -SIGINT `cat /var/run/named.pid` opote kai to trexon
database kai h cache tou named swzotan sto /var/tmp/named_dump.db (auto
se caching only nameservers sunh8ws). Epeita uphrxe ena command line option
tou named opou tou eleges na fortwsei sth mnhmh to swsmeno database apo to
/var/tmp/named_dump.db.

Elpizw auta na boh9hsan kai na edwsan idees.

Filika.

-- 
-- George Daflidis-Kotsis -- Systems Administrator -- Demon Internet  --
--  Welcome to hell, here is your DoubleSpaced 386SX and Windows 98.  --



More information about the Linux-greek-users mailing list