Upgrade to Pro — share decks privately, control downloads, hide ads and more …

変化するDNS運用とこれからの課題について(DNS設計/運用者の目線から)

 変化するDNS運用とこれからの課題について(DNS設計/運用者の目線から)

JANOG53での登壇資料です。

https://www.janog.gr.jp/meeting/janog53/dnsops/

More Decks by LINEヤフーTech (LY Corporation Tech)

Other Decks in Technology

Transcript

  1. ˜-:$PSQPSBUJPO  +"/0(ൃදͷৼΓฦΓ ͜Ε·ͰͷมԽ Ϧκϧό୆਺࡟ݮ σϓϩΠίετͷ௿ݮ • αʔόҰ୆͋ͨΓͷΩϟύγςΟ ϓϥϯχϯά࠶ݕ౼ •

    ߏ੒؅ཧπʔϧʹΑΔ DPOGJH ࣗಈ഑෍ • SFTPMWDPOG ࣗಈ഑෍ ࢿྉIUUQTXXXKBOPHHSKQNFFUJOHKBOPHEOTDPTU
  2. ˜-:$PSQPSBUJPO  αʔόͷن໛ײ ͜Ε·ͰͷৼΓฦΓ ౦೔ຊ੢೔ຊͦΕͧΕ • ෺ཧαʔό਺  • 7.

    ਺  • Ϧκϧό਺ ˞ओཁڌ఺ͷΈ ϐʔΫ࣌ΑΓ΋ݮ͍ͬͯΔ͕ ґવϦκϧό୆਺͕ଟ͍
  3. ˜-:$PSQPSBUJPO ΫΤϦϩάͷऔಘ͕ϘτϧωοΫͱͳ͍ͬͯΔՄೳੑ  +"/0(ͷٞ࿦ΑΓ ͳͥϦκϧό୆਺͕ଟ͍ͷ͔ ϩάऔಘͷ໨త औಘ಺༰ • ࣌ࠁ •

    TPVSDF*1BEESFTT • ROBNF RUZQF ͳͲ ϩάͷྔ • Ϧκϧό ୆͋ͨΓ ฏۉ໿ .#ZUFTT ηΩϡϦςΟ؂ࠪͷ؍఺ • %$಺ͷαʔό͕ ͲͷΑ͏ͳ໊લղܾ ΫΤϦΛग़͔ͨ͠
  4. ˜-:$PSQPSBUJPO  Φϓγϣϯͱͯ͠ͲͷΑ͏ͳ΋ͷ͕͔͋ͬͨ ύϑΥʔϚϯεͷվળख๏ -JOVYLFSOFM QBSBNFUFS΍ %/4࣮૷ͷઃఆௐ੔ UNQGT ͷ࢖༻ EOTUBQ

    ͷಋೖ ઃఆௐ੔ɾUNQGT ͸༏Ґͳࠩ͸ΈΒΕͣ EOTUBQ ͸ EJTL*0࡟ݮޮՌ͕ݟࠐ·ΕͨͨΊ ͦͪΒΛݕ౼
  5. ˜-:$PSQPSBUJPO %/4ιϑτ΢ΣΞʹ͓͚ΔΫΤϦϩά ग़ྗϑΥʔϚοτͷҰͭ • ରԠ͍ͯ͠Δ %/4࣮૷Ͱ͸ಉ͡ ߏ଄Խ͞Εͨग़ྗ͕ಘΒΕΔ • %/4XPSLFSUISFBEͱ EOTUBQ

    *0UISFBE͕෼཭͍ͯ͠ΔͨΊ ϩάग़ྗͷύϑΥʔϚϯεվળ͕ ظ଴Ͱ͖Δ  EOTUBQͱ͸ ग़యIUUQTEOTUBQJOGPTMJEFTEOTUBQ@WMETTQEG
  6. ˜-:$PSQPSBUJPO ग़ྗ͞ΕΔϩάͷܗࣜ͸ SFDFJWFSʹΑΓҟͳΔ • ॊೈੑͷ؍఺͔Β HPEOTDPMMFDUPS Λ࠾༻  SFDFJWFS࣮૷ͷݕ౼ EOTUBQ

    ߏ੒ global: text-format: "timestamp-rfc3339ns identity queryip queryport family protocol qname qtype" 2023-12-19T12:29:01.277695051Z dnstap_id 192.0.2.1 12345 IPv4 UDP example.jp A IUUQTHJUIVCDPNENBDIBSEHPEOTDPMMFDUPSCMPCNBJOEPDTDPOGJHVSBUJPONEDVTUPNUFYUGPSNBU HPEOTDPMMFDUPS DPOGJH ΫΤϦϩά
  7. ˜-:$PSQPSBUJPO  HPEOTDPMMFDUPS αϯϓϧίϯϑΟά EOTUBQ ߏ੒ multiplexer: collectors: - name:

    tap dnstap: sock-path: "/path/to/unix.sock" loggers: - name: file logfile: text-format: "timestamp-rfc3339ns identity queryip queryport qname qtype" file-path: "/path/to/query.log" max-size: 600 max-files: 6 mode: text routes: - from: - tap to: - file • ZBNM ܗࣜͰهड़ • NVMUJQMFYFSͰෳ਺ͷ DPMMFDUPST  MPHHFST SPVUFTΛఆٛՄೳ • DPMMFDUPSϩάऩूํ๏Λઃఆ • MPHHFSTه࿥ํ๏΍ϝτϦΫε ͷग़ྗΛઃఆ • SPVUFTDPMMFDUPSͱ MPHHFSͷ ରԠΛઃఆ
  8. ˜-:$PSQPSBUJPO ΫϥΠΞϯτɾϦκϧόͱ΋ʹಉҰੑೳ ͷαʔόΛ࢖༻͠ɺҎԼͷ৚݅Ͱൺֱ  ܭଌ؀ڥͱ৚݅ ϕϯνϚʔΫ DMJFOUT EOTQFSG GVMMSFTPMWFS #*/%

    RVFSZ ߲໨ εϖοΫ $16 *OUFM9FPO&-W ()[Y$16 $5 .FNPSZ (# %/4TPGUXBSF #*/% CFODINBSL EOTQFSG  ߲໨ ৚݅ ΫΤϦϩάऔಘํ๏ औಘͳ͠ #*/%ඪ४ HPEOTDPMMFDUPS Ωϟογϡώοτ཰ 
  9. ˜-:$PSQPSBUJPO  ܭଌ݁Ռ ϕϯνϚʔΫ #*/%ඪ४ͱൺֱͯ͠ RQT ੑೳ͕ ʙഒఔ౓޲্͍ͯ͠Δ͜ͱ Λ֬ೝ 

               RQT Ωϟογϡώοτ཰ RQT ܭଌ݁Ռ #*/%෇ଐ EOTUBQ ϩάऔಘͳ͠
  10. ˜-:$PSQPSBUJPO  ϕϯνϚʔΫ݁Ռ͔ΒΩϟύγςΟϓϥϯχϯά ࡟ݮ໨ඪ ߟྀ఺ ҎԼͷ఺͔Β֤Ϋϥελ࠷௿୆਺ Λઃఆ • ো֐ൃੜ࣌ͷॖୀ཰ •

    େن໛ࡂ֐࣌ͷ #$1 ੑೳ ར༻ঢ়گ͔ΒΩϟογϡώοτ཰ Ͱࢼࢉ • ROBNF ͷ΄ͱΜͲ͕ࣾ಺޲͚ ͷυϝΠϯ໊
  11. ˜-:$PSQPSBUJPO  ϕϯνϚʔΫ݁Ռ͔ΒΩϟύγςΟϓϥϯχϯά ࡟ݮ໨ඪ ߟྀ఺ ҎԼͷ఺͔Β֤Ϋϥελ࠷௿୆਺ Λઃఆ • ো֐ൃੜ࣌ͷॖୀ཰ •

    େن໛ࡂ֐࣌ͷ #$1 ੑೳ ར༻ঢ়گ͔ΒΩϟογϡώοτ཰ Ͱࢼࢉ • ROBNF ͷ΄ͱΜͲ͕ࣾ಺޲͚ ͷυϝΠϯ໊ ͜ΕΒΛߟྀͯ͠΋൒਺Ҏ্ ࡟ݮՄೳͰ͋Δ͜ͱ͕൑໌
  12. ˜-:$PSQPSBUJPO  ·ͱΊ ͜Ε·ͰͷมԽ ݱࡏͷऔΓ૊Έ EOTUBQ ಋೖʹΑΔ͞Β ͳΔϦκϧό୆਺࡟ݮ • ΫΤϦϩάऔಘ͕

    ϘτϧωοΫ • EOTUBQ ʹΑΓ RQT ੑೳ͕େ෯վળ ͜Ε͔Βͷ՝୊ • ৽͘͠ඪ४Խ͞ΕΔ Ϩίʔυ΍ػೳ΁ͷ ରԠ ҎԼΛத৺ʹऔΓ૊Έ • Ϧκϧό୆਺࡟ݮ • σϓϩΠίετ௿ݮ