DNS me DHCP i Debian 8 "Jessie" - SMB Whatunga

Taupū whanui o te raupapa: Tuihono Rorohiko mo nga SME: Whakataki

Kia ora e hoa !. I muri i nga tuhinga e rua o mua i runga i te Pūnaha Ingoa Domain me te Haerenga Whakarato Whirihoranga Whakaoho Maama whakaputaina i roto i te «DNS me DHCP i openSUSE 13.2 'Harlequin'"me"DNS me DHCP kei CentOS 7«, E rua mai i te raupapa Whatunga SME, me whirihora e maatau aua ratonga ki a Debian.

Ka kii ano maatau he tiimata timatanga pai ki te ako mo nga kaupapa ariā o DNS me DHCP ko Wikipedia.

Taurangi

Te whakauru i te punaha whakahaere

Ka tiimata mai i te whakaurunga taketake o te kaituku me te punaha whakahaere a Debian 8 "Jessie" me te kore e whakauru i tetahi taiao whakairoiro me tetahi atu papatono. Ko te miihini mariko me te 512 megabytes RAM me te kopae maara 20 gigabyte he nui ake

I te wa e whakauru ana - he pai ake i te mahinga tuhinga - me te whai i nga ota o nga mata, i tohua e maatau nga waahanga e whai ake nei:

  • Reo: Paniora - Paniora
  • Whenua, rohe, rohe ranei: U.S
  • Mahere matua hei whakamahi: Amerikana Ingarihi
  • Whirihorahia a ringa e te whatunga:
    • Wāhitau IP: 192.168.10.5
    • Netmask: 255.255.255.0
    • Kaha: 192.168.10.1
    • Wāhitau Kaitohu Nama: 127.0.0.1
    • Ingoa miihini: dns
    • Ingoa rohe: desdelinux.fan
  • Kupuhipa Kaiwhakamahi Super: SuClave (katahi ka tono kia whakatuturutia)
  • Ingoa Katoa mo te kaiwhakamahi hou: Debian Tuatahi OS Buzz
  • Ingoa Kaiwhakamahi mo te kaute: haruru
  • Tiwhiria he kupu huna ma te kaiwhakamahi hou: SuClave (katahi ka tono kia whakatuturutia)
  • Tīpakohia to rohe wa: Rawhiti
  • Tikanga wehewehe: Arataki - whakamahia te katoa o te kopae
    • Kōwhiria te kōpae ki te wehenga: Kōpae Mariko 1 (vda) - 21.5 GB Virto Poraka Pūrere
    • Kaupapa Wehewehenga: Ko nga konae katoa i te waahanga kotahi (e taunaki ana mo nga tamariki hou).
    • Whakamutua te wehewehe me te tuhi huringa ki te kōpae
    • Kei te hiahia tuhi koe i nga panoni ki nga kopae?
  • Kei te hiahia koe ki te wetewete i tetahi atu CD, DVD ranei?:
  • Kei te hiahia whakamahi i te tauira od?:
  • Kei te hiahia koe ki te tango i te rangahau whakamahinga o te kohinga?:
  • Whiriwhiria nga papatono hei whakauru:
    [] Te taiao papamahi a Debian
    [*] Nga taputapu punaha paerewa
  • Kei te hiahia koe ki te whakauru i te utanga putu GRUB ki te rekoata whawhai matua?
    • / dev / vda
  • "Kua oti te whakauru":

Ki taku whakaaro iti, he ngawari te whakauru Debian. Me whakautu noa nga paatai ​​o nga whiringa kua tautuhia me etahi atu korero. Ka maia ahau ki te kii he ngawari ake te whai i nga mahi o mua atu i te riipene ataata, hei tauira. Ka panui au kaore au e ngaro i te kukume. Ko tetahi atu kaupapa ko te maataki, panui, whakamaori, me te whakahoki mai i te riipene ataata, ka ngaro ana au kaare ranei e marama ana ki etahi tikanga nui. Ko te pepa tuhi-a-ringa, ko te konae tuhinga kuputuhi ranei kua kape ki te waea pukoro, ka mahi hei aratohu pai.

Tautuhinga tuatahi

Ka mutu ana te taunga taketake me te whakaara tuatahi, ka kii taatau ki te Whakakitenga o nga Papatono.

A, no te whakatika i te konae sources.list, ka korero korero maatau mo nga urunga katoa kei te taunoa na te mea ka mahi noa matou me nga putunga rohe. Ko nga korero whakamutunga o te konae -ka tapiri atu ki nga raina korero- ko te:

pakiaka @ dns: ~ # nano /etc/apt/source.list
deb http://192.168.10.1/repos/jessie/debian/ jessie main contrib deb http://192.168.10.1/repos/jessie/debian-security/ jessie / whakahou i te waahanga matua

Ka whakahouhia e maatau te punaha

pakiaka @ dns: ~ # whakahoutanga matatau
pakiaka @ dns: ~ # whakahoutanga mohio
pakiaka @ dns: ~ # whakaara ano

Ka whakauruhia e matou te SSH kia uru mamao atu

pakiaka @ dns: ~ # aptitude tāuta ssh

Hei tuku i te kaiwhakamahi ki te tiimata i tana waahanga mamao ma te SSH pakiaka -Mai te Enterprise LAN anake- ka whakarereke matou i tana konae whirihoranga:

pakiaka @ dns: ~ # nano / etc / ssh / sshd_config
.... Whakaaetanga Whakaaetanga Whakauru ae ....

pakiaka @ dns: ~ # systemctl restart ssh.service
pakiaka @ dns: ~ # systemctl status ssh.service

Ka tiimata taatau waahanga mamao ma te SSH ki nga «dns» mai i te miihini «sysadmin»:

buzz @ sysadmin: ~ $ rm .ssh / mohiotia_hosts buzz @ sysadmin: ~ $ ssh root@192.168.10.5 ... root@192.168.10.5 kupuhipa: ... pakiaka @ dns: ~ #

Kōnae whirihoranga matua

Ko nga konae matua o te whirihoranga punaha ka rite ki a maatau waahanga i te wa e whakauru ana:

pakiaka @ dns: ~ # ngeru / etc / ope
127.0.0.1 localhost 192.168.10.5 dns.desdelinux.fan dns # Ko nga raina e whai ake nei he mea pai mo nga rangatira IPv6 e taea ana :: 1 localhost ip6-localhost ip6-loopback ff02 :: 1 ip6-allnodes ff02 :: 2 ip6-allrouters

pakiaka @ dns: ~ # ngeru /etc/resolv.conf 
rapuhia mai i linux.fan nameserver 127.0.0.1

pakiaka @ dns: ~ # ingoa rangatira
DNS

pakiaka @ dns: ~ # ingoa rangatira -f
dns.fromlinux.fan

pakiaka @ dns: ~ # ngeru / etc / whatunga / atanga
# Ma tenei konae e whakaahua nga hononga whatunga e waatea ana ki to punaha # me pehea te whakahohe. Mo etahi atu korero, tirohia nga atanga (5). pūtake /etc/network/interfaces.d/* # Ko te hononga whatunga loopback auto lo iface lo inet loopback # Ko te hononga whatunga tuatahi ka tuku-hotplug eth0 iface eth0 inet static address 192.168.10.5 netmask 255.255.255.0 whatunga 192.168.10.0 haapurorohia 192.168.10.255. 192.168.10.1 tomokanga 127.0.0.1 # dns- * ko nga whiringa ka whakatinanahia e te kohinga whakataunga, mena ka whakauruhia nga ingoa-ingoa-ingoa XNUMX dns-rapu mai i linux.fan

Ka whakauruhia e maatau nga kohinga wheako nui

pakiaka @ dns: ~ # aptitude tāuta htop mc deborphan

Te horoi i nga kohinga kua oti te tango, mena ka kitea

root @ dns: ~ # aptitude install -f root @ dns: ~ # aptitude purge ~ c root @ dns: ~ # aptitude root pakiaka @ dns: ~ # aptitude autoclean

Ka whakauruhia e maatau te BIND9

  • Tuhinga o mua tino tūtohu mātou tirohia te whaarangi Nga momo rekoata DNS i runga i Wikipedia, e rua i roto i ona waahanga Paniora me Ingarangi. Ko enei momo rehita ko ta maatau e whakamahi ai i te whirihoranga o nga konae Rohe, he Tika me te Whakahoki. He tino maatauranga ki te mohio he aha taatau e mahi nei.
  • Ano whakaaro matou panuihia nga korero e whai ake nei Tonoa mo nga korero RFC - Nga tono mo nga korero, e hono tata ana ki te mahi hauora o te ratonga DNS, ina koa mo te Whakahoki ki nga Root Rovers:
    • RFC 1912, 5735, 6303, me BCP 32: e pa ana ki localhost
    • Nga RFC 1912, 6303: Rohe kāhua mo te wāhitau IPv6 localhost
    • Nga RFC 1912, 5735 me 6303: Te hononga ki te Whatunga a Rohe - «Tenei» Whatunga
    • Nga RFC 1918, 5735 me 6303: Whatunga Whakamahi Tūmataiti
    • RFC 6598: Mokowā Wāhi Tiritahi
    • Nga RFC 3927, 5735 me 6303: Hononga-rohe / APIPA
    • Nga RFC 5735 me 5736: Nga mahi kawa a te Hangarau Hangarau Hangarau Ipurangi
    • Nga RFC 5735, 5737 me 6303: TEST-NET- [1-3] mo te Tuhinga
    • RFC 3849 me 6303: IPv6 Tauira Tauira mo te Tuhinga
    • BCP 32: Ingoa Rohe mo te Tuhinga me te Whakamatau
    • Nga RFC 2544 me 5735: Whakamatau Paetahi Waitohu
    • RFC 5735: IANA Rahui - Akomanga E E Mokowhiti
    • RFC 4291: IPv6 Nga Wāhitau Kore Whakatika
    • Nga RFC 4193 me 6303: IPv6 ULA
    • RFC 4291 me 6303: Hononga IPv6 Paetata
    • RFC 3879 me 6303: IPv6 Kua Whakahakahia nga Wāhitau Pae-Rohe
    • RFC 4159: Kua tangohia te IP6.INT

Tāutanga

pakiaka @ dns: ~ # maatauranga rapu bind9
p bind9 - Kaiwhakahaere Ingoa Rohe Ipurangi p bind9-doc - Tuhinga mo te BIND i bind9-host - Putanga o te 'host' me te BIND 9.X p bind9utils - Nga taputapu mo te BIND p gforge-dns-bind9 - taputapu whanaketanga mahi tahi - Whakahaeretanga DNS (te whakamahi i te Bind9) i He libbind9-90 - Whare Pukapuka Tiritahi BIND9 e whakamahia ana e te Paihere

Whakamātauria hoki te oma rapunga maarama ~ dbind9

pakiaka @ dns: ~ # aptitude install bind9

pakiaka @ dns: ~ # systemctl whakaoho ano i te bind9.service

