Navigation
- = Hlavní strana
- Zobrazit všechny kategorie
- apache
- bash
- dns
- filesystemy
- gimp
- hardware / drivery

- mandriva
- mysql
- openoffice.org
- oscommerce
- PDA
- perl
- php
- qmail / sendmail / MTA
- samba
- shell
- šifrování / certifikáty
- ubuntu / debian

- virtualizace
- windows
- ostatní
- debian server - návody
- humor / screenshoty
- android
- = Rejstřík
0 users online :: 0 Guests and 0 Registered
Záznamů v této kategorii
- ubuntu - instalace serveru
- konfigurace raid 1
- instalace serveru (debian etch)
- instalace qmail (debian etch)
- setup daemontools, ucspi-tcp, tinydns, dnscache, axfrdns
- instalace scponly (debian etch)
- instalace courier-imap a squirrelmail
- apache2 a ssl (debian etch)
- bluetooth - parovani a pripojeni zarizeni
- Howto setup remote rsyslog with logging into directories by hostname
- configure VLAN in Debian
- Installing ejabberd on debian / ubuntu
- Virtualization With KVM On A Debian Lenny Server
- setup djbdns dnscache on debian squeeze
Tagy
debian server - návody
ID #1271
setup djbdns dnscache on debian squeeze
1) install squeeze packages
2) install lenny/sid djbdns package
Package: djbdns (1:1.05-8 and others)
eg:
3) create users/group
4) configure dnscache (example for local network)
check if is running
5) in /etc/dnscache/root/ip set which IP/networks should response - eg. for network 192.168.1.0/24:
restart dnscache:
6) set resolver to dnscache
apt-get install daemontools daemontools-run ucspi-tcp
2) install lenny/sid djbdns package
Package: djbdns (1:1.05-8 and others)
eg:
wget http://ftp.cz.debian.org/debian/pool/main/d/djbdns/djbdns_1.05-8_amd64.deb dpkg -i djbdns_1.05-8_amd64.deb
3) create users/group
/usr/sbin/groupadd -g 88 djbdns /usr/sbin/useradd -s /bin/false -d /dev/null -u 88 -g 88 dnsrun /usr/sbin/useradd -s /bin/false -d /dev/null -u 89 -g 88 dnslog
4) configure dnscache (example for local network)
dnscache-conf dnsrun dnslog /etc/dnscache 192.168.1.1 ln -s /etc/dnscache /etc/service
check if is running
ps -aux | grep dnscache
5) in /etc/dnscache/root/ip set which IP/networks should response - eg. for network 192.168.1.0/24:
cd /etc/dnscache/root/ip touch 192.168.1
restart dnscache:
svc -t /service/dnscache
6) set resolver to dnscache
echo "nameserver 192.168.1.1" > /etc/resolv.confand for dhcp server add line to its configuration file
option domain-name-servers 192.168.1.1;
Tagy: -
Související záznamy:
- VNC - vzdálená plocha + SSL
- instalace dnscache / qmail / imap - Mandriva 2006
- Option EDGE Combo (GPRS/Wi-fi PCMCIA)
- fake sendmail
- konfigurace raid 1
Aktualizováno: 2011-12-23 12:37
Autor: : Daniel Čáslavka
Verze: 1.1
Můžete přidat komentář k odpovědi