DNS Explained in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • Ever wonder how DNS works? The Domain Name System is one of the most important Internet technologies, but few web developers understand how it actually works behind the scenes. fireship.io
    #webdev #compsci #100SecondsOfCode
    🔗 Resources
    What is DNS www.cloudflare...
    Domain Name System en.wikipedia.o...
    🤓 Install the quiz app
    iOS itunes.apple.c...
    Android play.google.co...
    🔥 Watch more with Fireship PRO
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    🎨 My Editor Settings
    Atom One Dark
    vscode-icons
    Fira Code Font

Комментарии • 259

  • @LoveThatSceneChannel
    @LoveThatSceneChannel 3 года назад +1521

    If you're too young, and don't know what a phone book is, it's like DNS for phones numbers

    • @hl7297
      @hl7297 3 года назад +110

      Thanks I was so confused

    • @RedStone576
      @RedStone576 3 года назад +17

      thanks

    • @farhanaditya2647
      @farhanaditya2647 3 года назад +12

      lol 😂

    • @Fireship
      @Fireship  3 года назад +111

      lol twitter.com/fireship_dev/status/1412451775341232131

    • @mayurchavhan8590
      @mayurchavhan8590 3 года назад +13

      Phone book means like a Contact App?

  • @devsauce
    @devsauce 3 года назад +452

    There is something special about buying your first domain name and pointing it to your website

    • @RedStone576
      @RedStone576 3 года назад +7

      true

    • @SirusStarTV
      @SirusStarTV 3 года назад +24

      The feeling like you found your place in the world

    • @tomepsilon
      @tomepsilon 3 года назад +10

      @@SirusStarTV that’s not the feeling, it’s the truth

    • @balazsh2
      @balazsh2 3 года назад +2

      and then googling yourself and yours ite appears on the first page... so good

    • @auroraveon
      @auroraveon 2 года назад

      literally did this a few days ago, can agree

  • @drizzzzz
    @drizzzzz 3 года назад +300

    I teach at a university and I'm playing this when I get to the DNS section of my lecture!

    • @TheRanguna
      @TheRanguna 3 года назад +16

      Hopefully only as a supplementary resource. Please do an actual lecturer where students can have an opportunity to ask questions.

    • @drizzzzz
      @drizzzzz 3 года назад +93

      @@TheRanguna actually I don’t lecture at all, I just play other people’s content 100% of the time and play games on my phone /s

    • @TheRanguna
      @TheRanguna 3 года назад +10

      @@drizzzzz nice, exactly my kind of professor!

    • @jujijiju6929
      @jujijiju6929 3 года назад +10

      @@drizzzzz Lmao

    • @jackrdye
      @jackrdye 3 года назад +26

      I'm a 2nd year cs student and think that's an awesome idea. I find short summaries before deep diving on lecture content to be so useful. I watch this guys vids on every topic. Often I get bored really quickly if I start looking at the details without understanding how it fits into the bigger picture

  • @saissevictor
    @saissevictor 3 года назад +300

    Do I know how DNS works? YES.
    Am I going to watch how it works? YES!

    • @saissevictor
      @saissevictor 3 года назад +10

      @Zelená Žaba yeah, and these videos are very satisfying to watch!

    • @AtomicCodeX
      @AtomicCodeX 3 года назад +2

      True af 😂

    • @Kat21
      @Kat21 3 года назад

      yes

    • @Akash-nq5je
      @Akash-nq5je 3 года назад

      true

    • @SirusStarTV
      @SirusStarTV 3 года назад

      I kinda always forget everything about dns records and other specific stuff about it, only know that it responses with ip address of host name

  • @3zrv
    @3zrv 3 года назад +101

    Meanwhile, 2 days ago, I get asked about the DNS resolution flow on an interview, I mean fireship is really on point 🔥

    • @justcode7326
      @justcode7326 3 года назад +1

      Which company interview?

    • @3zrv
      @3zrv 3 года назад +2

      Conversation 24, it's in Netherlands

    • @krunalhedaoo6458
      @krunalhedaoo6458 3 года назад

      Same with Me also

    • @yadneshkhode3091
      @yadneshkhode3091 3 года назад

      @@krunalhedaoo6458 which company

  • @_parassolanki
    @_parassolanki 3 года назад +224

    100 seconds of RSA algorithm.

    • @youtubepooppismo5284
      @youtubepooppismo5284 3 года назад +8

      Easy
      The data is encrypted with a public key, and can only be decrypted with a private key.
      The receiver of the message sends to the sender its public key, the sender encrypts the message with it and the receiver uses his private key to decrypt it.
      This is the first step of a HTTPS comunication between a client and a server, where the public key is stored inside the SSL certificate.
      In this step, the client generates a random session key and communicates it to the server. This key will be used to encrypt every next message between client and the server using a symmetric encryption algorithm, such as AES (since it's faster than RSA).
      Pick two prime numbers p and q such that their product is bits long.
      The public key is made of two numbers (n, e)
      n = p*q
      To find e, first calculate phi = (p-1)(q-1)
      e is the first result to the equation gcd(e, phi)=1, such that 1

    • @voidfinder1
      @voidfinder1 3 года назад

      @@youtubepooppismo5284 cool

    • @vrl.
      @vrl. 3 года назад

      ed25519 is and should be the new standard before RSA

    • @truestopguardatruestop164
      @truestopguardatruestop164 3 года назад

      @@youtubepooppismo5284 I already knew RSA. Do you know Elliptic Curve Criptography? If yes try do explain that as simply and fascinating you did now. Never seen a better explanation to how to use RSA (still lacks about “how it works”)

    • @youtubepooppismo5284
      @youtubepooppismo5284 3 года назад

      @@truestopguardatruestop164 Avevo scritto un commento ma si è rimosso, credo. Purtroppo no non la conosco ma cercherò di guardarci dietro in questi giorni, farò un piccolo documento sul mio github. L'username è PaoloBettelini e la repository si chiama notes

  • @SweetSummerChildern
    @SweetSummerChildern 3 года назад +27

    I have learnt a lot of new things that I have never worked with from your videos, like AWS, nginx, kubernetes, graphQL(and other dbs), typescript to name a few. One thing that I don't understand is how they work together. I would really love to see a video where you design a mock system using all of these (and possibly more) and explain each of their roles and why you chose it (kinda like your reverse-cloud migration video using raspberry pi).
    Whenever I think of a software architecture I think of them as several layers that interact with each other. However, I am unable to assign which layer what belongs to by watching a stand alone tutorial about a single tool.
    Btw, I am a college senior pursuing CS major and I love your content. Thanks for all the awesome contents.

  • @jujijiju6929
    @jujijiju6929 3 года назад +11

    I know the DNS protocol pretty well. But I'm still gonna watch it for the quality.
    Your video editing and information presentation skills are just insane.

  • @etiennebruines467
    @etiennebruines467 3 года назад +98

    DNSSEC in 100 seconds would be interesting as well

  • @kevin42
    @kevin42 3 года назад +11

    I'd love a "beyond 100 seconds", where you deepdive into how the system actually works and explain topics like DoH/T

  • @melekRebai
    @melekRebai 3 года назад +1

    This dude is like a superhero but for tech, I've never seen in my 10 years of experience someone who can simplify and explain complicated stuff in 100 seconds like this

  • @alemalohe
    @alemalohe 3 года назад +2

    One thing I've learned from this channel, if not everything, is that I can do anything.

  • @guzz_lightyear
    @guzz_lightyear 3 года назад +18

    Excellent info as always!

  • @devcodesforever
    @devcodesforever 3 года назад +7

    Will share this with my computer teacher 😎

  • @boboertyusa
    @boboertyusa 2 года назад +1

    Great video for people who have previously learned computer networking but need a refresher on certain parts.

  •  3 года назад +2

    Great video.
    I just want to mention that there are also iterative resolvers where the resolver gets other dns servers from the one he is trying to resolve the dns record and then asks those other dns servers.

  • @nokkhtrobosu8321
    @nokkhtrobosu8321 3 года назад +2

    Man man 😭😭😭...I was searching for this a long time 😭😭💗💗 thanks

  • @Dawa202
    @Dawa202 3 года назад +1

    Always High Quality Videos Fireship... Thanks. Commenting so the algorithm blesses you sir

  • @melekRebai
    @melekRebai 3 года назад

    Is there any one else who knows how dns work and yet get a feeling of satisfaction after watching this amazing video?

  • @StuartLoria
    @StuartLoria 3 года назад +36

    More dev ops please. This server stuff needs to be demystified.

  • @yogevboaronben-har895
    @yogevboaronben-har895 3 года назад +3

    Hey Jeff, thnx for the awesome videos!
    A "100 seconds of event-loop" video would be very cool 😎

  • @RobinOliverRooban
    @RobinOliverRooban 3 года назад +4

    Your videos are fantastic! 👍🏻

  • @inf008shorts
    @inf008shorts Год назад

    YOU ALWAYS TALK TO THE POINT. AMAZING AND TIME SAVING

  • @garymurphy8969
    @garymurphy8969 3 года назад +2

    nice and concise and to the point as usual

  • @manuelalfonzoml
    @manuelalfonzoml 3 года назад

    Just when I needed an explanation

  • @robolist2277
    @robolist2277 3 года назад +6

    How tf do you know exactly what video to make?
    Awesome content

  • @nothjg
    @nothjg 3 года назад

    I just bought domain and deployed my site was thinking what is dns and how it works thank you

  • @kayode8428
    @kayode8428 3 года назад +17

    Studying for my CCNA and literally learned about this 2 days ago.

    • @Rehaaabek
      @Rehaaabek 3 года назад +1

      Few weeks ago i completed final exam… It was really hard i got 71% and i studied for like two months

    • @kayode8428
      @kayode8428 3 года назад

      @@Rehaaabek Two months? Really? That's impressive.

    • @Rehaaabek
      @Rehaaabek 3 года назад +1

      @@kayode8428 Yeah i'm quite proud of myslef but tbh i'm lazy person that procrastinates almost every time so it was hard time during my studying sessions... I hope u will pass them too ;)

  • @stevenalexander6262
    @stevenalexander6262 3 года назад +1

    I can't believe this video explained DNS 10x better, clearer, and smoother than my teacher at school. Keep it up, loving it

  • @harounach
    @harounach 3 года назад +2

    I like your short videos there are very helpful. Thank you.

  • @Chris-xl3ly
    @Chris-xl3ly 3 года назад +2

    Your content is amazing

  • @abiodun6897
    @abiodun6897 3 года назад

    Lol wtf, I literally just started using Google DNS on my phone some minutes ago. It's faster than normal ISP. Wow you're a wizard.

  • @Mohamed-nt2hf
    @Mohamed-nt2hf 3 года назад +18

    100 seconds of hashing algorithms

  • @azeezlukman3055
    @azeezlukman3055 3 года назад +1

    Great video, thanks.
    It's better ended with more short and informative video.

  • @josephchen8738
    @josephchen8738 3 года назад

    These videos are just so well made

  • @comradered8125
    @comradered8125 3 года назад +4

    Wow so now i am an expert in DNS in 100 seconds

  • @youssefelmoumen916
    @youssefelmoumen916 3 года назад +1

    I have an exam today !
    I know how DNS works
    And I still want to watch this

  • @Kapcash
    @Kapcash 3 года назад

    Nice! Now I need it for Proxies and Reverse Proxies 🙏

  • @yungifez
    @yungifez 3 года назад +1

    My respect for ppl that built this

  • @paraschavan014
    @paraschavan014 3 года назад

    This channel don't deserve dislike button...

  • @modestas2890
    @modestas2890 3 года назад +1

    Your videos are so good

  • @bp094p21
    @bp094p21 3 года назад +1

    finally a fireship video where I already knew what he was explaining 😅

  • @EddieDemon
    @EddieDemon 3 года назад

    And now the deeper dive onto the dangers of CNAME. Did some random testing and I think that not many people know the power and therefore danger of CNAMEs

  • @hroman_codes
    @hroman_codes 3 года назад

    Great as always!

  • @cloutdevelopers8633
    @cloutdevelopers8633 3 года назад

    I think you have just explained, the first semester of my course in 100 secs.

  • @teggolT
    @teggolT 3 года назад

    Like it. I've got a domain and never knew what a,mx,cname ... Meant. I still have to look up AAAA and when I'm dumb HTTPS, but still a great video.

  • @mindasb
    @mindasb 3 года назад

    Additionally the TXT records are used for email security (SPF, DKIM, DMARC records).

  • @shanujha7245
    @shanujha7245 3 года назад

    T'was a great refresher. Thank you.

  • @luis96xd
    @luis96xd 3 года назад

    Amazing video! Well explained!
    What is FTP and how it works?

  • @zuraabramishvili1190
    @zuraabramishvili1190 10 месяцев назад

    Still have no clue about dns but thanks for the explanation👍

  • @sandeepsoni7269
    @sandeepsoni7269 3 года назад

    Best 100s of my life.

  • @AmxCsifier
    @AmxCsifier 3 года назад

    Prisma is so cool rn, please make a vid about it

  • @MichaelDixzw
    @MichaelDixzw 3 года назад

    Moooore Videos like this

  • @augusto256
    @augusto256 3 года назад

    Wonderful. Please, make the next video about DSP (Digital Signal Processor).

    • @augusto256
      @augusto256 3 года назад

      @@TheHermitHacker well not directly related to the web, but it's very good to know.

  • @codecatt
    @codecatt 3 года назад +4

    Hey Jeff, Would you please make videos on Makefile or CMake?

  • @rakshitpatel9664
    @rakshitpatel9664 3 года назад

    Superb

  • @xerxes-ei9gl
    @xerxes-ei9gl 3 года назад

    Great video

  • @enclocreations4427
    @enclocreations4427 Год назад

    “It maps urls to an ip address” bros been coding so much he’s using JS terminology in his English now.

  • @FalseDev
    @FalseDev 3 года назад +2

    I would love to have a webassembly with rust in 100 seconds and beyond

  • @imnickrm
    @imnickrm 3 года назад

    Future video: Computer Science in 100 seconds

  • @ward7576
    @ward7576 3 года назад

    This should get a longer video.

  • @oliveringle1351
    @oliveringle1351 3 года назад +1

    In school they show you really bad government made videos about this stuff when they should be showing you fireship videos

  • @Kayzewolf
    @Kayzewolf 3 года назад

    Now, to answer the "What happens when you enter a URL into a web browser" interview question with this and see them stop me before getting to the TCP handshake part.

  • @snehel1586
    @snehel1586 3 года назад

    can we have a complete playlist on networking for web developers ???

  • @abinahsahoo8135
    @abinahsahoo8135 3 года назад

    Powerful 100 second

  • @ironsteal
    @ironsteal 3 месяца назад +1

    It's got piggy back payload that one the dots open it stops it from being closed. Jamming the cache and freezing the system.

  • @suryakaransharma2931
    @suryakaransharma2931 3 года назад

    Hey, I really like your content on youtube😄 as well as on fireship.io. I just wanna where do get those icons that you use in your videos?? like the one who is wearing hoddie and using laptop, I really liked that one but couldn't found on google.

  • @blessinghirwa
    @blessinghirwa 3 года назад

    I like you tone.

  • @somzzychuks3722
    @somzzychuks3722 Год назад

    so much info in 100s.

  • @Md-sl2sy
    @Md-sl2sy 10 месяцев назад

    Well that was helpful

  • @Xenon77x
    @Xenon77x 3 года назад

    Hi Jeff, will there be angular content in future?

  • @undefinedvariable8085
    @undefinedvariable8085 3 года назад

    Ok, so to clarify; does the authoritative DNS server respond with the IP address of the nameserver?
    Considering that we find these NS urls/domain names under the SOA (start of authority) in the zone file as well.

  • @tnajikhalid6292
    @tnajikhalid6292 3 года назад

    Video about micro frontend please 😁😁

  • @page_of_sky_
    @page_of_sky_ 3 года назад

    What is the font you have used for text ?

  • @neillunavat
    @neillunavat 3 года назад

    Do some sorting algorithms in 100s...

  • @tapu_
    @tapu_ 3 года назад +1

    Dude how do you know what I wanted to learn?

  • @mcearc3993
    @mcearc3993 3 года назад

    100 sec of ARP request? I could really need that...(studying cs)

  • @smayansahu1070
    @smayansahu1070 3 года назад +1

    Phaser js tutorial when??

  • @darkmix5223
    @darkmix5223 3 года назад

    Hahahhha I didn't understand anything whoho🤣🤣😂😂😂😎😎. Just kidding, you explained it well.😎😎😎🤩🤩🤗

  • @AtomicCodeX
    @AtomicCodeX 3 года назад +10

    Fun fact: there are more Domain names available than IP addresses.

  • @sodiboo
    @sodiboo 3 года назад

    0:04 boo for visual accuracy, i tried pinging fireship.io and it doesn't resolve the same IP as in the video

  • @hotterfrenchfry
    @hotterfrenchfry 3 года назад

    Stop reading my mind Fireship

  • @ikhsanfadillah9689
    @ikhsanfadillah9689 3 года назад

    Amazing

  • @RashaIbrahim89
    @RashaIbrahim89 3 года назад

    Thank you, but please put CC.

  • @rishabhgupta2085
    @rishabhgupta2085 3 года назад

    great video. who the f*** disliked.

  • @heavyrain5388
    @heavyrain5388 Год назад

    Genuine question. Why do we need 3 servers for it?

  • @madhavmadhusoodanan1877
    @madhavmadhusoodanan1877 3 года назад

    Fireship just knows when you need something.
    Also, please please demystify this DNS thingy further.

  • @diegoalexander1425
    @diegoalexander1425 3 года назад

    a video of how the proxy server works

  • @ihsanmohamad521
    @ihsanmohamad521 3 года назад

    Can you do CS degree in 100 seconds?

  • @archit7606
    @archit7606 3 года назад

    Please make a tutorial on "Firebase Firestore Data Bundles" for Android !
    It's very important ! Please

  • @carlonnrivers
    @carlonnrivers 3 года назад

    DNS 100secs and beyond would be good

  • @MobiusCoin
    @MobiusCoin 3 года назад

    Accredited by the non-profit ICANN. Okay, finally. That's the piece of the puzzle that always confused me. Like... why can the registrar's sell me domains? Like, where did they get them from?

  • @soulninjadev
    @soulninjadev 3 года назад

    holi i've never clicked so fast

  • @hepticftw
    @hepticftw 3 года назад

    nice

  • @Freddan0
    @Freddan0 3 года назад +1

    Now do ENS 👀

  • @yopro_20
    @yopro_20 3 года назад

    me already knowing. im 4 universes ahead of u fireship

  • @John845
    @John845 3 года назад

    100 seconds of ArnoldC

  • @laurencetrippen6804
    @laurencetrippen6804 3 года назад

    It was only a matter of time before the fireship:// protocol resolved DNS.

  • @indykoning
    @indykoning 3 года назад

    So if A stands for Address that must mean AAAA is for AAAAddress

  • @danpanther
    @danpanther 11 месяцев назад

    I like that this was voiced by Andrew from Big Mouth