pakiaka @ dns: ~ # systemctl status bind9.service
● bind9.service - BIND Ingoa Tūmau Ingoa Utaina: utaina (/lib/systemd/system/bind9.service; whakahohea) Whakataka-Mai: /run/systemd/generator/bind9.service.d └─50-insserv.conf- $ ingoa.conf
   Tino: kaha (rere) mai i te Paraire 2017-02-03 10:33:11 EST; 1s ago Tuhinga: tangata: whakaingoa (8) Tukanga: 1460 ExecStop = / usr / sbin / rndc mutu (waehere = putaatu, tuunga = 0 / MANUITU) PID Matua: 1465 (ingoa) CGroup: /system.slice/bind9.service └─1465 / usr / sbin / ingoa -f -u bind Feb 03 10:33:11 dns te ingoa [1465]: rohe kau kore: 8.BD0.1.0.0.2.IP6.ARPA Feb 03 10:33:11 dns whakaingoatia [1465]: whakahau i te hongere whakahau i te 127.0.0.1 # 953 Peb 03 10:33:11 dns te ingoa [1465]: whakahau i te hongere whakahau i runga i te: 1 # 953 Pepuere 03 10:33:11 dns te ingoa [1465]: whakahaerehia -keys-rohe: utaina rangatū 2 Feb 03 10:33:11 dns ingoa [1465]: rohe 0.in-addr.arpa/IN: utaina rangatū 1 Feb 03 10:33:11 dns te ingoa [1465]: rohe localhost / IN: utaina rangatū Pepuere 2 03 10:33:11 dns ingoa [1465]: rohe 127.in-addr.arpa/IN: utaina rangatū Feb 1 03 10:33:11 dns te ingoa [1465]: rohe 255.in -addr.arpa/IN: utaina rangatū 1 Feb 03 10:33:11 ingoa ko te ingoa [1465]: ko nga rohe katoa i utaina Feb 03 10:33:11 dns te ingoa [1465]: running Hint: Ko etahi raina i whakakakahu, whakamahia -l ki te whakaatu katoa.

Ko nga konae whakauru kua whakauruhia e te BIND9

He rereke ke atu i te whirihoranga ratonga DNS i CentOS me te openSUSE, i Debian ko nga konae e whai ake nei ka hangaia i te raarangi. / etc / herea:

pakiaka @ dns: ~ # ls -l / etc / here /
tapeke 52 -rw-r - r-- 1 pakiaka pakiaka 2389 Jun 30 2015 bind.keys -rw-r - r-- 1 pakiaka pakiaka 237 Jun 30 2015 db.0 -rw-r - r-- 1 pakiaka pakiaka 271 Jun 30 2015 db.127 -rw-r - r-- 1 pakiaka pakiaka 237 Jun 30 2015 db.255 -rw-r - r-- 1 pakiaka pakiaka 353 Jun 30 2015 db.empty -rw- r - r-- 1 pakiaka pakiaka 270 Jun 30 2015 db.local -rw-r - r-- 1 pakiaka pakiaka 3048 Jun 30 2015 db.root -rw-r - r-- 1 pakiaka here 463 Jun 30 2015 te ingoa.conf -rw-r - r-- 1 pakiaka here 490 Jun 30 2015 ingoa.conf.default-rohe -Rw-r - r-- 1 pakiaka here 165 Jun 30 2015 i tapaina.conf.local -rw -r - r-- 1 pakiaka here 890 Pepuere 3 10:32 ingoa.conf.options -rw-r ----- 1 herea herea 77 Peb 3 10:32 rndc.key -rw-r - r - 1 pakiaka pakiaka 1317 Jun 30 2015 rohe.rfc1918

Katoa nga konae i runga ake nei kei roto i te tuhinga noa. Mena e hiahia ana tatou ki te mohio ki nga tikanga me nga kiko o ia, ka taea e taatau te whakamahi i nga whakahau iti o ngeru, he mahinga pai tenei.

Tuhinga e whai ake nei

I roto i te pukapuka korero / usr / tohatoha / tuhinga / bind9 ka whai tatou:

pakiaka @ dns: ~ # ls -l / usr / share / doc / bind9
katoa 56 -rw-r - r-- 1 pakiaka pakiaka 5927 Jun 30 2015 manatārua -rw-r - r-- 1 pakiaka pakiaka 19428 30 Jun 2015 1 changelog.Debian.gz -rw-r - r-- 11790 pakiaka pakiaka 27 Hanuere 2014 1 FAQ.gz -rw-r - r-- 396 pakiaka pakiaka 30 Jun 2015 1 NEWS.Debian.gz -rw-r - r-- 3362 pakiaka pakiaka 30 Jun 2015 1 README.Debian. gz -rw-r - r-- 5840 pakiaka pakiaka 27 Hānuere 2014 XNUMX README.gz

I roto i nga tuhinga o mua ka kitea nga Rauemi Akoranga E Rahi ana ka tūtohu kia panuihia I MUA i te whirihora i te MAI, a, i mua ano i te rapu i te Ipurangi mo nga tuhinga e pa ana ki te BIND me te DNS i te nuinga.. Ka panuihia e maatau nga korero o etahi o aua konae:

FAQs o Ftika AI turaki Qnga korero mo te BIND 9

  1. Nga Paatai ​​Whakataato me te Whakauru - Nga paatai ​​mo te Whakakotahitanga me te Whakauru
  2. Nga Patai Whirihoranga me te Whakatau - Nga paatai ​​mo te whirihoranga me te rangi
  3. Nga Patai Mahi - Nga paatai ​​mo te Mahi
  4. Nga Utai Nui - Nga uiui whanui
  5. Pātai Whakapaipai-Pūnaha Mahi - Nga Patai Motuhake mo ia punaha Whakahaerenga
    1. HPUX
    2. Linux
    3. Windows
    4. FreeBSD
    5. Mahuatea
    6. Apple Mac OS X

PANUI.Bebian.gz

PANUI.Bebian i te whakarapopototanga e kii mai ana ki a maatau ko nga taapiri tuku-uiui-keteroki y tukua-recursion kua whakahohea ma te taunoa mo nga ACL kua whakauruhia ki te TAI -hanga-i roto- 'kupenga paetata'me te'localhost'. Kei te whakamohio mai hoki ki a maatau ko nga huringa taunoa i mahia kia kore ai e ataahua nga kaiwhakarato keteroki ki te whakaekenga a Te Poihau mai i nga whatunga o waho.

Hei tirotiro i nga mea kua tuhia ki te whiti o mua, mena mai i te miihini i te whatunga ake 192.168.10.0 / 24 koinei tetahi o ta maatau tauira, ka tono maatau i te DNS mai i te linux.net, a i te wa ano kei runga i te kaitoha. dns.fromlinux.fan mahia e matou hiku -f / var / log / syslog ka whiwhi maatau i enei:

buzz @ sysadmin: ~ $ keria te localhost
.... ;; WHAKAPONO TUPONO :; EDNS: putanga: 0, haki:; udp: 4096 ;; WĀHANGA PĀTAI :; localhost. IN A ;; WĀHANGA PANUI: localhost. 604800 IN A 127.0.0.1 ;; WĀHANGA AUTHORITY: localhost. 604800 IN NS rohe-a-rohe. ;; WĀHANGA TAPU: localhost. 604800 IN AAAA :: 1

buzz @ sysadmin: ~ $ keria mai i linux.net
....
;; WHAKAPONO TUPONO :; EDNS: putanga: 0, haki:; udp: 4096 ;; WĀHANGA PĀTAI :; desdelinux.net. IN A
....
pakiaka @ dns: ~ # tail -f / var / log / syslog ....
Feb 4 13:04:31 dns te ingoa [1602]: hapa (whatunga kaore e tae atu) whakatau ana 'desdelinux.net/A/IN': 2001: 7fd :: 1 # 53 Feb 4 13:04:31 dns te ingoa [1602]: hapa (whatunga kaore e taea) te whakatau i te 'desdelinux.net/A/IN': 2001: 503: c27 :: 2:30 53
....

Tuhinga o mua syslog he roa ake na te rapu i nga kaituku pakiaka na te PAI. Ae ra ko te konae /etc/resolv.conf i roto i te tira sysadmin.fromlinux.fan tohu ki DNS 192.168.10.5.

Mai i te whakaritenga o nga whakahau o mua ka taea e taatau te whakatau he priori:

  • Ko te BIND kua whirihorahia a he Waea Keteroki mahi kaore e hiahiatia he whirihoranga whai muri, ka whakautu i nga paatai ​​DNS mo nga kupenga paetata me te localhost
  • Huringa - Whakataunga kua whakahohea mo kupenga paetata me te localhost
  • Kaore ano he kaiwhakarato Mana
  • Kaore i rite ki a CentOS, i reira me kii taatau ki te paearu «Whakarongo-i te tauranga 53 {127.0.0.1; 192.168.10.5; }; » marama ki te whakarongo ki nga tono DNS i runga i te hononga whatunga 192.168.10.5 DNS ano, i Debian kaore e hiahiatia na te mea e tautoko ana i nga tono DNS mo kupenga paetata me te localhost taunoa Arotakehia nga korero o te konae /etc/bind/named.conf.options a ka kite ratou kaore kau he korero whakarongo-mai.
  • IPv4 me IPv6 patai kua whakahohea

Mena ma te panui me te whakamaarama - he tiini e kiia ana e taatau ki Cuba- te koputu PANUI.Bebian.gz Kua tau ke ta maatau whakatau kia mohio ai maatau mo te Whakaaetanga Whakamaaetanga Taaata o te Roopu Debian mo te TAI, he aha atu nga ahuatanga whakamere ka taea e taatau mai i te panui tonu i nga konae o te Tuhinga Whakauru?.

README.Debian.gz

README.Debian whakamohio mai ki a maatau - i roto i etahi atu waahanga- ko nga Toronga Haumaru mo te Punaha Ingoa Rohe - Toronga Haumaru Ingoa Rohe Ingoa o DNSSEC, kua whakahohea; me te whakapumau kei te pai te whirihoranga taunoa mo te nuinga o nga kaiwhakarato (kaituku rau - kaituku rau e pa ana ki nga rau o te rakau rohe) kaore he take mo te whakauru a te kaiwhakamahi.

  • DNSSEC e ai ki Wikipedia: Ko nga Roopu Ingoa Rohe Ingoa Rohe (DNSSEC) he huinga whakaritenga mo te Ipurangi Mahi Tinana Hangarau (IETF) hei pupuri i etahi momo korero kua hoatuhia e te ingoa rohe ingoa ingoa (DNS) e whakamahia ana i roto i te Kawa Ipurangi (IP). He kohinga toronga ki te DNS e whakarato ana ki nga kaihoko DNS (ko nga kaitautoko ranei) te whakatuturutanga o te puna raraunga DNS, te whakakahoretanga o te noho me te pono o nga raraunga, engari kaore i te waatea, te muna ranei.

Mō te Kaupapa Whirihoranga e kii ana ki a maatau ko nga konae Whakahoahoa Tuturu katoa, ko nga konae Rohe mo nga Root Root, me nga Roera Whakamua me nga Rohe Whakamuri o te localhost kei roto ratou / etc / herea.

