资源预览内容
第1页 / 共8页
第2页 / 共8页
第3页 / 共8页
第4页 / 共8页
第5页 / 共8页
第6页 / 共8页
第7页 / 共8页
第8页 / 共8页
亲,该文档总共8页全部预览完了,如果喜欢就下载吧!
资源描述
roooahos # u -yinstall dhcp* bin*rootlcalho srvice nmed restrttoclhos # nig naedonrotlocahost # serviedhpdrstrootlocalhost # hkcofig named onrotcalhs #im /tcnamed.1 ptions 1 isten-on por3 any; ; 12 lton-v6 por 53 ay; ; 13 directry v/amd;1 dum-file vara/atache_dump.; 15 tsts-ile /var/ameddta/ndsas.txt; 1 memsttisticsfilevanameddta/amed_mem_tats.txt; 1 alow-qury any; ; 18 reursio es; 19 20 dnsec-able s; 21 dnsec-valiaionyes; 22 dnse-ookaide ato; 2 24 * h o ISC DLV ey */ 2 bieys-fie/et/amed.icdl.key; 26 27 manage-kys-direory/vr/namedynamic;2;29 30 oggng 31 chanel defalt_debu 3 fieataname.run; 3 seveiy dynamic; 3 ;35; 3637 contros 38 ine 20.0.1 por 93 39 allow localhs; k rndce;; 0 ; 41 42 43 exg.cnI 44 type mster; 45 fl xg.c.one;4 llow-updae ke rndcky;47 ; 48 9 zone 1371681.in-addrarpa IN 0 tpe master; 5 file xg.c.rev; 52 allow-upd ky rnd-key; 53 ; 5 one .IN 5 typeint; 57 fle medca;58 ; 59 6 incde /etc/amed.r1912.oes; 61 incld et/nam.root.key; 62 includ /t/rdc.ky;rooloaot nsse-kyge -a hmcd5-b 512 - HOT dnskeyrotchost# cd/var/namedotclhost name# pname.oals xg.n.zoerootclosnamd cpname.ocalhost xg.cn.rvrlcahos name# vimv/namdxg.cn.zone$TTL 86400 NSOA root ( 1 ; seria 1D ; refres H ; rer 1W ;epe H ) ;minmu N dnsdns A 19.68.137.73rootlocalh nmed# im varnamed/.cn.reT8400 IN OA s root ( ; seil ; efrsh 1H ;ret 1W ; epire H ) ;minimum NS dns73 I PT dndn A 9168.773rooloclost name#cod +w /vr/nmed/x.cn.erootoclhost namd# hmo +w /vnamed/xg.n.zonerootloalhostnamed#cmd g+ va/naed/rootlocalot name# ee am resatStoppi namd: OK Startin name: O rotlalhost named# cp /usr/are/doc/cp-4.1.1dhcpdcnfsl /et/d/dcd.foloclhostnamed# vi t/dhcpdhcpd.cfoption omain-name x.n; 8 ptio omai-name-erve 192.18.13.73;9 10 efal-eaetme6000; 11malease-ie 64000; 213 dnspate-tle neim;1 ddndoainame xcn;ncl-updates; 6 ilde /ec/.ky;17 18 9 zone xg.c. 20 pimay 192683.7; 1 kyrndc-key; 2 23 4zon 137.168.19.in-adrrpa 5 prmary92.168.137.73;6 key ndey; 2 64 subnet 192168.37.0 neta 2552.55.0 6 range dnamicboo192813.60 12168137.20;6 ptin routr 19168.371; 6 option bradcs-addrss19.168137255; 6rootloclst n# chmodo+r etc/ndc.kerotlocalhost name# evice dhd resrt在xuego74上设立网卡dh动态获取ipBOTRTO=p重启网卡serice ewor estart测试nlookup xuegod.g.cnevr:192.168.1373dre:1.16.1.73#53Nae:xuegod7.xgnAds:19.18.13.165在ueod7上查看lsvrnad/chot namdempt x.cn.e xuegod.c.zonedta nam.loahost .ejl xgod.cn.zoe-cldynamc nad.loobck gcn.zone ueg.cn.zn-ntorknamd.ca saes g.n.zonjnl#xgcn.zn.jn为临时文献1分钟后同步给xg.nzoe文献其她客户端重启网络服务,查看hcpdleasesDCP分派信息,发现已有了set有关字段ta -n 1/ar/lib/dhcpd/cd.leasessrveduid 00100010501T0700014)31323;leas 19.168.13.6 tarts 1/06/22 5:5;ends 106/29 15:7:5;ct1 /06/2 15::5;inding stateaive;ext binding ste fre;hrwr ethere00:c:29:7:6d:a3;set ddnsrevnm= 1651716819.in
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号