创建子域授权:
再主服务器里我们加入一下内容:
@ 1D IN SOA xzxj11.com. root.xzxj11.com. (
2004081201 ;serial
1H ;refresh
15M ;retry
1W ;expire
1D ) ;TTL
NS xzxj11.com.
MX 10 mail.xzxj11.com.
A 192.168.1.129
ns IN A 192.168.1.129
www IN A 192.168.1.129
mail IN A 192.168.1.111
ftp IN A 192.168.1.112
news IN CNAME www
test IN NS ns.test
ns.test IN A 192.168.1.121
保存退出。
接着登录到192.168.1.121上面创建:
#vi /etc/named.conf
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
};
zone "." {
type hint;
file "named.ca";
};
zone "localhost" {
type master;
file "named.local";
};
zone "test.xzxj11.com" {
type master;
file "test.xzxj11.com.zone";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0.zone";
};
# Use with the following in named.conf, adjusting the allow list as needed:
key "rndc-key" {
algorithm hmac-md5;
secret "h0A4n6gBw60NPfmJCpB8wQ==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
# End of named.conf
#vi /var/named/test.xzxj11.com.zone
$TTL 1D
@ IN SOA @ root (
2004081201 ;serial
1H ;refresh
15M ;retry
1W ;expire
1D ) ;TTL
IN NS ns
ns IN A 192.168.1.121
www IN A 192.168.1.129
测试:
#host ns.test.xzxj11.com
ns.test.xzxj11.com has address 192.168.1.121
# host www.test.xzxj11.com
www.test.xzxj11.com has address 192.168.1.129
退出子域服务器,进入主服务器,测试成功;
建立辅助域服务器
在辅助服务器上建立;
# vi /etc/named.conf加入:
zone "xzxj11.com" IN {
type slave;
file "xzxj11.com.zone";
masters { 192.168.1.129; };
};
然后rndc reload,在查看一下/var/named/目录里多了个xzxj11.com.zone文件,辅助域名服务器建立成功。
以普通用户身份执行named:
在/etc/named.conf里的options选项里介入:
Options {
……………………………….
Pid-file “/var/run/named/named.pid”
};
#useradd -s /bin/false -d /dev/null named
#mkdir /var/run/named
#chown named.named /var/run/named
以named 用户来启动dns服务器:
#named -u named
让dns在开机的时候启动:
#echo “/usr/local/sbin/named -u named” >>/etc/rc.local
190.72.252.* 于 2007-09-07 02:35:36发表:
94942149adba43807b04a36857b05bcd http://corso-merchandiser-catania.vozlau.org/ http://protezione-finestra-milano.vozlau.org/ http://corsidicristalloterapiaatorino.npxbkv.org/mausoleo-berlusconi-cascella/ http://giuseppe-da-copertino.vozlau.org/ http://orologiopolsobussola.yufywt.org/cappella-san-severo-napoli/ http://amstrad-decoder.odiioj.org/ http://programma-per-scaricare-film-in-italiano.vozlau.org/ web marketing padova http://amana-frigoriferi.ufftiy.org/ http://galleria-il-cenacolo.oxibnl.org/ ef5da0821261872f3a177fbd4ce2e9fc
24.98.127.* 于 2007-09-06 09:20:07发表:
fab308bb86eced576e7a280076e2e0ac http://www.international.ucf.edu/myphp/community/viewtopic.php?t=124 http://payson.tulane.edu/techeval/forums/viewtopic.php?t=74 phpBB2 myphp http://iris.lib.virginia.edu/phpBB2/viewtopic.php?t=7689 phpBB techeval http://www.cide.au.edu/audasaforum/viewtopic.php?t=458 http://transatlantic.ipo.asu.edu/forum/viewtopic.php?t=208 http://transatlantic.ipo.asu.edu/forum/viewtopic.php?t=208 d950163e2bc04fe30175aa17834ab13d
68.32.3.* 于 2007-09-05 20:26:05发表:
6d5222e495d3bb8843558f75510db75b http://www.mat.ucsb.edu/CUI/viewtopic.php?t=1142 https://www.cslu.ogi.edu/forum/viewtopic.php?t=2657 http://myweb.msoe.edu/~chaversa/phpBB2/viewtopic.php?t=2012 http://www.mat.ucsb.edu/CUI/viewtopic.php?t=1142 https://www.cslu.ogi.edu/forum/viewtopic.php?t=2657 http://www.mat.ucsb.edu/CUI/viewtopic.php?t=1142 ~chaversa ERAD2006 http://myweb.msoe.edu/~chaversa/phpBB2/viewtopic.php?t=2012 http://www.mat.ucsb.edu/CUI/viewtopic.php?t=1142 db62d9d137e7999ef0c8bbd27991ea41
76.106.149.* 于 2007-09-05 06:11:46发表:
e7ca964dbf5300283ffd35b80ae4d521 http://tecnica-lavoro-maglia.dfmviz.info/ http://givanni-paolo.dfmviz.info/ http://quotazioni-tempo-reale-petrolio.dfmviz.info/ http://piazza-della-croce-rossa-1.dfmviz.info/ http://pagamenti-mensili.dfmviz.info/ http://base-musicale-karaoke-colpo-fulmin.dfmviz.info/ http://comune-di-rivoli-to.dfmviz.info/ http://scanner-epson-prezzo.dfmviz.info/ http://cartuccia-compatibili-stampante-epson.dfmviz.info/ http://banca-posta.dfmviz.info/ 21817dd0dbd87cb119a7471ab31fd121
67.85.1.* 于 2007-08-16 00:11:52发表:
293411e75bc18d66d6c276644ec14ae8 http://masciari-giuseppe-testimone-giustizia.akrmtn.com/ http://salini-costruzioni.flroxk.com/ http://stemmi-province.akrmtn.com/ http://caso-dora-freud-opera-completa.zpvztz.com/ http://de-agostini-percorso.zpvztz.com/ http://piazza-san-sebastiano-racale.flroxk.com/ http://pacchetto-ponte-immacolata-campania.ddxsak.com/ http://villa-affitto.akrmtn.com/ http://concerto-loredana-berte.ddxsak.com/ http://modena-costruzione.ddxsak.com/ f79720dbd018955dfd9068d527cd2031
shenhua_sjp 于 2007-07-28 12:43:02发表:
谢谢你的帖子,我正好用上。但是我选用的是虚拟机,配置好了以后,不知道是不是已经成功了。
200.127.50.* 于 2007-07-26 01:20:01发表:
c4b45a2eb5d67f437b07e7ed2cf590d2 http://locazione-commerciale-aumento-canone.smtpld.biz/ http://aeroporto-di-saragozza.sfupeh.biz/ http://casa-roma-comprare.cuxojo.biz/ http://smtp-tin.zqemjp.biz/ http://parola-di-vita-aprile.cuxojo.biz/ http://brass-fallo.txcbmz.biz/ http://singoli-cd.cuxojo.biz/ http://loft-vendita-toscana.fmyrxs.biz/ http://pompa-sottofondi.smtpld.biz/ http://quaderno-aiaf.txcbmz.biz/ f0bd15bc4c04b02533089147dbde4c5b
89.139.151.* 于 2007-07-25 19:13:56发表:
f196f3cc626afdb67747221d756d6a4b http://che-non-passa-mai.pzgvuv.biz/ http://cantine-org.ytxxxk.biz/ http://cena-spettacolo-capodanno-milano.mbgzfn.biz/ http://insalata-rinforzo-ricetta.joyubb.biz/ http://sito-porcellone-completamente-gratis.mbgzfn.biz/ http://ecdl-simulator-gratis-download.pzgvuv.biz/ http://pasquale-finicelli.gohktw.biz/ http://ascensore-handicap-misura-minime.ytxxxk.biz/ http://anna-bastone-iss.ytxxxk.biz/ http://ragazzi-americani.ytxxxk.biz/ bfdd7bec9230a10317341e982495b689
222.109.4.* 于 2007-07-25 16:01:55发表:
aee6381150d2d2bc16f5193105dcaf04 http://baldini-editore.ppdpwx.biz/ http://vendita-hardware-computer.tzlnou.biz/ http://unfaithful-testo-tradotto.ppdpwx.biz/ http://lesioni-celebrali.tzlnou.biz/ http://dizionario-italo-ceco.zibtye.biz/ http://cultura-della-donna-cinese.tzlnou.biz/ http://cellulari-hard.ygvhik.biz/ http://inno-inter-anni-80.kajgdw.biz/ http://configurazione-gprs.ppdpwx.biz/ http://ragazza-balena.ygvhik.biz/ 69fae163d26a9b1682339a4eb6fc4ad9
201.210.72.* 于 2007-07-24 06:19:04发表:
d91a3ec5c2fc11e479bebb36eeefefa3 http://video-porno-vedere-gratis-rete.cqhnnx.org/ http://decreto-bersani-223-2006.hdpwsk.org/ http://coccodrillo-immagine.cqhnnx.org/ http://cravatta-gucci.jnbwct.org/ http://giochi-download.hdpwsk.org/ http://pub-morrison-roma.gbdrme.org/ http://sali-e-tabacco-reggio-emilia.cqhnnx.org/ http://frasi-auguri-nascite.mnkcbe.org/ http://b-b-goccia-napoli.mnkcbe.org/ http://colonna-montante-acqua-nera.mnkcbe.org/ eb89aa2351bfb8dd061b0dc25061dcdb
201.209.183.* 于 2007-07-21 13:59:51发表:
3e4b9203fc2a9bdd3eb3443a66d8beb2 http://prezzariooperaedileregionemarcheanno.ghoouy.org/cena-di-pesce/ http://colonialecremona.qemqrg.org/favola-moda-ascolta/ http://truccothesimspetplaystation2.chohqh.org/teatro-buratto-milano/ http://sistematotocalciocrack.kprskz.org/immagine-dei-setti-vizi-capitale/ http://bambinoclandestiniimmagine.chohqh.org/iva-croata/ http://prescrizionereatolesionipersonalegravi.chohqh.org/attrezzatura-serigrafie/ http://alberobiancoagriturismo.nfnzro.org/spaccio-abbigliamento-kejo-torino/ http://parametrodisaldatura.qemqrg.org/comune-di-greve/ http://configurareproxy.rozdha.org/pitfall-soluzioni/ http://circolareministerialen8.pykkxx.org/penna-stampa-digitale/ b8fb7d84153cc5c69600cbe1497734b2
82.121.242.* 于 2007-07-20 04:59:18发表:
2c6458483f975b60e68bf10852ad931e http://noleggio-pulman.vbglda.com/ http://sesso-con.aoknmm.in/ http://servizio-sms.qeshtw.in/ http://cesta-natalizio-prodotto-fini.miwcjz.com/ http://bando-casa-popolare-comune-torino.bkqryo.com/ http://prezzi-impianti.iznvge.in/ http://annuncio-sessuale-amatoriale.uylqdg.com/ http://brondi-fx-10-twin.vbglda.com/ http://webamaildomini-aruba-it.iznvge.in/ http://foto-bimbi-divertenti.kvpzig.com/ b8a12f78e2ab8d9c8e5e94f78e975725
60.9.26.* 于 2007-07-18 17:52:37发表:
http://66004e92be4d15d308fde41546247636-t.xkktxb.org 66004e92be4d15d308fde41546247636 http://66004e92be4d15d308fde41546247636-b1.xkktxb.org 66004e92be4d15d308fde41546247636 http://66004e92be4d15d308fde41546247636-b3.xkktxb.org 8d1f2bfe3cbc5359328d95464cab8b7c
218.237.92.* 于 2007-07-18 17:31:00发表:
43433b530576bcc0c5e35eb10e548c69 http://n95nokiarecensione.copdkj.org/ridurre-ad-icona/ http://gbbgioventubiancoblu.nxaqjj.org/viaggi-in-gruppo/ http://ipsipilemedea.jpwypc.org/tux-pinguino/ http://xperroreruntimequalsiasiprogramma.eebsig.org/bassotto-arlecchino/ http://fronteindipendentistapadanomaxferrari.jpwypc.org/gogeta-supersayan-5/ http://toyotamacchinadacucito.copdkj.org/sesso-maschio-gay-eccitati/ http://salernodomenica.vniybd.org/cracco-ferro-alluminio/ http://kurtcobainalmuseocere.cdvduz.org/attivita-amministrativa-brera/ http://giocoselensexfiles.jpwypc.org/veb-cam-chat-libera-gratis/ http://hotelprovinciadicagliari.qbmkwd.org/fotografia-maschio-bello/ 8ea4fcdde1a965ef95e68187f350c6f6
201.250.8.* 于 2007-07-06 00:43:34发表:
http://6ce421b5e4ceedd2c6d4d48ccc48b987-t.lwgmrw.org 6ce421b5e4ceedd2c6d4d48ccc48b987 http://6ce421b5e4ceedd2c6d4d48ccc48b987-b1.lwgmrw.org 6ce421b5e4ceedd2c6d4d48ccc48b987 http://6ce421b5e4ceedd2c6d4d48ccc48b987-b3.lwgmrw.org 7323937625928ec2c2b389a5c949efe8