Te Whaiaronga Mahi rewera ingoa es / var / keteroki / herea kia waiho ai he konae waihanga na te ingoa penei i nga papaunga korero e mahi ana ia hei pononga Tuuturu, ka tuhia ki te Punaha Kōnae / var, no reira ratou.

Kaore i rite ki nga putanga o mua o te putea BIND mo Debian, te konae ingoa.conf me te db. * kua tohaina, kua tapaina ko nga konae whirihoranga. I tetahi ahuatanga mena ka hiahia maatau ki tetahi Tūmau DNS e mahi ana hei Kaihoko Keteroki kaore i te Mana mo tetahi atu, ka taea e taatau te whakamahi i te mea kua whakauruhia, kua whirihorahia e te taunoa.

Mena ka hiahia koe ki te whakamahi i tetahi DNS Whakamana, ka kii ratou ki te waiho i nga konae Rohe Matua ki taua raarangi / etc / herea. Mena te matatini o nga waahanga e pa ana te ingoa Ka whai mana te Kaitohutohu, ko te taunakitanga kia hanga i tetahi angaanga whakararo, e pa ana ki nga konae rohe kei te konae ingoa.conf.

Tetahi Rohe Rohe mo te ingoa mahi hei Tūmau pononga me tu ki roto / var / keteroki / herea.

Ko nga konae Rohe e pa ana ki nga Whakahoutanga Hoko e te DHCP te whakahau ranei whakahōu, me penapena i roto / var / lib / here.

Mena ka whakamahia e te punaha whakahaere kaiwhakamahara, ka mahi noa te tohu kua whakauruhia me nga tautuhinga BIND taunoa. Nga panoni ka whai ake i te whirihoranga o te ingoa Akene he hiahia kia whakarerekehia te ahua o te kaiwhakaweto. Manuhiri https://wiki.ubuntu.com/DebuggingApparmor i mua i te whakakii i tetahi puka whakapae a bug i roto i taua ratonga.

He maha nga take e pa ana ki te whakahaere i te Debian BIND i roto i te Chroot Cage - whare herehere chroot. Tirohia http://www.tldp.org/HOWTO/Chroot-BIND-HOWTO.html mo etahi atu korero.

Ko etahi atu korero

tangata ingoa, tangata ingoa. conf, tangata ingoa-haki, tangata ingoa-tohu-rohe, tangata rndc, me era atu

pakiaka @ dns: ~ # ingoa -v
BIND 9.9.5-9 + deb8u1-Debian (Putanga Tautoko Toronga)

pakiaka @ dns: ~ # ingoa -V
BIND 9.9.5-9 + deb8u1-Debian (Putanga Tautoko Toronga) hanga e te hanga ki te '--prefix = / usr "--mandir = / usr / share / man" \' --infodir = / usr / share / info "--sysconfdir = / etc / bind '\' - -localstatedir = / var "--enable-threads" --enable-largefile '\' --with-libtool "--enable-shared" --enable-static '\' / usr "--with-gssapi = / usr" --with-gnu-ld '\' --with-geoip = / usr "--with-atf = no" --enable-ipv9 " --enable-rrl '\' --enable-filter-aaaa '\' CFLAGS = -fno-tino-whakakapi -fno-muku-kore-tohu-tohu -DDIG_SIGCHASE -O8 'i whakauruhia e te GCC 50 ma te whakamahi i te putanga OpenSSL : OpenSSL 6k 2 Hanuere 4.9.2 e whakamahi ana i te momo libxml1.0.1: 8

pakiaka @ dns: ~ # ps -e | grep ingoa
  408? 00:00:00 ingoa

pakiaka @ dns: ~ # ps -e | herehere grep
  339? 00:00:00 rpcbind

pakiaka @ dns: ~ # ps -e | grep herehere9
pakiaka @ dns: ~ #

pakiaka @ dns: ~ # ls / var / run / whakaingoa /
whakaingoa.pid session.key  
pakiaka @ dns: ~ # ls -l /var/run/named/named.pid 
-rw-r - r-- 1 here herea 4 Pepuere 4 13:20 / toa / tuku / tapaina / ingoa.pid

pakiaka @ dns: ~ # rndc mana
putanga: 9.9.5-9 + deb8u1-Debian I kitea nga CPU: 9 nga aho kaimahi: 8 nga kaiwhakarongo UDP mo ia atanga: 50 te maha o nga rohe: 1 taumata whakaheke: 1 xfers e rere ana: 1 xfers i tukuna: 100 soa uiui kei te haere tonu: 0 te waitohu patai kei te KORE nga kaihoko hou: 0/0/0 tcp kaitono: Kei te mahi tonu te kaituku 0/0
  • Kaore e taea te whakakore i te hiranga o te korero ki nga Tuhinga kua whakauruhia me te putea BIND9 Tuhinga o mua.

bind9-tuhinga

pakiaka @ dns: ~ # maramatanga ki te whakauru i nga hononga hononga9-tuhinga2
pakiaka @ dns: ~ # dpkg -L bind9-doc

Paepae bind9-tuhinga whakauru, i roto i etahi atu korero whaihua, te BIND 9. Tohutoro Tohutoro Kaiwhakahaere. Hei whakauru ki te pukapuka-i te reo Ingarihi- ka mahia e matou:

pakiaka @ dns: ~ # hononga2 konae: ///usr/share/doc/bind9-doc/arm/Bv9ARM.html
BIND 9 Kaiwhakahaere Tohutoro Pukapuka Manatārua (c) 2004-2013 Internet Systems Consortium, Inc. ("ISC") Mana pupuri (c) 2000-2003 Whakaaetanga Rorohiko Ipurangi.

Ko te tumanako ka pai ki a koe te panui.

  • Ma te kore e wehe i te kaainga, kei i a maatau nga Tuhinga Tuwhikete Rawa mo te Paihere me te ratonga DNS i te nuinga.

Ka whirihorahia e maatau te BIND i te momo Debian

/etc/bind/named.conf "te tumuaki"

pakiaka @ dns: ~ # nano /etc/bind/named.conf
// Koinei te konae whirihoranga tuatahi mo te BIND DNS server kua whakaingoatia.
//
// Tena koa panuihia /usr/share/doc/bind9/README.Debian.gz mo nga korero mo te
// hanganga o nga konae whirihora BIND i Debian, * I MUA * e whakarite ana koe
// tenei konae whirihoranga.
//
// Mena kei te whakauru koe i nga rohe, tena koa mahi i te /etc/bind/named.conf.local

whakauruhia "/etc/bind/named.conf.options";
whakauruhia "/etc/bind/named.conf.local";
whakauruhia "/etc/bind/named.conf.default-zones";

Me whakamaori te upoko korero?

/etc/bind/named.conf.options

pakiaka @ dns: ~ # cp /etc/bind/named.conf.options /etc/bind/named.conf.options.original

pakiaka @ dns: ~ # nano /etc/bind/named.conf.options
kōwhiringa {whaiaronga "/ var / cache / bind"; // Mena he papangaahi kei waenga i a koe me nga kaitohu ingoa e hiahia ana koe // ki te korero, me whakatika pea e koe te pātūahi kia taea ai e te maha / nga tauranga te korero. Tirohia http://www.kb.cert.org/vuls/id/800113 // Mena kua tohaina e to ISP tetahi neke atu ranei o nga wahitau IP mo nga kaituku // ingoa ingoa, ka hiahia pea koe ki te whakamahi hei kaikawe. // Whakakorea te poraka e whai ake nei, ka whakauruhia nga wahitau hei whakakapi i te // -whainga-katoa // forwarders {// 0; //}; // =________________________________________________________ =================) $ // Mena ka takahia e nga BIND he hapa he korero mo te matua pakiaka kua pau, // me whakahou i o ki. Tirohia https://www.isc.org/bind-keys // =________________________________________ =________________________________________ $

    // Kaore matou e hiahia ki te DNSSEC
        dnssec-whakahohea kore;
        //auto auto-validation;

        kaituhi-nxdomain no; # kia tau ki te RFC1035

 // Kaore e hiahiatia te whakarongo mo nga wahitau IPv6
        // whakarongo-i-v6 {tetahi; };
    whakarongo-i-v6 {kore; };

 // Mo nga arowhai mai i te localhost me te sysadmin
    // through dig desdelinux.fan axfr // Kaore o maatau pononga DNS ... tae noa ki tenei wa
 tukua-whakawhiti {localhost; 192.168.10.1; };
};

pakiaka @ dns: ~ # ingoa-haki 
pakiaka @ dns: ~ #

/etc/bind/named.conf.local

I te pane o tenei konae, e taunaki ana kia whakauruhia nga Rohe kua tohua ki te RFC-1918 whakaahuahia i roto i te konae /etc/bind/zones.rfc1918. Ko te whakaurunga o enei rohe kei te takiwa te rohe kei te kii nga uiui e pa ana ki a raatau kaore e waiho te whatunga rohe ki nga kaitoha pakiaka, e rua nga tino painga

  • He whakataunga tere ake mo nga kaiwhakamahi o te rohe
  • Kaore e hangaia he mea huakore - he tinihanga ranei - ki nga kaitoha pakiaka.

Ko au nei kaore au i te hononga Ipurangi hei whakamatautau i te Recursion, i te Whakamua ranei. Heoi, a i te mea kaore i whakamanahia e maua te hokinga mai ki te konae.conf.options file -na te tikanga kaua e hoki; - ka taea e taatau te whakauru i nga waahanga kua whakahuatia ake me etahi atu ka whakamarama au i raro.

A, no te whakauru i te BIND 9.9.7 i runga i te Punaha Whakahaere FreeBSD 10.0, he -a he aitua ano- Rorohiko Koreutu, te konae whirihoranga /usr/local/etc/namedb/named.conf.sample Kei roto katoa nga waahanga rohe e taunaki ana kia mahi ki te rohe kia whiwhi ai hoki i nga painga e kiia ake nei.

Kia kore ai e whakarereke i te whirihoranga BIND taketake i Debian, ka kii matou kia hanga i te konae /etc/bind/zones.rfcFreeBSD ka whakauru atu ki roto i te /etc/bind/named.conf.local me nga korero i raro ake nei, me nga huarahi - huarahi ki nga konae kua taunga ki a Debian:

pakiaka @ dns: ~ # nano /etc/bind/zones.rfcFreeBSD
// Mokowā Wāhi Tiritahi (RFC 6598)
zone "64.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "65.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "66.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "67.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "68.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "69.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "70.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "71.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "72.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "73.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "74.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "75.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "76.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "77.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "78.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "79.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "80.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "81.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "82.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "83.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "84.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "85.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "86.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "87.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "88.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "89.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "90.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "91.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "92.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "93.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "94.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "95.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "96.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "97.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "98.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "99.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "100.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "101.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "102.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "103.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "104.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "105.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "106.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "107.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "108.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "109.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "110.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "111.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "112.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "113.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "114.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "115.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "116.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "117.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "118.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "119.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "120.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "121.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "122.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "123.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "124.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "125.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "126.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };
zone "127.100.in-addr.arpa" { type master; file "/etc/bind/db.empty"; };

