How DNS Works - Computerphile

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2020
  • How do websites marry up to their IP addresses? Dr Mike Pound explains the Domain Name System - DNS.
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottscomputer
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

ความคิดเห็น • 521

  • @justandy3438
    @justandy3438 3 ปีที่แล้ว +1806

    The nameserver be like: "I know a guy that knows a guy that can help you."

    • @mikejohnstonbob935
      @mikejohnstonbob935 3 ปีที่แล้ว +10

      unless the nameserver is set to recursive

    • @rakeshchowdhury202
      @rakeshchowdhury202 3 ปีที่แล้ว +32

      Imagine dns over tor:
      i know a guy that knows a guy that knows a guy.... thar will tell you about the guy

    • @imveryangryitsnotbutter
      @imveryangryitsnotbutter 3 ปีที่แล้ว +24

      DNS is no laughing matter! Why once, I met this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy, who knew this guy's cousin...!

    • @paulsteenbergen4223
      @paulsteenbergen4223 3 ปีที่แล้ว +16

      Can we trust this guy?
      - I don’t know for sure, he works for NASA though...

    • @all462
      @all462 3 ปีที่แล้ว +20

      DNS is no doubt 'SaulGoodMan

  • @raphaelabreu6757
    @raphaelabreu6757 3 ปีที่แล้ว +361

    From the look of the thumbnail, i tought Mike would say "Dunno" and the video would end.

    • @klyanadkmorr
      @klyanadkmorr 3 ปีที่แล้ว +4

      ☺ More like "The F*K If I Know!?"

    • @jfly609
      @jfly609 3 ปีที่แล้ว +1

      Made my day

    • @ganondos1888
      @ganondos1888 3 ปีที่แล้ว +1

      This is a wonderful comment

    • @fanllawf
      @fanllawf 3 ปีที่แล้ว

      It's a blackbox and you don't really need to know.

    • @kreassiva9138
      @kreassiva9138 2 ปีที่แล้ว

      Genius 😂

  • @rebmcr
    @rebmcr 3 ปีที่แล้ว +149

    Every time you're troubleshooting: "It's not possible for DNS to be the cause, it's completely unrelated."
    Also every time you're troubleshooting: "It was DNS."

    • @GutnarmEVE
      @GutnarmEVE 3 ปีที่แล้ว +1

      suggested solution: check wtf is up with your DNS ;)

    • @rebmcr
      @rebmcr 3 ปีที่แล้ว +6

      @@ayefries I literally just (right before lunchtime, less than an hour ago) resolved an issue caused by 1.1.1.1 not giving out ANY results for Fortinet requests.

    • @einsteinx2
      @einsteinx2 3 ปีที่แล้ว +4

      @rebmcr yeah I’ve had similar random issues with 1.1.1.1 and ended up moving back to Google’s 8.8.8.8. I wanted to try and at least reduce my use of Google services so they don’t have literally all of my information haha, but unfortunately they tend to have the best, most reliable option most of the time (e.g. Google search vs DuckDuckGo, Gmail vs like every other email service, etc).

    • @GutnarmEVE
      @GutnarmEVE 3 ปีที่แล้ว +1

      @@einsteinx2 The easiest way is to just use your ISP's DNS, or even your ISP-provided router (if applicable) as a forwarder.
      If you want something super-fast for free, you go to Google's servers these days. Just be aware that they are now aware of _every_ site you access (you're asking _them_ where that server is. And selling information is what's their business, after all).
      There's quite a few free ("open source community" I'd say for some) non-tracking services around aswell, some even blacklisting known phishing sites etc; they work fine, but you'll have to add a millisecond here or there, so it's not _as_ snappy as 1.1.1.1

    • @Mr.Leeroy
      @Mr.Leeroy 3 ปีที่แล้ว

      @@GutnarmEVE Great idea, all ISPs in my country are obligated by government to log all client traffic. Google may make money on it, ISPs may help make case for law enforcement.

  • @Degenerate76
    @Degenerate76 3 ปีที่แล้ว +231

    03:52 Actually, it's 13 ip addresses. This is a hard limit related to the size of DNS packets. These 13 addresses used to belong to 13 servers, but this was long ago expanded by the use of anycast routing to share those ip addresses among multiple servers. A packet sent to one of those addresses get routed to a server in the closest location. These days there are over a thousand root name servers.

    • @CCRLH85
      @CCRLH85 3 ปีที่แล้ว +36

      Yeah, that's what I thought too and I popped over to root-servers.org to verify. There are 13 "servers" belonging to 12 organizations (Verisign has two) which use anycast to serve from 1,309 sites as of today (2020-07-09).

    • @javabeanz8549
      @javabeanz8549 3 ปีที่แล้ว +8

      @@CCRLH85 Odd, this is a copy and paste from their site, "As of 2020-07-10, the root server system consists of 1086 instances operated by the 12 independent root server operators." Still the 9th here in the US, but some parts of the world are already on the 10th.

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว +1

      Ah, is that why the limit.

    • @michaelpound9891
      @michaelpound9891 3 ปีที่แล้ว +12

      Great clarification :) I think Steve is already planning a new video on this!

    • @rushvanth
      @rushvanth 3 ปีที่แล้ว +9

      @@lawrencedoliveiro9104 Size of a UDP packet, which is the protocol that DNS runs on ( it runs on TCP too but UDP is tried first for various factors) has a limit of 512 bytes per packet. So there's a limit on the number of addresses you can fit in it. More than that and you can't fit the answer in 1 packet and have to switch to TCP to send the complete info.

  • @marksterling8286
    @marksterling8286 3 ปีที่แล้ว +134

    Takes me back 25 years when setting up the first DNS server for British Steel that would resolve internet and intranet queries

    • @rohansampat1995
      @rohansampat1995 3 ปีที่แล้ว +9

      Boomer

    • @joecalderon3158
      @joecalderon3158 3 ปีที่แล้ว +1

      but anyway well played the card of transitory state of youth

    • @hello-vl9km
      @hello-vl9km 2 ปีที่แล้ว +5

      haha Im sure youre loaded now buddy stay blessed

    • @tomhekker
      @tomhekker ปีที่แล้ว

      Too bad your name is Mark and not Nigel.

  • @Superb_virg
    @Superb_virg 2 ปีที่แล้ว +36

    Great explanation. One of the few people who explains computer concepts very simply. This is an art. Thank you very much.

  • @BrowncoatInABox
    @BrowncoatInABox 3 ปีที่แล้ว +392

    When recommendations are faster than sub box

    • @rakeshchowdhury202
      @rakeshchowdhury202 3 ปีที่แล้ว

      Lmau

    • @dumboy886
      @dumboy886 3 ปีที่แล้ว +3

      TH-cam is definitely not fundamentally broken in many ways.......

    • @_ernst
      @_ernst 3 ปีที่แล้ว

      Or how to make people forget that TH-cam exists. :)
      I hate this change

    • @Diligent3294
      @Diligent3294 3 ปีที่แล้ว +1

      Am I the only one who confused substitution boxes with sub box? Maybe I've studied cryptography too much

    • @Knuddelfell
      @Knuddelfell 3 ปีที่แล้ว

      Subscribe to me to get a sub (:

  • @Darkhalo314
    @Darkhalo314 3 ปีที่แล้ว +1

    This channel is singlehandedly helping me pass my Network+ exam

  • @oliveski
    @oliveski 3 ปีที่แล้ว +1

    Videos with Mike are always really interesting. I really appreciate this guy!

  • @happinessd8429
    @happinessd8429 3 ปีที่แล้ว +27

    I love this man's explanations, Clean & Simple. So easy to understand and it helps me out alot!

    • @im-a-trailblazer
      @im-a-trailblazer ปีที่แล้ว

      Was going to say something similar, and also the energy and humor he uses to convey the message is great.

  • @Oladipupo_
    @Oladipupo_ ปีที่แล้ว +1

    Watched this video 2 years ago, didn't get much.
    After recent studying, it all makes sense. Great video, this channels is a very helpful reference for top level explanations.

  • @ittvblog
    @ittvblog 3 ปีที่แล้ว +61

    I see Dr. Michael Pound, I click like.

    • @mo99
      @mo99 3 ปีที่แล้ว +2

      You mean Sir Dr Michael Pound, CBE

    • @lazypunk794
      @lazypunk794 3 ปีที่แล้ว +4

      you pound the like button

  • @Denverse
    @Denverse 3 ปีที่แล้ว

    It's so good to see you after a long time.

  • @onlydeadlock6345
    @onlydeadlock6345 3 ปีที่แล้ว +95

    You should do a video on DNS records like MX, A, CNAME, TXT, etc.

    • @klyanadkmorr
      @klyanadkmorr 3 ปีที่แล้ว +2

      Yeah, I was first learning the DNS server farms out around and basic DNS servers are set up with text like data and they feed update each other until recent better security has been implemented because DNS can be hacked rerouted.

    • @zvpunry1971
      @zvpunry1971 3 ปีที่แล้ว

      And the Address and Routing Parameter Area where PTR records live... ;)

    • @rchandraonline
      @rchandraonline 3 ปีที่แล้ว +1

      @@klyanadkmorr yep, DNSSEC. Cryptographically signs replies so it can't be faked, unless you have managed to compromise the signing keys...usually very, very unlikely.

    • @-dash
      @-dash 3 ปีที่แล้ว

      I love how ambiguous the record names are lol. It's impossible to infer anything from them aside from CNAME. I mean that's gotta be name for something.
      But... A?

    • @zvpunry1971
      @zvpunry1971 3 ปีที่แล้ว +2

      @@-dash They are completely fine abbreviations. A is an address and AAAA is an address that is four times as big as the one with a single A. Mail exchangers can be abbreviated with -ME- MX, because eXchange begins with X. ;)

  • @supahfly_uk
    @supahfly_uk 3 ปีที่แล้ว +4

    Dr Mike on the mic, check 1 - 2.
    This guy is always interesting, i love his encryption videos :D

  • @julie.8
    @julie.8 3 ปีที่แล้ว +1

    I needed this video in my life for work - perfect timing! I swear Computerphile installed an agent in my brain. Every time I need to RampUp on a concept, there is new computerphile vid on it...or maybe youtube be creepin...

  • @juraev0056
    @juraev0056 3 ปีที่แล้ว +4

    Finally a new video from Dr. Mike

  • @joshualarouche989
    @joshualarouche989 3 ปีที่แล้ว +2

    Incredibly well explained! Thank you!!!!

  • @realeques
    @realeques 3 ปีที่แล้ว

    he's by far my favorite on this format

  • @pitsomokhu6302
    @pitsomokhu6302 ปีที่แล้ว

    This Guy is Gifted.. I am Enlightened 💡every time I watch his explanations... Thank you.

  • @grimreboot
    @grimreboot 3 ปีที่แล้ว

    Brilliant video, and straight to the point, thank you guys! This has been bugging me for a while....

  • @bluerizlagirl
    @bluerizlagirl 3 ปีที่แล้ว +2

    I used to explain it as like making a (land line) phone call to somebody in another town. You look up the town where the other person lives, dial the STD code for that place and then their number. The same code might cover several towns, just as several websites might be served from the same IP address. The name server does the same job as the code pages in the back of the phone book.

  • @helloworld9018
    @helloworld9018 3 ปีที่แล้ว

    Please, don't stop on making videos, you really inspire me :)

  • @sidhantsrivastava7426
    @sidhantsrivastava7426 3 ปีที่แล้ว

    I was waiting for this for so long...

  • @melind82
    @melind82 3 ปีที่แล้ว

    good introductory video, hopefully to be followed up with more technical deep dives into the morass of dns

  • @sickboy5919
    @sickboy5919 3 ปีที่แล้ว +89

    title: how something works.
    thumbnail: who tf knows really!?

  • @longliveriley21
    @longliveriley21 3 ปีที่แล้ว +1

    Would love to see Dr. Mike Pound do a video on JSON Web Tokens!!

  • @megaxlrful
    @megaxlrful 3 ปีที่แล้ว +10

    The DNS spoofing at the end is basically how the Big Firewall of China works in part. Because DNS has usually no encryption, they don't need to guess the request ID either, since they can just inspect it.

  • @zazzy7681
    @zazzy7681 3 ปีที่แล้ว +43

    Would be cool if you could do i video on how DNS is changing, DoH : DNS Over HTTPS and DNS over TLS. How unencypted DNS queries are typically stored by ISP to build internet connection records ICRs

    • @winsontam6334
      @winsontam6334 3 ปีที่แล้ว +1

      Yes. This.

    • @robertholtz
      @robertholtz 3 ปีที่แล้ว +1

      Zazzy I’d rather watch YOUR video. You seem quite knowledgeable.

    • @zazzy7681
      @zazzy7681 3 ปีที่แล้ว +1

      @@robertholtz Ha thanks, i studied computer science at UoN Mike and Julie are great lecturers for cyber security and comp sci things in general! Just wish UoN had more investment in cyber security and digital forensics modules while I was there.

    • @tsunghan_yu
      @tsunghan_yu 3 ปีที่แล้ว

      THIS

    • @bluerizlagirl
      @bluerizlagirl 3 ปีที่แล้ว

      There are ways to thwart secured DNS. If your records have a very short time to live, all queries will end up going to an authoritative nameserver. This request can be used to enable Web service temporarily, only to the IP address ultimately asking for its one. So only queries made in the clear will be answered.

  • @JaspervanStijn
    @JaspervanStijn 3 ปีที่แล้ว

    This is the best video thumbnail yet! :-P

  • @rajeshprajapati1851
    @rajeshprajapati1851 3 ปีที่แล้ว

    Very Well Explained !!! Thanks to Dr Mike Pound.

  • @shandrio
    @shandrio 3 ปีที่แล้ว +1

    Great video and explanation as usual! Now I need the DNS poisoning video!

  • @yasyasmarangoz3577
    @yasyasmarangoz3577 3 ปีที่แล้ว +7

    What a coincidence!
    I was looking for information about DNS the whole day, I love computerphile.

    • @maflones
      @maflones 3 ปีที่แล้ว

      You should get something better. This video is full of errors.

    • @yasyasmarangoz3577
      @yasyasmarangoz3577 3 ปีที่แล้ว

      @@maflones what

  • @_chappie_
    @_chappie_ 3 ปีที่แล้ว +1

    Give us more of this guy.

  • @hamzapuris
    @hamzapuris 3 ปีที่แล้ว

    Amazing explanation, thank you!

  • @kaushilkundalia2197
    @kaushilkundalia2197 3 ปีที่แล้ว

    That's some really quality content

  • @SyrusDrake
    @SyrusDrake 3 ปีที่แล้ว +1

    I'm so happy we finally got to see who lives in that vivarium!

  • @mysterion231
    @mysterion231 3 ปีที่แล้ว +1

    Great video thanks.
    You didn't talk much about cache invalidation, you just mention a TTL (how is it define, what happen if the IP changes before TTL expire, ...).
    And when the IP is resolved, how route name server are updated to be able to redirect faster/closer the next time a computer asks?
    Thanks a lot for your videos

    • @anldursun8300
      @anldursun8300 2 ปีที่แล้ว

      any source you can suggest dealing with topics you mention?

  • @deineoma1301
    @deineoma1301 3 ปีที่แล้ว

    Thank you computer papi for consantly saving my studies

  • @pcgamingmasterrace1360
    @pcgamingmasterrace1360 3 ปีที่แล้ว +1

    Love these videos!

  • @jamessadventures1380
    @jamessadventures1380 3 ปีที่แล้ว +20

    05:30 About to say "it could be" 10.0.1.2 and then checks himself when he realises it definitely couldn't be!

    • @R4ngeR4pidz
      @R4ngeR4pidz 3 ปีที่แล้ว +1

      Hahaha almost missed that, thank you for this comment

    • @Ultrajuiced
      @Ultrajuiced 3 ปีที่แล้ว +1

      Why again is that? It's not in the public IP range or why?

    • @stensoft
      @stensoft 3 ปีที่แล้ว +9

      @@Ultrajuiced 10.0.0.0/8 (i.e. 10.0.0.0 through 10.255.255.255) is one of three ranges reserved for private networks

    • @robbiejames1466
      @robbiejames1466 3 ปีที่แล้ว +4

      Or maybe 172.16......wait no. Perhaps 192.168......ah s**t

    • @Ultrajuiced
      @Ultrajuiced 3 ปีที่แล้ว +1

      @@stensoft Thank you. I've heard that before but didn't remember.

  • @ikhlakshaikh
    @ikhlakshaikh 3 ปีที่แล้ว

    This guy deserves he own youtube channel

  • @stannone7272
    @stannone7272 3 ปีที่แล้ว

    I like the awkward humor of this man. Would be nice to hang out with this dude for a bit.

  • @bryan69087
    @bryan69087 3 ปีที่แล้ว +1

    MORE MIKE POUND!!!

  • @MeditatingDennis
    @MeditatingDennis 2 ปีที่แล้ว

    Can you please come to my university and teach computer networks for the new first semestlers? Damn I needed this channel and especially you back then... Thank you for this video, great work. Enjoying your way of describing things very much. ;)

  • @EvilTaco
    @EvilTaco 3 ปีที่แล้ว

    This is actually quite useful since I'm in the process of creating my first own website

  • @angrymurloc7626
    @angrymurloc7626 3 ปีที่แล้ว +103

    I’d love if these vids were more technical

    • @maflones
      @maflones 3 ปีที่แล้ว +2

      They are not competent...

    • @p_serdiuk
      @p_serdiuk 3 ปีที่แล้ว +59

      Computerphile is a channel that explains professional concepts to laypeople, and the _lack_ of technical details is valuable.

    • @perrym8048
      @perrym8048 3 ปีที่แล้ว +40

      It gives you the general idea so you have a fundamental understanding you can go research more yourself. Even as a software engineer this is probably all you need to know about DNS

    • @bhageshdhankher8192
      @bhageshdhankher8192 3 ปีที่แล้ว +2

      @@p_serdiuk Hey,
      Can you suggest some channel cool like computerphile with moree techy knowledge ?
      Thankyou

    • @ezedjay
      @ezedjay 3 ปีที่แล้ว +1

      @@maflones I remember being in University - and I still know some Professors. They don't live in the real world for sure but saying they're not competent is a bit harsh. They are really expert - just in things that your average company doesn't need. If they had to they could probably adapt to what real world IT demands of you. They wouldn't be happy with it though.

  • @shellwhale8994
    @shellwhale8994 3 ปีที่แล้ว +1

    Nice as always! What about IRC?

  • @play_sports_and_read_books
    @play_sports_and_read_books 3 ปีที่แล้ว +17

    2:16 "Or it could be your ISP, if you live at home probably"
    Well, where do you live mate, we can send help

  • @bhaskarbhasku2921
    @bhaskarbhasku2921 3 ปีที่แล้ว +6

    Even though i know what dns is still watched whole video. I like both computer as well as number phile vids :)

  • @spicybaguette7706
    @spicybaguette7706 3 ปีที่แล้ว

    I don't know if you made a video about it already, but maybe you could make a video about DNSSEC and DNS over HTTPS and what problems they solve. Amazing thumbnail BTW

  • @statebankofindia
    @statebankofindia 3 ปีที่แล้ว

    good day! what timing! i just had a DSN issue with my laptop wifi and instead on trying to figure out what it was, i just connected it via cable! And this video shows up!

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 3 ปีที่แล้ว +2

    Worth contrasting the telephone system, based on 19th century technology where you have to remember someone’s telephone number (or maintain a directory on your phone), versus the Internet, developed in the 20th century, where the network itself takes care of finding the numbers for you, you just have to remember their names.
    The mobile phone in your pocket is such an advanced piece of technology, yet when you make a call or send an SMS to someone, it still falls back to this 19th-century way of finding them through the network--by a number instead of a name.

    • @d5uncr
      @d5uncr 3 ปีที่แล้ว

      The early Internet didn't have a DNS system but required you to keep track of the IPs yourself.
      A legacy of that is the /etc/hosts file in *nix systems and the inherited (and very badly placed - I have no idea what DNS and Drivers have in common) C:\Windows\System32\Drivers\etc\hosts file in the Microsoft world.

    • @giampaolomannucci8281
      @giampaolomannucci8281 3 ปีที่แล้ว

      that's because each number is unique, names aren't

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว

      Funny, then, that the world is running out of IPv4 numbers (addresses), but there are still plenty of domain names to go around.

    • @d5uncr
      @d5uncr 3 ปีที่แล้ว

      @@lawrencedoliveiro9104
      That's neither funny nor strange.
      You can make up almost any domain name, using any combination of letters and digits (and each domain name can have subdomains as well), but there is a limited number of IPv4 addresses.

    • @watfordjc
      @watfordjc 3 ปีที่แล้ว

      That's because phone numbers are unique. You can quite difficultly create an NAPTR record in DNS to point a SIP URI at a SIP server, although having people enter your SIP address in their mobile phone's dialling software is a completely different usability problem. You could also point your UK phone number at a SIP address, you just need to follow all of the requirements set out by the defunct UKEM and petition the UK government to take over control of 4.4.e164.arpa (UK ENUM) from Nominet (who gave up on it).

  • @liliwheeler2204
    @liliwheeler2204 9 หลายเดือนก่อน

    I really love the idea of the waking up in the morning and going "OH NO is Google where I left it???"

  • @PrimitiveFuturologist_YTC
    @PrimitiveFuturologist_YTC 3 ปีที่แล้ว +1

    Pleasantly surprised about the amount of information in an 8 min vid. Couldn't have explained it much better myself without going into Radix trees, resolvers, DDNS, BIND views & ACLs and DNSSEC. BTW, not sure there are many (if any) DNS implementations left that aren't patched against Cache poisoning since Dan Kaminsky released the research ~9 years ago.

    • @amaena
      @amaena 3 ปีที่แล้ว

      Oh there 100% are. The internet is a wild place.

    • @PrimitiveFuturologist_YTC
      @PrimitiveFuturologist_YTC 3 ปีที่แล้ว

      amaena Then they deserve what they get. >:-)

    • @amaena
      @amaena 3 ปีที่แล้ว +1

      @@PrimitiveFuturologist_YTC absolutely :) we did a scan of all the nameservers in one of the tld zones, and tried to fingerprint them. There were windows nt nameservers out there. It was scary! I mean, I'm impressed they are still up, but wow.

    • @PrimitiveFuturologist_YTC
      @PrimitiveFuturologist_YTC 3 ปีที่แล้ว

      amaena What’s the betting 389 is open on some of ‘em?

  • @JSHanta7
    @JSHanta7 3 ปีที่แล้ว +6

    I see mike Pound, I click the video.

    • @esquilax5563
      @esquilax5563 3 ปีที่แล้ว

      I click the video, I see Mike Pound

  • @IgnoreMyChan
    @IgnoreMyChan 3 ปีที่แล้ว +1

    Mike just can't stop fixing his sleeve 🤣 🤣

  • @pratikyemekyap8680
    @pratikyemekyap8680 3 ปีที่แล้ว

    Paylastiginiz icin bu faydalı bilgiler icin tesekkürler zil açık 👉🔔👉👏👍🏾

  • @magnuslord
    @magnuslord 3 ปีที่แล้ว +6

    Well I'll be damned, I always thought DNS stood for Domain name server, not domain name system. Thanks!

  • @PetrSojnek
    @PetrSojnek 3 ปีที่แล้ว

    It would be interesting to know what happens if the domain name doesn't exist. Is it number of bounces related, timeout related? Also what if the server IP does change. How does it work so this domain name is updated, or do you have to wait say 24 hours till the cache in all DNS servers get invalidated?

  • @rebarius
    @rebarius 3 ปีที่แล้ว

    I love your videos ❤️ wished I've done my bachelor degree in nottingham :)

  • @dinom8
    @dinom8 3 ปีที่แล้ว

    It's probably worth mentioning the hosts file as a potential first point of resolution before DNS

  • @stormapex7014
    @stormapex7014 3 ปีที่แล้ว

    wow,incredible video,explained it like an absloute pro.

  • @Sky_Shaymin
    @Sky_Shaymin 3 ปีที่แล้ว

    Oh a video about cache poisoning would be super cool. I know it is sometimes used for redirecting to login pages and the like but of course it is more often used as an attack vector.

  • @carl-marvin
    @carl-marvin 3 ปีที่แล้ว

    Can you please explain the new encrypted DNS (over https)? It's so confusing when you look at how many settings and server adresses you have to plug in to get it to work with windows.

  • @lawrencedoliveiro9104
    @lawrencedoliveiro9104 3 ปีที่แล้ว +1

    One drawback with DNS A records, in particular, is that they only give you an IP address, not a port number. So they are not sufficient to identify a service, only a machine which might provide that service. This was remedied later with the introduction of SRV records, but they are not heavily used.

  • @minirop
    @minirop 3 ปีที่แล้ว +8

    7:20: there are PI times 100,000 views. is that a numberphile video?

    • @whythosenames
      @whythosenames 3 ปีที่แล้ว +1

      miniro it is actually pi * 1,000,000

  • @shirkit5798
    @shirkit5798 3 ปีที่แล้ว

    Thumbnail = perfection

  • @nboisen
    @nboisen 3 ปีที่แล้ว +5

    What if an IP address changes before it expires in the IP service cache, so the IP address that it feeds back to the querying computer is no longer correct?

    • @pkelly20091
      @pkelly20091 3 ปีที่แล้ว

      After 2 weeks nobody has answered this, nobody knows the answer , what a shame !

    • @nboisen
      @nboisen 3 ปีที่แล้ว

      @@pkelly20091 Indeed. Maybe the powers that be with the answers have simply not noticed the question. LOL

  • @kathyh8047
    @kathyh8047 3 ปีที่แล้ว +20

    0:33 just bogo search through ips

  • @TheHamoodz
    @TheHamoodz 3 ปีที่แล้ว

    Can't wait for the DNS cache hacking video! It should be pretty fun!

  • @johnkesich8696
    @johnkesich8696 3 ปีที่แล้ว +1

    Given how rarely ip addresses change, I can't help but wonder if it wouldn't be more efficient to only have cache entries expire when the lookup fails or when space is needed. Has any research been done into that?

    • @amaena
      @amaena 3 ปีที่แล้ว

      IPs change allllll the time, especially with cloud services.

    • @ezedjay
      @ezedjay 3 ปีที่แล้ว

      Dude it's way more dynamic out there than you think. Have you done any research into it at all?

  • @BlackSuneEmpire
    @BlackSuneEmpire 3 ปีที่แล้ว

    I'm ready for the DNS cache poisoning video!

  • @quietackshon
    @quietackshon 3 ปีที่แล้ว

    Three seconds in and he's giving us the finger. Noice way to treat your audience mate.

  • @patrik5123
    @patrik5123 3 ปีที่แล้ว +1

    Okay this is a bit freaky...
    A few years ago, I had a corn snake. In a terrarium exactly like that one (except white), with that exact water bowl, that exact "cave", that exact log, and nearly the same 'vegetation'.
    A man after my own heart.

    • @JNCressey
      @JNCressey 3 ปีที่แล้ว +1

      That's a kitten, not a snake. You don't keep them in glass tanks. 🙃

  • @o-manthehuman7867
    @o-manthehuman7867 2 ปีที่แล้ว

    Just set up my website, this stuff is really fun to code for :D

  • @sylvainchevalier1711
    @sylvainchevalier1711 3 ปีที่แล้ว

    I love the thumbnail.

  • @DaVince21
    @DaVince21 3 ปีที่แล้ว

    Ooh, looking forward to the video on DNS cache poisoning!

  • @PatrickStaight
    @PatrickStaight 3 ปีที่แล้ว +1

    I was hoping for a more thorough explanation of DNS. Who gets the money when I register a domain? How does an "A" record work? If I test if a domain is free by typing it in my browser, do I run a risk of someone registering it before I do?

  • @giorgiocarrara646
    @giorgiocarrara646 3 ปีที่แล้ว +1

    Have wired and wireless communication exam on monday, what a coincidence! :,)

  • @brianx2405
    @brianx2405 3 ปีที่แล้ว

    every once in awhile, i forgot that Computerphile is a double entendre and i get re-excited when i notice it again, lol. computerphile/computer_phile. [brain bMyBrain[] = Mind.Blown();

  • @Bellenchia
    @Bellenchia 3 ปีที่แล้ว

    Thanks Mike

  • @user-hy8ld9ue5k
    @user-hy8ld9ue5k 3 ปีที่แล้ว +1

    do u do any security vids

  • @tarunkumar2191
    @tarunkumar2191 3 ปีที่แล้ว

    Please explain inside function working in AES and DES.

  • @NeilGhosh
    @NeilGhosh ปีที่แล้ว

    I am wondering why does it gets messy and have to add a query id to correlate request and response? Isn't it synchronous i.e. it waits for the server to return the IP (or suggestion to query another server). Also why would it accept a response from another (say malicious) server with same query id? whom it didn't even query (request)?

  • @aungthuhein007
    @aungthuhein007 3 ปีที่แล้ว

    What's that video with the snake on the left at the end?

  • @zer001
    @zer001 3 ปีที่แล้ว

    Cool topic!

  • @RottenMuLoT
    @RottenMuLoT ปีที่แล้ว

    I'm not sure I get how, for example, the root dns server get accessed to. For example, it cannot be by its name since it would trigger another DNS lookup. So I assume that some of thoses different kind of servers, if not all, have their IP adresses hardcoded and passed around everywhere. I just don't know and it's not explained.

  • @NeonNotch
    @NeonNotch 2 ปีที่แล้ว

    So name servers are recursive (?) DNS servers. Is that the same name servers configured when registering a domain as well?

  • @harrympharrison
    @harrympharrison 3 ปีที่แล้ว +1

    Would love a video on DNS cache poisoning!

  • @HazzyDevil
    @HazzyDevil 3 ปีที่แล้ว +6

    Recently setup Pihole which has worked phenomenally as a DNS server. Highly recommend everyone to look into it!

    • @scul00
      @scul00 3 ปีที่แล้ว +3

      @Red Dunkey wut?

    • @doom87er
      @doom87er 3 ปีที่แล้ว +6

      @Red Dunkey ah yes, if I string enough computery sounding words together people will think i'm smart!

  • @bradleysnay2223
    @bradleysnay2223 3 ปีที่แล้ว

    What happens when an IP address changes for a given domain name? Is there some cascading update for all the dns caches? Seems a bit inefficient unless there's some clever way that the caches are updated.

    • @RottenMuLoT
      @RottenMuLoT ปีที่แล้ว

      nope. you have to wait sometimes a couple of hours for the propagation to happen.

  • @Lordawesomeface01
    @Lordawesomeface01 3 ปีที่แล้ว

    How do they handle changing ips?
    eg. Google changes ip in the middle of the day and the legacy ip is cached. Does the ISP also cache the google name server or does it re-do the recursive search?

    • @PrimitiveFuturologist_YTC
      @PrimitiveFuturologist_YTC 3 ปีที่แล้ว +2

      Judicious use of short Time-To_live values (TTLs) on the records. If the owner of a service changes an IP address and your closest name server has a cache with a long TTL (E.g. > 1 day), then you'll likely experience what looks like connectivity issues as you're directed to the wrong IP address, until the TTL expires or the DNS Cache on the local server is flushed.

  • @SandBoxJohn
    @SandBoxJohn 3 ปีที่แล้ว

    Your computer will query its host file before making a query to the computers default gateway. The host file was the method of resolving IP address to domain names before the existence of the Domain Name System. It sill exist so that small networks can be setup a way to resolve host names on their networks without setting up and administrating a domain name server. I use mine as an add blocker by resolving domain that host advertising to 127.0.0.1 .

    • @igorthelight
      @igorthelight 3 ปีที่แล้ว

      "I use mine as an add blocker by resolving domain that host advertising to 127.0.0.1 . - "Same (but for blocking unwanted autoupdates)
      For Windows it's "%windir%\System32\drivers\etc" and you will have to open "hosts"

    • @SandBoxJohn
      @SandBoxJohn 3 ปีที่แล้ว

      @@igorthelight Syntax error, I've used it on both Windows and Linux. I dumped using Windows 3 years ago so auto updates is not an issue.

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 3 ปีที่แล้ว

      Yup. And in fact, the dnsmasq name server, which is designed for small setups like a home office, serves up exactly the contents of your /etc/hosts file, it doesn’t need (or understand) complex zone files like bind does.

  • @SteS
    @SteS 3 ปีที่แล้ว

    The link at the end of Mikes Snake cannot be clicked on. Is there a link to that?

  • @tdl3
    @tdl3 3 ปีที่แล้ว

    Love the thumbnail

  • @allanjmcpherson
    @allanjmcpherson 3 ปีที่แล้ว +1

    Now what happens if there is a cached IP address that is out of date? Does your computer try to go there and simply fail? I've never seen that so it seems unlikely. Does it try to go there, fail, and send another query indicating the IP address is out of date? Does it do something else altogether?

    • @warnold001
      @warnold001 3 ปีที่แล้ว +5

      It goes there and fails.
      Anyone who is going to change their IP should reduce the TTL for their records in advance so the change is picked up quickly, Or have both IP's working for the transition period.

  • @thewrastler
    @thewrastler 3 ปีที่แล้ว

    Lovely Andrew Marr impression here!!

  • @Gooberslot
    @Gooberslot 3 ปีที่แล้ว

    Now you should do a video on DNSSEC.

  • @steveDOTdigital
    @steveDOTdigital 3 ปีที่แล้ว

    Time to live vs time to live ... how come it is usually set in minutes? Surely it lives longer than that, or is this a setting that tells it how long it will take at the most to go live?