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
If you're too young, and don't know what a phone book is, it's like DNS for phones numbers
Thanks I was so confused
thanks
lol 😂
lol twitter.com/fireship_dev/status/1412451775341232131
Phone book means like a Contact App?
There is something special about buying your first domain name and pointing it to your website
true
The feeling like you found your place in the world
@@SirusStarTV that’s not the feeling, it’s the truth
and then googling yourself and yours ite appears on the first page... so good
literally did this a few days ago, can agree
I teach at a university and I'm playing this when I get to the DNS section of my lecture!
Hopefully only as a supplementary resource. Please do an actual lecturer where students can have an opportunity to ask questions.
@@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
@@drizzzzz nice, exactly my kind of professor!
@@drizzzzz Lmao
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
Do I know how DNS works? YES.
Am I going to watch how it works? YES!
@Zelená Žaba yeah, and these videos are very satisfying to watch!
True af 😂
yes
true
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
Meanwhile, 2 days ago, I get asked about the DNS resolution flow on an interview, I mean fireship is really on point 🔥
Which company interview?
Conversation 24, it's in Netherlands
Same with Me also
@@krunalhedaoo6458 which company
100 seconds of RSA algorithm.
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
@@youtubepooppismo5284 cool
ed25519 is and should be the new standard before RSA
@@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”)
@@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
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.
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.
DNSSEC in 100 seconds would be interesting as well
that would be great
I'd love a "beyond 100 seconds", where you deepdive into how the system actually works and explain topics like DoH/T
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
One thing I've learned from this channel, if not everything, is that I can do anything.
Excellent info as always!
Will share this with my computer teacher 😎
Great video for people who have previously learned computer networking but need a refresher on certain parts.
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.
Man man 😭😭😭...I was searching for this a long time 😭😭💗💗 thanks
Always High Quality Videos Fireship... Thanks. Commenting so the algorithm blesses you sir
Is there any one else who knows how dns work and yet get a feeling of satisfaction after watching this amazing video?
More dev ops please. This server stuff needs to be demystified.
Hey Jeff, thnx for the awesome videos!
A "100 seconds of event-loop" video would be very cool 😎
Your videos are fantastic! 👍🏻
YOU ALWAYS TALK TO THE POINT. AMAZING AND TIME SAVING
nice and concise and to the point as usual
Just when I needed an explanation
How tf do you know exactly what video to make?
Awesome content
yes
@@Kat21 No
@@Chris-xl3ly Yes ?
I just bought domain and deployed my site was thinking what is dns and how it works thank you
Studying for my CCNA and literally learned about this 2 days ago.
Few weeks ago i completed final exam… It was really hard i got 71% and i studied for like two months
@@Rehaaabek Two months? Really? That's impressive.
@@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 ;)
I can't believe this video explained DNS 10x better, clearer, and smoother than my teacher at school. Keep it up, loving it
I like your short videos there are very helpful. Thank you.
Your content is amazing
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.
100 seconds of hashing algorithms
Great video, thanks.
It's better ended with more short and informative video.
These videos are just so well made
Wow so now i am an expert in DNS in 100 seconds
I have an exam today !
I know how DNS works
And I still want to watch this
Nice! Now I need it for Proxies and Reverse Proxies 🙏
My respect for ppl that built this
This channel don't deserve dislike button...
Your videos are so good
finally a fireship video where I already knew what he was explaining 😅
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
Great as always!
I think you have just explained, the first semester of my course in 100 secs.
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.
Additionally the TXT records are used for email security (SPF, DKIM, DMARC records).
T'was a great refresher. Thank you.
Amazing video! Well explained!
What is FTP and how it works?
Still have no clue about dns but thanks for the explanation👍
Best 100s of my life.
Prisma is so cool rn, please make a vid about it
Moooore Videos like this
Wonderful. Please, make the next video about DSP (Digital Signal Processor).
@@TheHermitHacker well not directly related to the web, but it's very good to know.
Hey Jeff, Would you please make videos on Makefile or CMake?
Superb
Great video
“It maps urls to an ip address” bros been coding so much he’s using JS terminology in his English now.
I would love to have a webassembly with rust in 100 seconds and beyond
yes
@@Kat21 Yeah
Future video: Computer Science in 100 seconds
This should get a longer video.
In school they show you really bad government made videos about this stuff when they should be showing you fireship videos
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.
can we have a complete playlist on networking for web developers ???
Powerful 100 second
It's got piggy back payload that one the dots open it stops it from being closed. Jamming the cache and freezing the system.
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.
I like you tone.
so much info in 100s.
Well that was helpful
Hi Jeff, will there be angular content in future?
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.
Video about micro frontend please 😁😁
What is the font you have used for text ?
Do some sorting algorithms in 100s...
Dude how do you know what I wanted to learn?
100 sec of ARP request? I could really need that...(studying cs)
Phaser js tutorial when??
Hahahhha I didn't understand anything whoho🤣🤣😂😂😂😎😎. Just kidding, you explained it well.😎😎😎🤩🤩🤗
Fun fact: there are more Domain names available than IP addresses.
yes
@@Kat21 yes
@@Chris-xl3ly yes
@@enmanuelr7 yes
trivial
0:04 boo for visual accuracy, i tried pinging fireship.io and it doesn't resolve the same IP as in the video
Stop reading my mind Fireship
Amazing
Thank you, but please put CC.
great video. who the f*** disliked.
Genuine question. Why do we need 3 servers for it?
Fireship just knows when you need something.
Also, please please demystify this DNS thingy further.
a video of how the proxy server works
Can you do CS degree in 100 seconds?
Please make a tutorial on "Firebase Firestore Data Bundles" for Android !
It's very important ! Please
DNS 100secs and beyond would be good
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?
holi i've never clicked so fast
nice
Now do ENS 👀
me already knowing. im 4 universes ahead of u fireship
100 seconds of ArnoldC
It was only a matter of time before the fireship:// protocol resolved DNS.
So if A stands for Address that must mean AAAA is for AAAAddress
I like that this was voiced by Andrew from Big Mouth