// Hononga-rohe / APIPA (RFC 3927, 5735 me 6303)
rohe "254.169.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// Nga tohu kawa IETF (RFC 5735 me 5736)
rohe "0.0.192.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// TEST-NET- [1-3] mo te Tuhinga (RFC 5735, 5737 me 6303)
rohe "2.0.192.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "100.51.198.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "113.0.203.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// IPv6 Tauira Tauira mo te Tuhinga (RFC 3849 me 6303)
rohe "8.bd0.1.0.0.2.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// Nga Ingoa Rohe mo te Tuhinga me te Whakamatau (BCP 32)
rohe "whakamātautau" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "tauira" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "muhu" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "example.com" {momo momo; konae "/etc/bind/db.empty"; }; rohe "example.net" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "example.org" {momo momo; konae "/etc/bind/db.empty"; };

// Whakamatau Tohu Waitohu Paerewa (RFC 2544 me 5735)
rohe "18.198.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "19.198.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// IANA Rahui - Waahi Akomanga E Tawhito (RFC 5735)
rohe "240.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "241.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "242.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "243.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "244.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "245.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "246.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "247.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "248.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "249.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "250.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "251.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "252.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "253.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "254.in-addr.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// IPv6 Wāhitau Kore Waitohungia (RFC 4291)
rohe "1.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "3.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "4.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "5.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "6.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "7.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "8.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "9.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "a.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "b.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "c.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "d.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "e.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "0.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "1.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "2.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "3.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "4.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "5.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "6.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "7.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "8.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "9.f.ip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "afip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "bfip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "0.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "1.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "2.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "3.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "4.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "5.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "6.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "7.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// IPv6 ULA (RFC 4193 me 6303)
rohe "CFip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "dfip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// IPv6 Hononga Paetata (RFC 4291 me 6303)
rohe "8.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "9.efip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "aefip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "befip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// IPv6 Nga Wāhitau Paetata-Paetata Whakakorea (RFC 3879 me 6303)
rohe "cefip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "defip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "eefip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; }; rohe "fefip6.arpa" {momo rangatira; konae "/etc/bind/db.empty"; };

// IP6.INT kua Tangohia (RFC 4159)
rohe "ip6.int" {momo rangatira; konae "/etc/bind/db.empty"; };

Ahakoa kua whakakorehia e maatau te whakarongo ki nga tono IPv6 i roto i ta maatau tauira, he mea tika kia whakauruhia nga rohe IPv6 ki te konae o mua mo te hunga e hiahia ana.

Tuhinga o mua /etc/bind/named.conf.local es:

pakiaka @ dns: ~ # nano /etc/bind/named.conf.local
// // Mahia he whirihoranga rohe i konei // // Whakaarohia te taapiri i nga rohe 1918 i konei, mena kaore e whakamahia i roto i to // whakahaere
whakauruhia "/etc/bind/zones.rfc1918"; whakauruhia "/etc/bind/zones.rfcFreeBSD";

// Whakapuakanga o te ingoa, momo, waahi, me te whakaaetanga whakahou
// o nga Rohe Rekoata DNS // Ko nga Rohe e rua he MURI
rohe "desdelinux.fan" {
 momo rangatira;
 konae "/var/lib/bind/db.desdelinux.fan";
};

rohe "10.168.192.in-addr.arpa" {
 momo rangatira;
 konae "/var/lib/bind/db.10.168.192.in-addr.arpa";
};

pakiaka @ dns: ~ # whakaingoa-tirohia he pakiaka @ dns: ~ #

Ka hangaia e matou nga konae mo ia Rohe

Ko nga korero o nga konae kei ia takiwa ka taea te kape pono mai i te tuhinga «DNS me DHCP kei CentOS 7«, I te wa e tupato ana tatou ki te whakarereke i te raarangi tohu ki / var / lib / here:

[root @ dns ~] # nano /var/lib/bind/db.fromlinux.fan
$ TTL 3H @ IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. (1; 1D rangatū; tāmata 1H; ngana anō 1W; pau te 3H); iti rawa ranei; Te wa tirotiro kino kino hei oranga; @ IN NS dns.fromlinux.fan. @ IN MX 10 mēra.fromlinux.fan. @ IN TXT "FromLinux, to Blog i whakatapua ki te Raupaparorohiko Koreutu"; sysadmin IN A 192.168.10.1 ad-dc IN A 192.168.10.3 fileserver IN A 192.168.10.4 dns IN A 192.168.10.5 proxyweb IN A 192.168.10.6 blog IN A 192.168.10.7 ftpserver IN A 192.168.10.8 mail IN A 192.168.10.9

[root @ dns ~] # nano /var/lib/bind/db.10.168.192.in-addr.arpa
$ TTL 3H @ IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. (1; 1D rangatū; tāmata 1H; ngana anō 1W; pau te 3H); iti rawa ranei; Te wa tirotiro kino kino hei oranga; @ IN NS dns.fromlinux.fan. ; 1 IN PTR sysadmin.fromlinux.fan. 3 IN PTR ad-dc.fromlinux.fan. 4 IN PTR fileserver.fromlinux.fan. 5 IN PTR dns.fromlinux.fan. 6 IN PTR takawaenga.desdelinux.fan. 7 IN PTR blog.desdelinux.fan. 8 IN PTR ftpserver.fromlinux.fan. 9 IN PTR mail.fromlinux.fan.

Ka tirohia e matou te taarua o ia rohe

pakiaka @ dns: ~ # ingoa-checkzone mai i linux.fan / var / lib / bind / db. mai i linux.fan 
rohe mai i linux.fan/IN: kua utaina he rangatū 1 OK

pakiaka @ dns: ~ # whaka-ingoa-tirotiro 10.168.192.in-addr.arpa /var/lib/bind/db.10.168.192.in-addr.arpa 
rohe 10.168.192.in-addr.arpa/IN: utaina rangatū 1 OK

Te tirotiro i nga tautuhinga BIND katoa

pakiaka @ dns: ~ # ingoa-haki -zp
  • Whai i nga tikanga mo te whakarereke i te ingoa.conf E ai ki o maatau hiahia me te tirotiro, me te hanga i ia konae rohe ka tirotiro, ka ruarua matou ka pa atu ki nga raru whirihoranga nui. I te mutunga ka mohio taatau he taakaro taane ia, he maha nga kaupapa me te wetewete. 😉

Na nga haki i whakahoki nga hua pai, na reira ka taea e taatau te whakaara i te TAI - ingoa.

Ka tiimata ano e maatau te BIND ka tirotiro i tona ahuatanga

[root @ dns ~] # systemctl whakaoho ano i te bind9.service
[root @ dns ~] # statusctl mana bind9.service
● bind9.service - BIND Kaiwhakahaere Ingoa Roopu Utaina: utaina (/lib/systemd/system/bind9.service; whakahohea) Whakataka-In: /run/systemd/generator/bind9.service.d └─50-insserv.conf- $ names.conf Hohe: hohe (rere) mai i te Ra 2017-02-05 07:45:03 EST; 5s ago Tuhinga: tangata: whakaingoa (8) Tukanga: 1345 ExecStop = / usr / sbin / rndc mutu (waehere = putaatu, mana = 0 / MANUITU) Matua PID: 1350 (ingoa) CGroup: /system.slice/bind9.service └─1350 / usr / sbin / ingoa -f -u bind Feb 05 07:45:03 dns te ingoa [1350]: rohe 1.f.ip6.arpa/IN: utaina rangatū 1 Pepu 05 07:45:03 dns te ingoa [1350]: rohe afip6.arpa/IN: utaina rangatū 1 Pepu 05 07:45:03 dns te ingoa [1350]: rohe localhost / IN: utaina rangatū 2 Feb 05 07:45:03 dns te ingoa [1350]: rohe whakamatautau / IN: utaina rangatū 1 Pepu 05 07:45:03 dns ingoa [1350]: rohe tauira / IN: utaina rangatū 1 Feb 05 07:45:03 dns ingoa [1350]: rohe 5.efip6.arpa/IN: utaina rangatū 1 Feb 05 07:45:03 dns ingoa [1350]: rohe bfip6.arpa/IN: utaina rangatū 1 Feb 05 07:45:03 dns ingoa [1350]: rohe ip6.int/IN: utaina rangatū 1 Feb 05 07:45:03 dns te ingoa [1350]: ko nga rohe katoa i utaina te Poutu-te-rangi 05 07:45:03

Mena ka kitea he hapa i te putanga o te whakahau whakamutunga, me tiimata ano e tatou te whakaingoa.service ka tirotiro ano i to tūnga. Mena kua ngaro nga hapa, ka pai te tiimata o te ratonga. Ki te kore, me arotake marie e tatou nga konae katoa i whakarereke me nga konae i hanga, me whakahoki ano te tikanga

Arowhai

Ka taea te whakahaere i nga arowhai i runga i te tuuranga kotahi i runga ranei i te miihini hono ki te LAN. He pai ake ta maatau ki te mahi ma te kapa sysadmin.fromlinux.fan i tukuna e maatau he whakaaetanga ki te whakawhiti Whakawhiti Rohe. Ko te konae /etc/resolv.conf o taua roopu e whai ake nei:

buzz @ sysadmin: ~ $ ngeru /etc/resolv.conf 
# Hangaia e te RapuManager rapunga mai i linux.fan nameserver 192.168.10.5

buzz @ sysadmin: ~ $ keria mai i te linux.fan axfr
; << >> DiG 9.9.5-9 + deb8u1-Debian << >> mai i linux.fan axfr ;; whiringa ao: + cmd mai i linux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 1 86400 3600 604800 10800 mai i linux.fan. 10800 IN NS dns.fromlinux.fan. Tuhinga ka whai mai. 10800 IN MX 10 mēra.fromlinux.fan. Tuhinga ka whai mai. 10800 IN TXT "Mai i Linux, to Blog i whakatapua ki te Raupaparorohiko Koreutu" ad-dc.desdelinux.fan. 10800 IN A 192.168.10.3 blog.desdelinux.fan. 10800 IN A 192.168.10.7 dns.fromlinux.fan. 10800 IN A 192.168.10.5 fileserver.fromlinux.fan. 10800 IN A 192.168.10.4 ftpserver.fromlinux.fan. 10800 IN A 192.168.10.8 mail.fromlinux.fan. 10800 IN A 192.168.10.9 proxyweb.fromlinux.fan. 10800 IN A 192.168.10.6 sysadmin.fromlinux.fan. 10800 IN Ki te 192.168.10.1 mai i linux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 1 86400 3600 604800 10800 ;; Te waa Uiui: 1 msec ;; SERVER: 192.168.10.5 # 53 (192.168.10.5) ;; WHENUA: Ra Pepuere 05 07:49:01 EST 2017
;; Rahi XFR: 13 rekoata (nga karere 1, paita 385)

buzz @ sysadmin: ~ $ keri 10.168.192.in-addr.arpa axfr
; << >> DiG 9.9.5-9 + deb8u1-Debian << >> 10.168.192.in-addr.arpa axfr ;; nga whiringa o te ao: + cmd 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 1 86400 3600 604800 10800 10.168.192.in-addr.arpa. 10800 IN NS dns.fromlinux.fan. 1.10.168.192.in-addr.arpa. 10800 IN PTR sysadmin.fromlinux.fan. 3.10.168.192.in-addr.arpa. 10800 IN PTR ad-dc.fromlinux.fan. 4.10.168.192.in-addr.arpa. 10800 IN PTR fileserver.fromlinux.fan. 5.10.168.192.in-addr.arpa. 10800 IN PTR dns.fromlinux.fan. 6.10.168.192.in-addr.arpa. 10800 IN PTR takawaenga.fromlinux.fan. 7.10.168.192.in-addr.arpa. 10800 IN PTR blog.desdelinux.fan. 8.10.168.192.in-addr.arpa. 10800 IN PTR ftpserver.fromlinux.fan. 9.10.168.192.in-addr.arpa. 10800 IN PTR mail.fromlinux.fan. 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 1 86400 3600 604800 10800 ;; Te waa Uiui: 1 msec ;; SERVER: 192.168.10.5 # 53 (192.168.10.5) ;; WHENUA: Ra Pepuere 05 07:49:47 EST 2017
;; Rahi XFR: 11 rekoata (nga karere 1, paita 333)

buzz @ sysadmin: ~ $ keria IN SOA mai i linux.fan
buzz @ sysadmin: ~ $ keri IN MX mai i linux.fan buzz @ sysadmin: ~ $ keria IN TXT mai i linux.fan

buzz @ sysadmin: ~ $ kaiwhakahaere takawaenga
proxyweb.desdelinux.fan he wahitau 192.168.10.6

buzz @ sysadmin: ~ $ host ftpserver
ftpserver.desdelinux.fan he wahitau 192.168.10.8

buzz @ sysadmin: ~ $ manaaki 192.168.10.9
9.10.168.192.in-addr.arpa ingoa ingoa tohu atarangi.fromlinux.fan.

… Me etahi atu arowhai e hiahiatia ana e maatau.

Ka whakauruhia e maatau, ka whirihora hoki i te DHCP

I runga i a Debian, ko te ratonga DHCP e tukuna ana e te putea isc-dhcp-tūmau:

pakiaka @ dns: ~ # maatauranga rapu isc-dhcp
he isc-dhcp-client - kaihoko DHCP mo te tiki aunoa i tetahi wahitau IP p isc-dhcp-client-dbg - ISC DHCP server mo te mahi IP wāhitau aunoa (patuiro kaihoko) he isc-dhcp-noa ahau - he konae noa e whakamahia ana e te katoa Pōkai isc-dhcp p isc-dhcp-dbg - Tūmau ISC DHCP mō te mahi wāhitau IP aunoa (tohu whakakēhono p isc-dhcp-dev - API mo te urunga me te whakarereke i te tūmau DHCP me te kaute kaitono p isc-dhcp-relay - relaki ISC DHCP daemon p isc-dhcp-relay-dbg - Tūmau ISC DHCP mo te mahi IP wāhitau (debug debug) p isc-dhcp-server - ISC DHCP tūmau mō te mahi IP wāhitau aunoa p isc-dhcp-server-dbg - Tūmau ISC DHCP mō mahi IP wāhitau aunoa (whakaheke i te tūmau) p isc-dhcp-server-ldap - Tūmau DHCP e whakamahi ana i te LDAP hei tuara

pakiaka @ dns: ~ # maramatanga ki te whakauru i te isc-dhcp-server

I muri i te whakauru o te putea, te -omnipresent- pūnaha e amuamu ana kaore i taea te tiimata te ratonga. I Debian, me tino whakaatu e taatau te hononga o te whatunga ka riihitia e ia nga wahitau IP ka whakautu ki nga tono, te isc-dhcp-tūmau:

pakiaka @ dns: ~ # nano / etc / taunoa / isc-dhcp-kaituku
.... # I runga i nga aha nga waahanga ka tukuna e te kaitoha DHCP (dhcpd) nga tono DHCP? # Wehea nga atanga maha ki nga waahi, hei tauira, "eth0 eth1".
INTERFACES = "eth0"

Tuhinga kua whakauruhia

pakiaka @ dns: ~ # ls -l / usr / share / doc / isc-dhcp-server /
katoa 44 -w-r - r-- 1 pakiaka pakiaka 1235 Dec 14 2014 manatārua -rw-r - r-- 1 pakiaka pakiaka 26031 Pepuere 13 2015 changelog.Debian.gz drwxr-xr-x 2 pakiaka pakiaka 4096 Pepuere 5 08 : 10 tauira -rw-r - r-- 1 pakiaka pakiaka 592 Tihema 14 2014 PANUI.Bebian.gz -rw-r - r-- 1 pakiaka pakiaka 1099 Dec 14 2014 README.Debian

Kī TSIG "dhcp-kī"

E taunakihia ana te whakatipuranga o te matua TSIG o Waitohu Whakawhitinga - Twhakaoranga SIGāhua, mo te motuhēhē o ngā whakahōu DNS hihiri e DHCP. I kite matou i roto i te tuhinga o mua «DNS me DHCP kei CentOS 7«, Ki ta maatau ko te whakatipuranga o taua ki ehara i te mea nui, ina koa ka whakauruhia nga ratonga e rua ki te kaitoha kotahi. Heoi, ka whakaekea e maatau te tikanga whanui mo tana whakatipuranga aunoa:

pakiaka @ dns: ~ # dnssec-keygen -a HMAC-MD5 -b 128 -r / dev / urandom -n Kaiwhakamahi dhcp-kī
Kdhcp-matua. + 157 + 11088

pakiaka @ dns: ~ # ngeru Kdhcp-matua. +157 + 11088.piri 
Whakahau-matua-whakatakotoranga: v1.3 Huarotanga: 157 (HMAC_MD5) Kī: TEqfcx2FUMYBQ1hA1ZGelA == Pae: AAA = Hangaia: 20170205121618 Whakaputa: 20170205121618 Whakahohe: 20170205121618

pakiaka @ dns: ~ # nano dhcp.key
kī matua dhcp-kī {
        hātepe hātepe hmac-md5;
        muna "TEqfcx2FUMYBQ1hA1ZGelA ==";
};

pakiaka @ dns: ~ # whakauru -o pakiaka -g herea -m 0640 dhcp.key /etc/bind/dhcp.key root @ dns: ~ # whakauru -o pakiaka -g pakiaka -m 0640 dhcp.key / etc / dhcp /dhcp.key root @ dns: ~ # ls -l /etc/bind/*.key
-rw-r ----- 1 pakiaka here 78 Feb 5 08:21 /etc/bind/dhcp.key -rw-r ----- 1 here here 77 Feb 4 11:47 / etc / bind / rndc .key
pakiaka @ dns: ~ # ls -l /etc/dhcp/dhcp.key 
-rw-r ----- 1 pakiaka pakiaka 78 Feb 5 08:21 /etc/dhcp/dhcp.key

Kei te whakahou i nga Rohenga Paiherea ma te whakamahi i te taviri dhcp-matua

pakiaka @ dns: ~ # nano /etc/bind/named.conf.local
// // Mahia he whirihoranga rohe i konei // // Whakaarohia te taapiri i nga rohe o te 1918 ki konei, ki te kore e whakamahia i roto i to // whakahaere whakauru "/etc/bind/zones.rfc1918"; whakauruhia "/etc/bind/zones.rfcFreeBSD"; whakauruhia "/etc/bind/dhcp.key"; // Whakapuakanga o te ingoa, momo, waahi, me te whakaaetanga whakahou // o nga Rohe Puka DNS DNS // Ko nga Rohe e rua he MASTER rohe "desdelinux.fan" {momo rangatira; konae "/var/lib/bind/db.desdelinux.fan";
 tukua-whakahou {key dhcp-key; };
}; rohe "10.168.192.in-addr.arpa" {momo rangatira; konae "/var/lib/bind/db.10.168.192.in-addr.arpa";
 tukua-whakahou {key dhcp-key; };
};
pakiaka @ dns: ~ # ingoa-haki 
pakiaka @ dns: ~ #

Ka whakatauhia e maatau te isc-dhcp-server

pakiaka @ dns: ~ # mv /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.original
pakiaka @ dns: ~ # nano /etc/dhcp/dhcpd.conf
ddns-whakahou-kāhua taupua; ddns-whakahoutanga i runga i; ddns-domainname "desdelinux.fan."; ddns-rev-domainname "in-addr.arpa."; waihohia nga whakahoutanga-a-kaihoko; mana; kōwhiringa ip-whakamua atu; kōwhiringa ingoa-ingoa "desdelinux.fan"; whakauruhia "/etc/dhcp/dhcp.key"; rohe mai i linux.fan. {tuatahi 127.0.0.1; kī dhcp-kī matua; } rohe 10.168.192.in-addr.arpa. {tuatahi 127.0.0.1; kī dhcp-kī matua; } tohatoha-whatunga hononga {subnet 192.168.10.0 netmask 255.255.255.0 {pouara whiringa 192.168.10.1; kōwhiringa subnet-mask 255.255.255.0; kōwhiringa haapurororaa-wahitau 192.168.10.255; kōwhiringa rohe-ingoa-kaitoha 192.168.10.5; kōwhiringa netbios-ingoa-kaitoha 192.168.10.5; awhe 192.168.10.30 192.168.10.250; }} # MURI dhcpd.conf

Ka tirohia e matou te konae dhcpd.conf

pakiaka @ dns: ~ # dhcpd -t
Kaituku Ratonga Ipurangi Kaituku DHCP Tūmau 4.3.1 Manatu Tika 2004-2014 Kaituku Ratonga Ipurangi. Pūmau te mana. Mo nga korero, tirohia koa https://www.isc.org/software/dhcp/ Whirihora i te konae: /etc/dhcp/dhcpd.conf Pepa Rauemi: /var/lib/dhcp/dhcpd.leases PID file: / var / run /dhcpd.pid

Ka tiimata ano e maatau te BIND ka tiimata te isc-dhcp-server

pakiaka @ dns: ~ # systemctl whakaoho ano i te bind9.service 
pakiaka @ dns: ~ # systemctl status bind9.service 

pakiaka @ dns: ~ # systemctl tiimata te isc-dhcp-server.service
pakiaka @ dns: ~ # systemctl mana isc-dhcp-server.service 
● isc-dhcp-server.service - LSB: Kaiwhakarato DHCP Utaina: utaina (/etc/init.d/isc-dhcp-server) Hohe: hohe (rere) mai i te Ra 2017-02-05 08:41:45 EST; 6s ago Tukanga: 2039 ExecStop = / etc / init.d / isc-dhcp-server mutu (waehere = puta, mana = 0 / MANUITU) Tukanga: 2049 ExecStart = / etc / init.d / isc-dhcp-server start ( waehere = puta, mana = 0 / MANUITANGA) CGroup: /system.slice/isc-dhcp-server.service └─2057 / usr / sbin / dhcpd -q -cf /etc/dhcp/dhcpd.conf -pf / var / run / dhcpd.pid eth0 Pepu 05 08:41:43 dns dhcpd [2056]: Hoko 0 riihi hei riihi i te konae. Pepuere 05 08:41:43 dns dhcpd [2057]: Ratonga tiimata o te Tūmau. Pepuere 05 08:41:45 dns isc-dhcp-server [2049]: Ka tiimata i te ISC DHCP kaituku: dhcpd.

Taki me nga kaihoko

I tiimata e maatau he kaihoko me te punaha whakahaere Windows 7, me te ingoa «LAGER».

buzz @ sysadmin: ~ $ manaaki takiuru
LAGER.desdelinux.fan he wahitau 192.168.10.30

buzz @ sysadmin: ~ $ keria te txt lager.fromlinux.fan

Ka hurihia e matou te ingoa o taua kaihoko ki te "whitu" ka tiimata ano te kaihoko

buzz @ sysadmin: ~ $ manaaki takiuru
;; kua mutu te hononga; kaore he kaiwhakarato i tae atu

buzz@sysadmin: ~ $ manaaki e whitu
e whitu.fromlinux.fan he wahitau 192.168.10.30
buzz @ sysadmin: ~ $ manaaki 192.168.10.30
30.10.168.192.in-addr.arpa ingoa tohu tohu whitu.fromlinux.fan.

buzz @ sysadmin: ~ $ keria te txt whitu.fromlinux.fan

I whakaingoahia te kaitoha Matapihi 7 ki "win7"

buzz @ sysadmin: ~ $ manaaki e whitu
;; kua mutu te hononga; kaore he kaiwhakarato i tae atu

buzz @ sysadmin: ~ $ manaaki win7
win7.fromlinux.fan he wahitau 192.168.10.30
buzz @ sysadmin: ~ $ manaaki 192.168.10.30
30.10.168.192.in-addr.arpa ingoa tohu tohu tohu7.fromlinux.fan.

buzz @ sysadmin: ~ $ keri i te txt win7.fromlinux.fan
; << >> DiG 9.9.5-9 + deb8u1-Debian << >> i te txt win7.fromlinux.fan ;; nga whiringa o te ao: + cmd ;; Ka whakahoki au: ;; - >> HEADER << - opcode: QUERY, mana: NOERROR, id: 11218 ;; haki: qr aa rd ra; QUERY: 1, PANUITANGA: 1, MANA: 1, TAPU: 2 ;; WHAKAPONO TUPONO :; EDNS: putanga: 0, haki:; udp: 4096 ;; PĀTAI PĀTAI :; win7.fromlinux.fan. I TE TXT ;; WAHANGA PANANGA: win7.fromlinux.fan. 3600 IN TXT "31b7228ddd3a3b73be2fda9e09e601f3e9" ;; WĀHANGA AUTHORITY: desdelinux.fan. 10800 IN NS dns.fromlinux.fan. ;; WĀHANGA TAPU: dns.fromlinux.fan. 10800 IN A 192.168.10.5 ;; Te waa Uiui: 0 msec ;; SERVER: 192.168.10.5 # 53 (192.168.10.5) ;; KAA: Ra Ra 05 09:13:20 EST 2017 ;; MSG SIZE rcvd: 129

buzz @ sysadmin: ~ $ keria mai i te linux.fan axfr
; << >> DiG 9.9.5-9 + deb8u1-Debian << >> desdelinux.fan axfr ;; whiringa ao: + cmd mai i linux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 8 86400 3600 604800 10800 mai i linux.fan. 10800 IN NS dns.fromlinux.fan. Tuhinga ka whai mai. 10800 IN MX 10 mēra.fromlinux.fan. Tuhinga ka whai mai. 10800 IN TXT "Mai i Linux, to Blog i whakatapua ki te Raupaparorohiko Koreutu" ad-dc.desdelinux.fan. 10800 IN A 192.168.10.3 blog.desdelinux.fan. 10800 IN A 192.168.10.7 dns.fromlinux.fan. 10800 IN A 192.168.10.5 fileserver.fromlinux.fan. 10800 IN A 192.168.10.4 ftpserver.fromlinux.fan. 10800 IN A 192.168.10.8 mail.fromlinux.fan. 10800 IN A 192.168.10.9 proxyweb.fromlinux.fan. 10800 IN A 192.168.10.6 sysadmin.fromlinux.fan. 10800 IN A 192.168.10.1
win7.fromlinux.fan. 3600 IN  TXT "31b7228ddd3a3b73be2fda9e09e601f3e9"
win7.fromlinux.fan. 3600 IN A 192.168.10.30
Tuhinga ka whai mai. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 8 86400 3600 604800 10800 ;; Te waa Uiui: 2 msec ;; SERVER: 192.168.10.5 # 53 (192.168.10.5) ;; WHENUA: Ra Pepuere 05 09:15:13 EST 2017 ;; Rahi XFR: 15 rekoata (nga karere 1, paita 453)

I roto i nga whakaputanga o runga ake nei, kua marama taatau maia te TTL -i roto i nga hēkona- mo nga rorohiko me nga wahitau IP i whakawhiwhia e te ratonga DHCP ki era e whakaatu marama ana i te TTL 3600 na DHCP i tuku. Ko nga IP kua whakaritea ka aratakina e te $ TTL o 3H -3 haora = 10800 hēkona- kua panuitia ki te rekoata SOA o ia konae rohe.

Ka taea e raatau te tirotiro i te rohe whakamuri i te ara ano.

[root @ dns ~] # keri 10.168.192.in-addr.arpa axfr

Ko etahi atu whakahau whakahirahira ko:

[root @ dns ~] # ingoa-haangai /var/lib/bind/db.desdelinux.fan.jnl
Tuhinga ka whai mai. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 1 86400 3600 604800 10800 taapiri desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 2 86400 3600 604800 10800 taapiri LAGER.fromlinux.fan. 3600 IN A 192.168.10.30 taapiri LAGER.fromlinux.fan. 3600 IN TXT "31b7228ddd3a3b73be2fda9e09e601f3e9" mai desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 2 86400 3600 604800 10800 mai i LAGER.fromlinux.fan. 3600 IN A 192.168.10.30 taapiri mai i linux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 3 86400 3600 604800 10800 mai i desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 3 86400 3600 604800 10800 mai i LAGER.fromlinux.fan. 3600 IN TXT "31b7228ddd3a3b73be2fda9e09e601f3e9" taapiri desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 4 86400 3600 604800 10800 mai i desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 4 86400 3600 604800 10800 tāpiri desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 5 86400 3600 604800 10800 taapirihia kia whitu.fromlinux.fan. 3600 IN A 192.168.10.30 taapirihia kia whitu.fromlinux.fan. 3600 IN TXT "31b7228ddd3a3b73be2fda9e09e601f3e9" mai desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 5 86400 3600 604800 10800 mai i te whitu.fromlinux.fan. 3600 IN A 192.168.10.30 taapiri mai i linux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 6 86400 3600 604800 10800 mai i desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 6 86400 3600 604800 10800 mai i te whitu.fromlinux.fan. 3600 IN TXT "31b7228ddd3a3b73be2fda9e09e601f3e9" taapiri desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 7 86400 3600 604800 10800 mai i desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 7 86400 3600 604800 10800 taapiri desdelinux.fan. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 8 86400 3600 604800 10800 taapirihia win7.fromlinux.fan. 3600 IN A 192.168.10.30 taapirihia win7.fromlinux.fan. 3600 IN TXT "31b7228ddd3a3b73be2fda9e09e601f3e9"

[root @ dns ~] # ingoa-haangai /var/lib/bind/db.10.168.192.in-addr.arpa.jnl
mai i te 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 1 86400 3600 604800 10800 taapiri 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 2 86400 3600 604800 10800 taapirihia 30.10.168.192.in-addr.arpa. 3600 IN PTR LAGER.fromlinux.fan. mai i te 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 2 86400 3600 604800 10800 o 30.10.168.192.in-addr.arpa. 3600 IN PTR LAGER.fromlinux.fan. taapirihia 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 3 86400 3600 604800 10800 del 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 3 86400 3600 604800 10800 taapirihia 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 4 86400 3600 604800 10800 taapirihia 30.10.168.192.in-addr.arpa. 3600 IN PTR whitu.fromlinux.fan. mai i te 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 4 86400 3600 604800 10800 o 30.10.168.192.in-addr.arpa. 3600 IN PTR whitu.fromlinux.fan. taapirihia 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 5 86400 3600 604800 10800 del 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 5 86400 3600 604800 10800 taapirihia 10.168.192.in-addr.arpa. 10800 IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. 6 86400 3600 604800 10800 taapirihia 30.10.168.192.in-addr.arpa. 3600 IN PTR win7.fromlinux.fan.

[pakiaka @ dns ~] # journalctl -f

Te whakarereke a-ringa i nga konae Rohe

Whai muri i te whakaurunga a te DHCP ki te whakahou i nga konae rohe BIND, mena me whakarereke a-rohe i tetahi konae rohe, me whakahaere e tatou nga tikanga e whai ake nei, engari kaua e mohio mo te mahinga o te rohe. Tuhinga o mua -tangata rndcTuhinga o mua ingoa.

  • rndc whakatio [rohe [akomanga [tirohanga]]], ka whakamutua te whakahoutanga hihiko o tetahi rohe. Mena kaore i te tohuhia, ka hukapapa katoa. Ma te whakahau e ahei te whakatika a-ringa o te rohe whakatotoka, o nga rohe katoa ranei. Tetahi whakahoutanga hihiri ka whakakahoretia i te wa e whakatotoka ana.
  • rndc rewa [rohe [akomanga [tirohanga]]], taea ai nga whakahou kaha i runga i te rohe hukapapa o mua. Ka whakaweto e te kaituku DNS te konae rohe mai i te kopae, ka whakahouhia ano nga whakahoutanga kaha i muri i te otinga o te utaina ano.

Kia tūpato ina whakatika ā-ringa i tetahi konae rohe? He rite ano ki te mea kei te hangaia e maatau, me te kore e wareware ki te whakapiki i te tau rangatahi ma te 1 ranei rangatū i mua i te penapena i te konae me nga panoni whakamutunga.

Ka whakatio tatou i nga rohe

I a maatau e whakarereke ana i nga Roera Whakamua me nga Rohe Hurihuri i te wa e rere ana te DNS me te DHCP, ko te mea tino ora ki te mahi ki te whakatio i nga Rohe DNS:

[pakiaka @ dns ~] # rndc whakatio

Rohe fromlinux.fan kei roto nei nga rekoata:

[root @ dns ~] # ngeru /var/lib/bind/db.fromlinux.fan
$ ORIGIN. $ TTL 10800; 3 haora mai i linux.fan IN SOA dns.from linux.fan. pakiaka.dns.fromlinux.fan. (
                                8; rangatū
                                86400; whakahou (1 ra) 3600; tarai ano (1 haora) 604800; pau te (1 wiki) 10800; iti (3 haora)) NS dns.fromlinux.fan MX 10 mēra.fromlinux.fan. TXT "FromLinux, to Blog i whakatapua ki te Pūmanawa Koreutu" $ ORIGIN fromlinux.fan. ad-dc Ki te 192.168.10.3 blog Ki te 192.168.10.7 dns Ki te 192.168.10.5 fileserver Ki te 192.168.10.4 ftpserver Ki te 192.168.10.8 mail Ki te 192.168.10.9 proxyweb Ki te 192.168.10.6 sysadmin Ki te 192.168.10.1 $ TTL 3600; 1 haora win7 A 192.168.10.30 TXT "31b7228ddd3a3b73be2fda9e09e601f3e9"

Me taapiri te kaiwhakarato «wharewhare»Ki te IP 192.168.10.10:

pakiaka @ dns: ~ # nano /var/lib/bind/db.fromlinux.fan
$ ORIGIN. $ TTL 10800; 3 haora mai i linux.fan IN SOA dns.from linux.fan. pakiaka.dns.fromlinux.fan. (
                9; rangatū
                86400; whakahou (1 ra) 3600; tarai ano (1 haora) 604800; pau te (1 wiki) 10800; iti (3 haora)) NS dns.fromlinux.fan MX 10 mēra.fromlinux.fan. TXT "FromLinux, to Blog i whakatapua ki te Pūmanawa Koreutu" $ ORIGIN fromlinux.fan. ad-dc Ki te 192.168.10.3 blog Ki te 192.168.10.7 dns Ki te 192.168.10.5 fileserver Ki te 192.168.10.4 ftpserver Ki te 192.168.10.8 mail Ki te 192.168.10.9 proxyweb Ki te 192.168.10.6
wharewhare A 192.168.10.10
sysadmin A 192.168.10.1 $ TTL 3600; 1 haora win7 A 192.168.10.30 TXT "31b7228ddd3a3b73be2fda9e09e601f3e9"

E tika ana kia whakarereketia e maatau te rohe whakamuri:

pakiaka @ dns: ~ # nano /var/lib/bind/db.10.168.192.in-addr.arpa
$ ORIGIN. $ TTL 10800; 3 haora 10.168.192.in-addr.arpa IN SOA dns.fromlinux.fan. pakiaka.dns.fromlinux.fan. (
                                7; rangatū
                                86400; whakahou (1 ra) 3600; tarai ano (1 haora) 604800; pau te (1 wiki) 10800; iti (3 haora)) NS dns.fromlinux.fan $ ORIGIN 10.168.192.in-addr.arpa. 1 PTR sysadmin.fromlinux.fan. 3 PTR ad-dc.fromlinux.fan. $ TTL 3600; 1 haora 30 PTR win7.fromlinux.fan. $ TTL 10800; 3 haora 4 PTR fileserver.fromlinux.fan. 5 PTR dns.fromlinux.fan. 6 PTR takawaenga.fromlinux.fan. 7 PTR blog.desdelinux.fan. 8 PTR ftpserver.fromlinux.fan. 9 PTR mēra.fromlinux.fan.
10 PTR taapiri.fromlinux.fan.

Ka tohatoha me te whakahou ano i nga rohe

[root @ dns ~] # rndc rewa

pakiaka @ dns: ~ # journalctl -f
- Ka tiimata nga rakau i te Ra 2017-02-05 06:27:10 EST. - Pepuere 05 12:00:29 dns te ingoa [1996]: riro mana whakahau hongere 'rewa' Feb 05 12:00:29 dns ingoa [1996]: te rewa i nga rohe katoa: angitu Feb 05 12:00:29 dns te ingoa [1996 ]: rohe 10.168.192.in-addr.arpa/IN: Kua tawhito te konae pukapuka: tango i te konae aupepa Pepu 05 12: 00: 29: dns te ingoa [1996]: rohe 10.168.192.in-addr.arpa/ IN : utaina rangatū 7 Feb 05 12:00:29 dns ingoa [1996]: rohe desdelinux.fan/IN: kua tawhito te konae konae: tango i te konae aupepa Poutu te rangi 05:12:00 dns te ingoa [29]: rohe desdelinux. powhiriwhiri / IN: utaina rangatū 1996

buzz @ sysadmin: ~ $ manaaki papaauru
shorewall.fromlinux.fan he wahitau 192.168.10.10

buzz @ sysadmin: ~ $ manaaki 192.168.10.10
10.10.168.192.in-addr.arpa ingoa ingoa tohu tohu shorewall.fromlinux.fan.

buzz @ sysadmin: ~ $ keria mai i te linux.fan axfr

buzz @ sysadmin: ~ $ keri 10.168.192.in-addr.arpa axfr

pakiaka @ dns: ~ # journalctl -f
.... Feb 05 12:03:05 dns te ingoa [1996]: kaihoko 192.168.10.1 # 37835 (desdelinux.fan): whakawhiti o 'desdelinux.fan/IN': I tiimata te AXFR Poutu-te-rangi 05 12:03:05 dns te ingoa [1996]: kaihoko 192.168.10.1 # 37835 (desdelinux.fan): whakawhiti o 'desdelinux.fan/IN': I mutu te AXFR Pepuere 05 12:03:20 dns te ingoa [1996]: kaihoko 192.168.10.1 # 46905 (10.168.192. 10.168.192.in-addr.arpa): whakawhiti o '05 .12.in-addr.arpa / IN ': I tiimata te AXFR Pepuere 03 20:1996:192.168.10.1 dns te ingoa [46905]: kaihoko 10.168.192 # 10.168.192 (XNUMX .in-addr.arpa): whakawhiti o 'XNUMX .XNUMX.in-addr.arpa / IN ': Kua mutu te AXFR

Whakarāpopoto

I tenei wa kei te whakahaerehia he kaituku Caché DNS, e tautoko ana i te Whakahoki, he Mana mo te Rohe fromlinux.fan, a ma tera ka taea e DHCP te whakahou i nga Roera Whakamua me nga Rohe Whakamuri me nga ingoa o te rorohiko me te IP e whakawhiwhia ana e ia.

Ko tenei tuhinga me nga mea e rua o mua «DNS me DHCP i openSUSE 13.2 'Harlequin'"me"DNS me DHCP kei CentOS 7»Kotahi te tikanga. Ka kitea e koe nga kaupapa whanui mo te DNS me te DHCP, me nga waahanga o ia tohatoha ki ia waahanga. He a Tohu urunga ki te kaupapa, me te putake mo nga whanaketanga uaua ake.

Kaore matou e ruarua ki te tohe - ano - mo te paanui o te paanui i nga tuhinga hangarau kua whakauruhia hei taunoa ki ia kohinga, I MUA i te whirihora i tetahi taipitopito. E ai ki ta maatau ake.

Te tuku ā muri ake

Akene ko "Microsoft® Active Directory + BIND"


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

23 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra. Kua tohua ngā āpure e hiahiatia ana ki *

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   lagarto ka mea

    He aha te akoranga kua tukuna mai e koe hei hoa, kaore au e mohio no hea te kaha mo te taipitopito me te ota i nga kaupapa uaua ano hoki na tera.

    Ko aku mihi nui, he honore ki te kaha ki te panui i a koe

  2.   bafo ka mea

    Me kii atu e au ki a koe ko nga akoranga e whakaputahia ana e koe ko te HOSTIA, He aroha ki ahau.
    Kei te tatari tonu ahau mo to pene ka whai ake.
    Ka mutu ana koe, ka waiho e koe ki roto i te pdf? He tuhinga e ki ana ahau he mea tino nui, he mea tika kia puritia.
    Nga mihi nui ki a koutou me te mihi nui.
    Bafo.

  3.   kaikaiwhenua ka mea

    Bafo: Ka nui te mihi ki a koe mo to arotake me to korero. Ko te utu pai mo te wa, te mahi, me te whakapau kaha e whakatapua nei e au ki ia kaiwhakaako ko te korero. Kia pai, kia kino ranei, engari ko te tohu tera e kore e warewarehia. Te mana'o nei au he maha nga kaipānui ka tango noa ka penapena, ka tohua ranei. Engari ka taea e au anake te kii i runga i te maha o nga haerenga. He kino rawa kaore e maha nga korero, ahakoa e mohio ana ahau ko nga take e pa ana ahau ki a Hysadmins. Kia ora ano koe ka tatari ahau ki a koe i roto i aku tuhinga ka whai ake.

  4.   kaikaiwhenua ka mea

    Ngahau: Mauruuru mo to arotake pono ka mau tonu au ki oku mahara.

  5.   Toi ka mea

    Me pehea te whirihoranga mena e rua aku hononga whatunga i te waa here
    Nga mihi me te mihi ki nga korero.

  6.   kaikaiwhenua ka mea

    Artus: Mauruuru mo o korero me o mihi.
    Ko te whakautu ki to patai he tuhinga motuhake ano mo te whakamahi o te Tirohanga - tirohanga i roto i te MAI.

    Mena kei a koe tetahi Rohe Rohe kua tohaina, kei te hiahia koe kia kotahi te KAUPAPA kia tae atu ki nga uiui a roto mai i to LAN me nga uiui a-waho mai i te Ipurangi - me te BIND e tiakina e tetahi Pātūahi o te akoranga- e taunaki ana kia whakamahia te Tirohanga.

    Ko nga Tirohanga, hei tauira, ka tuku koe i tetahi whirihoranga mo to Whatunga SME me tetahi atu mo te Ipurangi. Ki te kore e whirihorahia e matou tetahi Tirohanga, ma te BIND e hanga tetahi mea e whakaatu nga rorohiko katoa e korero ana.

    Ka rite ki te whakamahinga o nga Tirohanga Ka kiia e au he kaupapa matatau puede ka tuhituhi i tetahi tuhinga mo taua mea, i mua atu i muri ranei o te pou i whakaaria mai i panuihia i te mutunga o taua tuhinga.

    Na, mena e rua nga hononga whatunga e anga atu ana ki to Whatunga SME -e hangaia ana e nga Whatunga Tuuturu e rua- mo nga take hoahoa, toenga utanga, maha o nga taputapu, me etahi atu ranei, kei te hiahia koe ki te whakaatu i o rohe katoa ki nga hononga e rua, ka taea e koe whakaotihia me te korero:

    whakarongo-i runga i {
    127.0.0.1;
    IP-Tūmataiti-Atanga1;
    IP-atanga-Motuhake2;
    };

    Ma tenei, ka whakarongo te BIND mo nga tono kei runga i nga waahanga e rua.

    Mena kei te rorohiko katoa o rorohiko i te Papaanga Tuuturu Akomanga C 192.168.10.0/255.255.240.0-tae atu ki te 4094 ope- hei tauira, ka taea hoki e koe te whakamahi i te korero:

    whakarongo-mai {127.0.0.1; 192.168.10.0/20; };

    Ana kei te whakaatu tonu koe i te tirohanga kotahi ki nga rorohiko katoa e hono ana ki to LAN Motuhake.

    Ko te tumanako ko taku whakautu poto ka awhina i a koe. Kia ora, kia angitu.

    1.    Toi ka mea

      Mauruuru mo te whakautu i tenei wa tonu. Kite koe kei te whakatuu ahau i tetahi Tūmau Debian me te putanga 9 (Strech), kei kona te DNS, dhcp me te wheke hei takawaenga, mo nga taatari ihirangi ka whakamahia e2guardian ahau.

      E rua nga hononga whatunga a te rorohiko, ka taea ai e nga rorohiko i runga i te LAN te puta ki te Ipurangi.
      pouara: 192.168.1.1
      eth0: 192.168.1.55 (ma tenei hononga ka uru ki te Ipurangi)
      eth1: 192.168.100.1 (LAN)

      Ko te whakaaro ka taea e nga rorohiko te haere ki te Ipurangi na roto i tenei kaitoha takawaenga, ka whakarato i nga ips me nga dns ki nga rorohiko i te whatunga o roto.

      I tenei keehi, kaore au e hiahia ki te kaituku ki te haere ki nga tono dns ma te hononga et0 (Kaore au e hiahia ki te whakaatu i aku rohe ki nga hononga e rua, ki taku LAN anake); na mena ka tangohia e au te atanga-takitahi-IP1, kaati ano?

      Nga mihi ano hoki.

  7.   Eduardo Noera ka mea

    He tuhinga tino pai e taku hoa
    Kei a koe te BIND i roto i o uaua, ahakoa ka kii koe me te whakaaro ke atu 🙂
    Kei a koe

  8.   kaikaiwhenua ka mea

    Artus: Tangohia te atanga 192.168.1.55 mai i te korero whakarongo ka haere. Me whakaatu ranei me whakarongo noa- ki {127.0.0.1; 192.168.100.1; }; ana koira ano. Ka whakarongo noa te BIND i runga i era waahanga.

    1.    Toi ka mea

      Nga mihi pai.

  9.   kaikaiwhenua ka mea

    Eduardo: e hoa, he pai tonu ki ahau te dnsmasq mo nga hononga "iti", ana me aata tiro he pehea te "rahi" o raatau. 😉 Ahakoa e mohio ana ahau ko te BIND + isc-dhcp-server ko te BIND + isc-dhcp-server. 😉

  10.   kaikaiwhenua ka mea

    Eduardo: Kua wareware au ki te kii atu ki a koe ko te Tohunga BIND ko koe, e te Kaiwhakaako.

  11.   Pūoro ka mea

    Tau e whakamahi ana i te BIND ka ako tonu au i o tuhinga, me mihi kau ki a Federico, me tenei raupapa akoako ka panaia he sysadmin. Ka hoki mai ano au ka korero ano ahau, ko te whakaaro ki te whakauru i enei mohiotanga katoa ki te whakatakotoranga kawe kawe kaore he kino, hoatu ki te upoko kia puta mai tetahi mea tino pai. He mihi.

  12.   kaikaiwhenua ka mea

    E hoa Dhunter: He pai te manako ki o korero. Ko te whakakotahi i nga mea katoa he uaua, me te kore e taea, na te mea ka puta ake he kaupapa hou. Ma nga upoko, ka haere ka taea. Ko etahi tuhinga me tuhi ano kia rite ai nga whirihoranga. Kaore au e oati atu, engari ka kite taatau.

  13.   Ismael Alvarez Wong ka mea

    Tena koe federico, anei aku korero:
    1) Te aronga nui maau ki te «... panuihia i mua i te whirihora i te MAKA a tae noa i mua i te rapu i te Ipurangi mo nga tuhinga e pa ana ki te BIND me te DNS ...» e rapu ana mo ta maatau ake rorohiko me enei katoa ... ake kupu.
    2) I tenei panui ka kitea etahi atu ariā e pa ana ki te DNS e whakakii ana i nga korero e rua o mua, ana ka maioha tonu; hei tauira: ko te DNSSEC (Nga Ingoa Rohe Ingoa Roopu Toronga) me te aha e whakamahia ana mo; me te Kaupapa Whirihoranga BIND me ona konae Whakahoahoa Tuturu, Nga Rohe Rohe mo nga Root Rovers, me nga Roera Whakamua me te Whakawhiti o te rohe-a-rohe i Debian.
    3) NUI te pito o te kore e whakakahore i te hokinga mai (ma te whakamahi i te raina "recursion no;") ka whakauru ki te konae whirihoranga /etc/bind/named.conf.local, nga konae rohe / etc / bind / rohe. Rfc1918 me / etc /bind/zones.rfcFreeBSD hei aukati i nga paatai ​​e pa ana ki a raatau mai i te waiho i te whatunga rohe ki nga kaitoha pakiaka.
    4) Kaore i te ahua o te pou o mua mo te CentOS 7, i tenei panui mena ka hangaia te TSIG Key "dhcp-key" mo nga whakahoutanga DNS hihiri mai i DHCP; kia whakaaetia ki te konae /etc/bind/named.conf.local, whakauruhia te "allow-update {key dhcp-key; }; » i roto i te whirihoranga o nga rohe tika me nga rohe whakamuri o to rohe.
    5) Ko nga korero taapiri (he rite ki te pou o mua i te CentOS 7) o nga mea katoa e pa ana ki nga haki o te mahi DNS, DHCP me nga kaihoko.
    6) NUI te pito o te whakamahi i te tono "whakauru" (mena ka tuhi koe, kaore au i te tohu i te ingoa kotahi e whakamahia ana i etahi atu whakahau), Kare ahau i mohio, he pono hoki " 3 i te 1 "na nga roopu te kape (cp), te whakatuu rangatira (chown) me nga whakaaetanga (chmod).
    . Ka mutu, he pai rawa to whakautu ki a Artus mo te whakamahinga o te Tirohanga ki te BIND, kotahi mo te LAN (whatunga takitahi) me tetahi mo te Ipurangi kia taea noa nga ratonga a te iwi whanui te korero. Ko te tumanako a muri ake nei ka whai wa koe ki te whakareri i tetahi pou na te mea he kaupapa tono tino whaihua mo nga sysadmins maha.
    Kaore he mea a Federico e kaha haere ana taku ngakau nui mo te raupapa PYMES ana e tatari ana ahau ki te panui e whai ake nei "Microsoft Active Directory + BIND"

  14.   kaikaiwhenua ka mea

    Wong: E ​​hoa ma, e hoa, ko o korero te mea pai ki aku tuhinga me te whakaatu he maarama ratou. Ko te whakahau "whakauru" he maha atu nga waahanga. Uiui tāuta tangata. Nga mihi ki te mano mo nga korero !!!

  15.   Crespo88 ka mea

    Kaore ano au kia panui i nga korero, ka mahia e au i muri i te whakahua i aku paearu.
    Kua oti i a koe kua nui nga mea kua tutuki i a koe, i homai e koe he rama ki a maatau engari kaore ko tera e kitea ana i te "pito o te kauhanga" ina kaore he tumanako ka rite ki ta matau e kii ana; ehara i te mea kaore, kua whakawhiwhia e koe he marama kia taea ai te ki atu "I te mutunga ka mohio taatau he takaro taane, me te maha o nga kaupapa me te wetiweti hangai" i a koe e whakamarama ana i te panui.
    POST TRUNK me nga mea o mua mo nga waahanga rongonui rongonui e rua. I aro koe ki te whaanui o nga kaupapa me nga ariā i te nuinga o te waa ka kaha te mate ki a maatau. Kua panuihia e au te korero taipitopito, ma te marie, a kaore e taea te korero me te koa PAIA mo tenei tuunga me tona tainga.
    Ka kore e roa te korero, ko te hiahia kia ora koutou, kia mau tonu to koha. Kei te mihi atu ki a koe kia tau te waimarie, te ohanga, te hauora (me whakawhirinaki koe) me te aroha (me Sandra's mo etahi atu, hahaha).
    Kei te mohio ahau he paku noa atu te korero i tua atu o te kaupapa o te pou, ka pa ki a ia ake na te mea he hoa maua he tino pai ki ahau mo to tuku miimii kore. Kaore he KAUPAPA e mahi i taau e mahi ana mo taatau e hiahia ana ki te ako me te nui o ta maatau kawenga ki te whakahaere i nga hononga SME ki o maatau pokohiwi, ehara i te mahi ngawari
    Sl2 katoa.

  16.   kaikaiwhenua ka mea

    crespo88: Nga mihi nui mo o arotake e pa ana ki tenei me etahi atu tuhinga kua taatai. Ka whakaaro etahi o nga kaipānui ka hoatu e au aku katoa, ki te kore e pono. Ka titiro tonu ahau ki tetahi Tohu Whakauru, ahakoa he tino mahi nga tauira. Ko te BIND te Ahumahi Hiko me te DHCP kaore i te tino whai muri. Kia mohio ai koe ki runga ake i te toharite, me whiwhi koe i te tohu paerua i te Whare Waananga o Helsinki, 😉

  17.   Whakaahua placeholder Miguel Guaramato ka mea

    He tino pai tenei kaupapa ki ahau. Kei te hiahia au ki tenei rangahau mo nga mea katoa e pa ana ki te whakahaere i nga whatunga linux me nga kaiwhakarato: dns, dhcp hihiko me te tuuturu me nga whatunga mariko, bin9, samba, kaiwhakarato taarua, ldap, tirotiro whatunga me nga tono, nga puke o pātengi raraunga mō ngā tono a te hunga hötaka me te wlan, etc. Koira te take i nui ai he pai rawa enei tohutohu me nga whakaritenga me nga tauira.

  18.   kaikaiwhenua ka mea

    Kia ora miguel !!!
    Mauruuru mo o korero me te tumanako ka awhinahia koe e te raupapa mo nga mea e pai ana ki a koe. Nga Manaakitanga.

  19.   Jorge ka mea

    Ka nui te mihi ki a koe mo te tuhinga Federico, e whakaatu ana kei te mohio koe mo te taha takirua. He awhi.

  20.   kaikaiwhenua ka mea

    Nga mihi nui ki a koe Jorge, mo o korero. Ko te tumanako ko aku tuhinga te awhina i a koe.

  21.   Pablo Raúl Vargas Hall ka mea

    Nga mihi nui ki a koutou mo te whakairinga kua oti te tuhituhi me te akiaki kia panui, panuihia, panuihia ano hoki. Na me te panui e whai ake nei ka whakaputaina e koe, e hiahia ana ahau kia whakaarohia e koe nga waahanga o te honohono:
    Whaiaronga Hohe Microsoft me Samba4 hei Whaiaronga Hohe

    Ano hoki, i hiahia ahau ki te korero ki nga mea e whai ake nei:
    Me pehea te whakatinanatanga o te Bind + Isc-dhcp i te FW i roto i te dmz kei reira te kaiwhakahaere rohe i te dmz me te samba 4 AD