Latest / The Hedge / Best of the Hedge: Episode 5 on DoH (Part 1)
Transcript
- 0:00Join us at The Hedge for a conversation
- 0:02about engineering,
- 0:03technology, and business. In this episode, Jeff Houston,
- 0:06Russ White, and Tom Ammon dig into the
- 0:09first part of their discussion of DNS over
- 0:11HTTPS.
- 0:24Good evening, Jeff. I think it's morning for
- 0:26you in Australia because you're upside down.
- 0:30It is morning. I'm on my head, but
- 0:32the sun is out. Yes.
- 0:34What you see above, Jeff, which you can't
- 0:36really see is actually
- 0:38the floor. Just don't tell anybody that.
- 0:43Tom, how are you tonight?
- 0:45I'm doing fine.
- 0:47Good. Good. So
- 0:49This on this episode of the hedge. We're
- 0:51here to talk about dough
- 0:52If you say it real fast 10 times,
- 0:54you'll understand what it means
- 0:56dough
- 0:59DNS over https
- 1:01and, Jeff wrote an article in the Internet
- 1:04Protocol Journal, which was really really good. And
- 1:06by the way, if you don't read the
- 1:07Internet Protocol Journal, you should
- 1:10it's an occasional. I don't know that Olay
- 1:13does, I'm not sure how consistent Olay publishes
- 1:15it. But when it does come out, it
- 1:17generally has very good articles in it like
- 1:19this one by Jeff. It's well worth reading.
- 1:22So, Jeff, talk to us about dough a
- 1:24little bit. Tell us what it is,
- 1:27And then we can back into trying to
- 1:29understand some of the architectural
- 1:31issues and stuff that's going on there
- 1:33Okay, you know, thanks Russ and, good morning.
- 1:37You and John
- 1:40Look,
- 1:40it's one of those really simple acronyms. It's
- 1:43DNS
- 1:44over
- 1:46HTTPS.
- 1:48Now you kinda go It's really Doze.
- 1:51Doze, I suppose, if you stress the s.
- 1:54But these days, HTTP is so yesterday. None
- 1:56of us are allowed to use it. So,
- 1:58you know, as soon as you say HTTP,
- 2:00you mean HTTPS.
- 2:04That sounds innocuous,
- 2:06and
- 2:06to some extent, it is.
- 2:10You might recall various little tools and techniques
- 2:14to get past firewalls going back almost twenty
- 2:17years,
- 2:18where we actually managed to get IP itself
- 2:21stuffed into
- 2:23HTTPS.
- 2:24What's that? IPH, I suppose, is the way
- 2:27you'd like to call it. And doing the
- 2:28DNS in HTTPS
- 2:30is certainly nothing new.
- 2:32And and to that extent, it's sort of,
- 2:34so what?
- 2:36But
- 2:37it became an RFC
- 2:39really quickly,
- 2:40about a year ago, 2018.
- 2:43And the IETF
- 2:45meeting in March
- 2:472019
- 2:49had a session to
- 2:50talk about dough, you know, I think we
- 2:52need to talk about dough,
- 2:54and the room was certainly packed.
- 2:57And the conversation was,
- 3:00highly tensioned.
- 3:02There's a lot of feeling about dough.
- 3:05And So it's What's the problem we're trying
- 3:07to solve? I know one problem is
- 3:09people complain about middle boxes,
- 3:12messing around with DNS,
- 3:14and another problem people are fussing about is
- 3:16man in the middle attacks against dns. Right?
- 3:18Those those are kind of
- 3:20Those are my impression of where the problem
- 3:22people. Well, we have to go back to
- 3:24the the I think for the I t
- 3:26f the snowden leaks and those allegations were
- 3:29a defining moment for the IETF.
- 3:32I'm like, they'd had their moments before when
- 3:34they were asked to standardize various, eavesdropping protocols.
- 3:38And, you know, some of the really old
- 3:39gray beards might remember the CALEA fuss.
- 3:42They are whether the IETF was gonna work
- 3:45on standardizing,
- 3:47tapping protocols in in the media gateway controllers.
- 3:51And it goes back further even to Raven?
- 3:54Yeah. All of those old debates. So so
- 3:56up comes
- 3:57up comes Snowden.
- 3:59And what emerges, of course, is this huge
- 4:01amount
- 4:02of
- 4:03state surveillance,
- 4:06in amongst and trying to find some oxygen
- 4:08from all the commercial surveillance that happens anyway.
- 4:12But some of the reactions to this
- 4:15was a long hard look at the IETF
- 4:18standard protocols
- 4:20with the view of saying,
- 4:22if you were a reasonably
- 4:25resourced observer
- 4:27and you had access
- 4:29to wires, to routers, whatever, you had access
- 4:31to infrastructure,
- 4:32how much could you see with not a
- 4:34lot of effort?
- 4:36And, of course, the results are quite surprising.
- 4:38If you're using unencrypted
- 4:40HTTP,
- 4:41there's a huge amount this is sitting there.
- 4:44But equally, if you're using the standard DNS,
- 4:48which is open,
- 4:49unencrypted,
- 4:51runs on UDP port 53,
- 4:54then you can see all the queries and
- 4:56all the answers. You kinda go, well, boring,
- 5:00not boring.
- 5:01Almost everything that you and I do
- 5:04starts as a name,
- 5:06even the ads. And your machine
- 5:09translates the DNS label, or part of that
- 5:12name, into an IP address and then goes,
- 5:14well, okay. Make a connection. Off we go.
- 5:16Let's do fun stuff.
- 5:18So if I had
- 5:20an up to the second
- 5:22record
- 5:23of all of your queries
- 5:25as you make them,
- 5:28I know what you're doing.
- 5:29I know who you are.
- 5:31I think I can put you into a
- 5:32profile.
- 5:33I think I understand you.
- 5:36And if I work just a tiny bit
- 5:37harder, I think I know what you're gonna
- 5:39do next.
- 5:41Now that's kinda chilling in so many ways
- 5:44because all you're doing is just playing on
- 5:46your computer,
- 5:47yet the sort of data exhaust, the fumes
- 5:51that come out of your digital wire
- 5:53are astonishingly
- 5:54rich in information.
- 5:56And so
- 5:57the the move was on at that point
- 5:59to harden up our protocols and one of
- 6:01the places we wanted to harden up, was
- 6:03the DNS itself.
- 6:05So the sort of Uber the overall project
- 6:08was called DNS privacy,
- 6:10and there are a number of approaches that
- 6:13have been made to try and improve the
- 6:15DNS to make it not impossible,
- 6:17certainly not impossible to look at, but to
- 6:20make it harder.
- 6:21There's no absolutes in this world, but if
- 6:24it costs you a large sum of money
- 6:25to see what I'm doing, you won't do
- 6:27it casually. You might still do it, but
- 6:30it won't be a casual decision. If it's
- 6:32gonna cost you a lot of money to
- 6:33find out what I'm doing, you're gonna figure
- 6:34out whether you wanna do it or not.
- 6:36And that's kinda where this work started.
- 6:39So
- 6:40the first thing was, well, what can we
- 6:42do about the DNS? Well,
- 6:44it's an awfully chatty protocol,
- 6:46but it chats in the clear.
- 6:49So can we
- 6:51kind of make it chat down an encrypted
- 6:54wire?
- 6:55And the answer, surprisingly, or maybe not so
- 6:58surprisingly, is sort of, you know, yeah, we
- 7:00can.
- 7:01And this started
- 7:03the entire issue of DNS over something other
- 7:07than open UDP.
- 7:09Now
- 7:11right at the word go, the DNS actually
- 7:13had two transport protocols, TCP and UDP.
- 7:16We used UDP because it was fast, efficient,
- 7:20lightning quick, just the thing you need for
- 7:22the DNS.
- 7:24Oddly enough, it's also really easy for a
- 7:27third party to manipulate,
- 7:29alter,
- 7:30fake,
- 7:31and generally make a menace of themselves because
- 7:34it's UDP.
- 7:36I send out a query to a supposed
- 7:38IP address.
- 7:39I get back an answer
- 7:41from a supposed IP address.
- 7:44Is the machine
- 7:46that is faking the answer the machine I
- 7:49sent the the query to? I don't know.
- 7:52Is this a real answer?
- 7:53I don't know.
- 7:55Should I trust it?
- 7:57Well, everyone does all of the time. Well,
- 7:59doesn't doesn't DNSSEC solve that problem, though, that
- 8:02particular problem?
- 8:03Look. If if everyone signed, if we're in
- 8:06the room of DNSSEC,
- 8:07I would say that's a whole lot better
- 8:09than the room we're in now,
- 8:11but no one signs their domains with DNSSEC.
- 8:14So an awful lot of focus sitting there
- 8:16with the magnifying glass going, if you sign
- 8:18it, I can check it.
- 8:19But if no one signs so what well
- 8:22and beyond that even I think even going
- 8:25to that point Even if everybody did sign
- 8:28you still could do man man in the
- 8:29middle attacks from what I understand well
- 8:32Okay, this is one of these but you
- 8:34could
- 8:35But this is one of these age old
- 8:36tensions between security and speed.
- 8:39Right.
- 8:40Over in browser land,
- 8:42they talk about the billion dollar millisecond.
- 8:45And at one point, you know, one of
- 8:47the browser folk had even toyed with the
- 8:49concept of putting the DNS right inside the
- 8:51browser because it would just shave off milliseconds.
- 8:54They do all kinds of weird and wacko
- 8:56tricks.
- 8:59If you want to validate your DNS responses,
- 9:03you better bring a packed lunch
- 9:06and possibly a few supplies because your web
- 9:09experience
- 9:10is about to get an awful lot slower.
- 9:12And and no one's willing to go there.
- 9:15Right. So, you know, you might say, well,
- 9:17let's all use DNSSEC.
- 9:19But in a world where one second is
- 9:21regarded as an as an eternity,
- 9:23you know, just no one's gonna do it.
- 9:26So,
- 9:28okay, we need something different. We need something
- 9:30a bit better. We need something that's fast
- 9:33and certainly no slower than the DNS as
- 9:35we understand it,
- 9:36but doesn't kind of broadcast what you're doing
- 9:39to your neighbors, your ISP,
- 9:41and and various other folk who have an
- 9:43interest in seeing what you're doing.
- 9:45And the approach started,
- 9:48I suppose, innocuously,
- 9:50like all things.
- 9:52You have to break down the DNS into
- 9:54two parts of a conversation.
- 9:56There's me and you out at the end.
- 9:59And pretty typically, when we turn on our
- 10:01machines,
- 10:03our infrastructure, the normally, the Internet service provider
- 10:06says, hi. Here's an address for you to
- 10:08use. Here's you know how to get started.
- 10:09By the way,
- 10:11I've rigged up some DNS resolvers, what we
- 10:13call recursive resolvers.
- 10:15Load those IP addresses into your machine, and
- 10:18whenever you have a query, just ask us,
- 10:21and we'll give you the answer.
- 10:23And so that first hop
- 10:25is called the stub, me,
- 10:28the stub resolver, the endpoint,
- 10:31to the first piece of DNS machinery
- 10:33that's doing the hard work, the recursive resolver.
- 10:38Most ISPs run recursive resolvers, and there are
- 10:41a few other big companies out there.
- 10:44Google springs to mind.
- 10:45Cisco bought OpenDNS.
- 10:47There's Quad nines. There's,
- 10:50Cloudflare.
- 10:51There's a bunch of these folks that also
- 10:52run
- 10:53open recursive resolvers.
- 10:55If you just do nothing, you're probably gonna
- 10:57run with the resolve that your ISP gave
- 10:59you.
- 11:00If you make an effort, you can go
- 11:02and use someone else's.
- 11:04Now the next step, recursive to the folk
- 11:07who really know the answer, the authoritatives,
- 11:10is not part of what we're talking about.
- 11:13So I ask recursive. The recursive asks the
- 11:15authoritatives.
- 11:16Let's just ignore that second part of the
- 11:18puzzle.
- 11:20It has its problems, but let's not talk
- 11:22about it today. Let's talk about the bit
- 11:24that matters,
- 11:25the bit where you know it's me,
- 11:27where Jeff is making queries, and it's pretty
- 11:30obviously Jeff.
- 11:31And what we're trying to do is to
- 11:33stop other folk from looking at Jeff making
- 11:35these queries.
- 11:36So what we'd like to do is encrypt
- 11:40the session between my machine
- 11:42and that recursive resolver over there.
- 11:46Now
- 11:47we spent a lot of time
- 11:49making sure that the web was secure using
- 11:52a thing called transport level security, TLS.
- 11:55Yep. It started off as a secure socket
- 11:57layer and then sort of morphed by name,
- 12:00but it's it's actually the same old stuff.
- 12:03And the way it works, of course, is
- 12:08when I open up a secure session,
- 12:10I first start in the clear
- 12:13and say, hi,
- 12:14Russ. Good to see you.
- 12:17I wanna connect to rus.net.
- 12:20And you go,
- 12:23okay.
- 12:24Here's
- 12:26a key
- 12:27for rus.net,
- 12:29and here's my certificate.
- 12:32And I go, well, fascinating. Why should I
- 12:34trust this random digital stuff?
- 12:37But luckily, I've got inside my machine
- 12:40about 1,500 trust points.
- 12:42And if I can make a secure
- 12:45chain of signing
- 12:47from one of my local trust points
- 12:50to the digital key that you've offered me,
- 12:53I believe that certificate, and I believe it's
- 12:56you, and I'm now talking to rush.net.
- 12:59You kinda go, well, so what? What about
- 13:01my Internet banking?
- 13:02You know? I'd like to know I'm talking
- 13:04to the right person. Offer me a certificate.
- 13:07But that's not all. Because at that point
- 13:09then, the two of us do a very
- 13:11rapid exchange and create a session key,
- 13:15And then all further communication
- 13:17is encrypted using that session key.
- 13:21The beauty of the session key is even
- 13:23if you know the public key of rust.net,
- 13:25it won't help you. And even if you
- 13:27know my public key, it won't help you.
- 13:30To actually break into that session, you need
- 13:32to have knowledge of private keys. And by
- 13:34definition,
- 13:35if you know my private key, you're me.
- 13:38So TLS, as far as we understand, and
- 13:41and with some caveats, TLS is a pretty
- 13:43good protocol.
- 13:44It better be
- 13:45because
- 13:46there's nothing else in the cupboard.
- 13:49Yeah. I was gonna say that's pretty much
- 13:50all you got. Right. It's kind of what's
- 13:53security on the Internet? TLS. Yeah. Well, what
- 13:56if TLS doesn't work?
- 13:58Jeez. You shouldn't have asked that question because,
- 14:00hey,
- 14:02no answer.
- 14:03Right?
- 14:04That's it. That's that's that's you have to
- 14:06live with it.
- 14:07So we wanted to encrypt the session between
- 14:10the stub and the recursive, and so you
- 14:12reach into the toolbox and you go, TLS.
- 14:15Now, TLS is a TCP protocol,
- 14:19not UDP,
- 14:21because this security association takes a little bit
- 14:24of handshaking,
- 14:25and there's kind of a shared crypto state.
- 14:28And while some folks spend a lot of
- 14:30time and a lot of effort trying to
- 14:31make
- 14:33UDP
- 14:34TLS work,
- 14:36DTLS, Datagram TLS,
- 14:39the results have been largely paperwork.
- 14:42As someone once described about the old ancient
- 14:44OSI protocols as vaporware about paperware, or was
- 14:48it the other way around? Paperware about paperware.
- 14:51DTLS is largely the same kind of, you
- 14:53know, e.
- 14:55Looks fine on paper,
- 14:57and that's all you get. So, okay, we're
- 14:59down in TCP land.
- 15:01Now this DNS over TLS excited some reaction,
- 15:05and one of the first of these was
- 15:08the DNS will melt because there are literally
- 15:11trillions of these tiny transactions every single day.
- 15:14And if all of the servers had to
- 15:16run TLS,
- 15:17all the recursives instead of UDP,
- 15:19obviously, they'd all die and go to silicon
- 15:22heaven.
- 15:23That's an odd statement to make
- 15:26because
- 15:27we use the web
- 15:29like crazy.
- 15:31And there are just as many short web
- 15:33sessions probably as there are DNS queries and
- 15:36answers. I was gonna say they probably were
- 15:38not paying attention to the work done around
- 15:41ILMP,
- 15:42for instance.
- 15:44Right. So we know how to make
- 15:47massive TLS work. Right. Right? Because the web
- 15:50is living proof that trillions of sessions a
- 15:53day Right. And not work. Very fast DNS
- 15:56to work at the same time. Yeah.
- 15:58Okay. So
- 16:00DNS over TLS
- 16:02looks pretty good, and and it kind of
- 16:04does a couple of things which are not
- 16:06bad at all.
- 16:09I know who am I talking to.
- 16:11If I say I'm going to CloudFlare, if
- 16:13I'm, say, the quad nine, I get back
- 16:15a certificate.
- 16:17And so my friendly local spook agency
- 16:20cannot fake it out unless they've been playing
- 16:22with my machine.
- 16:24Unless they've done the Kazakhstan thing and inserted
- 16:28a fake certificate on my machine,
- 16:30I can't be fooled.
- 16:32Now, okay,
- 16:34install faxes it, you're dead, fine, we all
- 16:36know that.
- 16:37But on the assumption,
- 16:39my machine is roughly as, you know, I
- 16:41configured it and I have trust points that
- 16:42I am prepared to trust, then I'm talking
- 16:44to whom I want to talk to and
- 16:47no one else can see it while I'm
- 16:49talking to it. So that traffic is a
- 16:51secret between me and my chosen recursive resolver.
- 16:55This sounds great.
- 16:57No one cared.
- 16:59And, again, this is kind of moving towards
- 17:01dough. Why did no one care? They're geek
- 17:04knobs.
- 17:06So there are, what, four and a half
- 17:07billion users out there.
- 17:10Roughly, how many are gonna configure DNS over
- 17:12TLS into their machines?
- 17:15I've got
- 17:1610 figures on my hand. Okay. I'll go
- 17:1910.
- 17:20Yeah. That's because, honestly, I don't. I don't
- 17:22know. You know what? It's hard, and it
- 17:25doesn't quite work. And and and and so
- 17:28it largely remained a paper exercise going, we
- 17:30could do this. Aren't we clever?
- 17:32But as a tool for the masses,
- 17:34nah. It was never gonna happen. So everyone
- 17:36just yawned.
- 17:38Now
- 17:39the move from DNS over TLS to DNS
- 17:42over HTTPS,
- 17:44in protocol terms,
- 17:46is about one millimeter to the left.
- 17:50You know, if you think about it, it's
- 17:52still TLS.
- 17:53I still know who I'm talking to. It's
- 17:55still encrypted.
- 17:58And inside DNS over HTTPS,
- 18:01the packets are actually wire format DNS,
- 18:04which is the same as HTTPS.
- 18:08So
- 18:09nothing's changed.
- 18:11You go, well, what's the fuss about?
- 18:15Okay.
- 18:16Next next issue.
- 18:18If all you're doing
- 18:20is playing with the operating system and changing
- 18:23the way your operating system talks to the
- 18:26recursive resolver,
- 18:28so what?
- 18:29But the folk who really took this up
- 18:31were the folk who deal in HTTPS,
- 18:34otherwise known as the browser people.
- 18:37Now the browser people have a number of
- 18:39motivations.
- 18:41And in some ways, they're very worthy motivations,
- 18:44but they have their own motivations.
- 18:47They don't trust the platform.
- 18:50If you're Firefox,
- 18:52you're my customer. You're Firefox's customer.
- 18:55You're me, and I don't really care what
- 18:57the underlying Android or Apple or anything else
- 19:00is doing.
- 19:01I, Firefox, am here to protect you.
- 19:04So I want control.
- 19:06I want to make your browsing experience one
- 19:09that I control.
- 19:11I don't wanna leak.
- 19:13I don't wanna gratuitously
- 19:15send out information,
- 19:17and I wanna be fast. I want control.
- 19:20So you've offered me a way to do
- 19:22DNS over HTTPS,
- 19:25and I am an HTTPS engine.
- 19:28Well,
- 19:29marriage made in heaven. Let me do your
- 19:31DNS for you.
- 19:33So then why not just stick the resolver
- 19:35in the browser itself? That's what we're talking
- 19:37about. So that's what the whole angst is
- 19:40all about.
- 19:41The resolver gets stuck in the browser. Now
- 19:43the browser
- 19:44now has a knowledge of the DNS
- 19:47that no other application
- 19:48on your platform has.
- 19:51So your browser might know, I'm going to
- 19:53rust.net. Here's its IP address. Blah blah blah.
- 19:55I've done a web fetch.
- 19:57But if you bring up a terminal window
- 19:59and go SSH rust.net,
- 20:01the operating system goes,
- 20:05because it's not a common pool anymore.
- 20:08Right? So the application
- 20:10is now making its own choices.
- 20:14Now
- 20:15which resolver are you gonna go to? Because
- 20:17you're running HTTPS, and like the web, you
- 20:20can go anywhere.
- 20:22And so the ISP says, hi. Here's some
- 20:25friendly resolvers.
- 20:26Now you could be in China.
- 20:28You could be in Kazakhstan.
- 20:30You could be in many places
- 20:32that offer some kind of DNS censorship for
- 20:34free.
- 20:36Even The UK and Australia, it's just part
- 20:38of the service.
- 20:41We care. It's free.
- 20:43But if I'm a browser
- 20:45and I tunnel across to
- 20:48a DNS provider that says,
- 20:50I will translate anything that's in the DNS.
- 20:52I'm not going to censor you.
- 20:55I'm making an independent decision as a browser.
- 21:00Again, though, let's look at this a little
- 21:01bit more. If the browser is doing it,
- 21:05then it's no longer a nerd knob.
- 21:08So let's say,
- 21:09just for one
- 21:11microsecond,
- 21:12that Chrome decides to do it. And let
- 21:14me point out they have not decided to
- 21:16do anything yet.
- 21:18But if they did,
- 21:2078%
- 21:21of the world will then do it
- 21:23because that's its market share.
- 21:25So if Chrome decided to take all of
- 21:28its DNS
- 21:30and quietly direct it to a trusted recursive
- 21:33resolver
- 21:34that Chrome has chosen,
- 21:37no one else would see it because it's
- 21:39encrypted.
- 21:40No one else could argue with it because
- 21:42Chrome did it, and it would be hard
- 21:44to undo it because it's a nerd knob.
- 21:47And it would break all this and it
- 21:48would break all the CDNs. Right?
- 21:51Well, break a whole bunch of stuff.
- 21:53Not the least national policies, but CDNs, VPN,
- 21:56you you name it. A whole bunch of
- 21:58things would get broken that kind of assume
- 22:00the DNS works one way.
- 22:02And these guys are tunneling
- 22:04from the application itself
- 22:07across to some other point,
- 22:09a point that
- 22:10the user, the platform, and the intermediaries
- 22:13have no say in.
- 22:14It's the browser's choice.
- 22:17Now on the browser side, they kind of
- 22:19argue, look.
- 22:21You got caught with your fingers in in
- 22:23the till. You got caught looking. You got
- 22:25caught abusing us.
- 22:27We don't think you're worthy of the user's
- 22:29trust anymore.
- 22:30We, the browser folk, whose interests are you,
- 22:32the consumer,
- 22:33think you deserve better than this. So we're
- 22:36gonna take the decision away from you and
- 22:38basically put you in a different room where
- 22:40your DNS doesn't leak.
- 22:43So this is the kind of the pros
- 22:45and cons of the argument flying around here.
- 22:47The some folk kinda go, well, we're used
- 22:50to the DNS
- 22:51being
- 22:52an open piece of infrastructure.
- 22:54And whether you're a CDN provider or a
- 22:57VPN provider,
- 22:58whether you're a platform provider,
- 23:00like Android or or Apples with their Mac
- 23:03Mac OS's and iPhone, if that's your stock
- 23:05in trade, then
- 23:07you do the DNS.
- 23:08And if you're an ISP, you do the
- 23:10DNS.
- 23:12But the browser folk are kinda going, with
- 23:14DNS over HTTPS,
- 23:17I don't necessarily have to play your game,
- 23:20and I can use defaults
- 23:22inside my application
- 23:24that lift the application
- 23:25away from you
- 23:27and take it out of your control.
- 23:30Right.
- 23:31And at that point, you know, we light
- 23:33the firecrackers.
- 23:35We take a step back and watch the
- 23:37light show. Yes.
- 23:39Well, right. And it and it becomes I
- 23:41mean, there's just so much about this that
- 23:43is
- 23:44potentially troubling. Right? There's so much about this
- 23:47that could just that could go wrong. Not
- 23:50that it necessarily will, but it could.
- 23:54Well, let let's talk about this, and let's
- 23:56actually go there because, you know, why not?
- 24:00There is no doubt
- 24:02that the underlying certificate system that the DNS
- 24:05uses as its
- 24:06trusted rock of security
- 24:09is pretty corrupt and pretty horrible.
- 24:14We all wish that were otherwise,
- 24:16but
- 24:18folk who
- 24:19get listed
- 24:20inside software as a trusted,
- 24:22issuer of certificates
- 24:25are sometimes corrupted by, you know, mere money
- 24:28and do things that they should not do.
- 24:31And the problem is you can't tell a
- 24:33bad certificate from a good certificate. They're all
- 24:35just certificates.
- 24:37Symantec,
- 24:38which is now no longer in existence,
- 24:41got caught certifying
- 24:43the domain name that doesn't exist, example.com.
- 24:48Now
- 24:48if I tell you I'm a certificate authority
- 24:51and I hardly ever lie,
- 24:53and I'm not gonna tell you which ones
- 24:55I'm lying about,
- 24:58you can't trust anything I do because I
- 25:00could be lying for just you. You know?
- 25:03And this is the problem that kind of
- 25:05besets
- 25:06the certificate world.
- 25:08There have been numerous approaches to try and
- 25:10clean this up.
- 25:12And do you know the best answer we
- 25:14have?
- 25:16It's an old one, actually. It's called certificate
- 25:18transparency.
- 25:20The best answer we have
- 25:22is that a trusted certificate provider
- 25:25has to publish in the open
- 25:28every certificate it issues.
- 25:30So the only thing that keeps the CA
- 25:32system from going
- 25:34completely off the rails
- 25:36is openness.
- 25:38Now
- 25:39I can still be bad,
- 25:41and I've got about, I don't know, ten
- 25:44minutes before you'll notice.
- 25:47And and it's not a very good defense.
- 25:49But after about ten minutes, someone might see
- 25:52this logged fake certificate and go, that's bad,
- 25:55and we'll go and fix it up.
- 25:57But the point is, well, the only thing
- 26:00that's keeping all this stuff together is openness.
- 26:04Now the DNS
- 26:05was an open protocol.
- 26:07You could see it. Anyone could see it.
- 26:10And that was both its strength and its
- 26:12weakness.
- 26:13Because if
- 26:15I started to stand up a recursive resolver
- 26:18that lied,
- 26:20literally lied.
- 26:22You wanna go to facebook.com?
- 26:23Try, oh, 1.1.1.one.
- 26:26That's a lie.
- 26:28Well,
- 26:29I can see it's a lie because it's
- 26:31open.
- 26:32But what if your browser does it through
- 26:35an encrypted channel
- 26:36and the other end of the channel lies
- 26:38back? No one can see it.
- 26:41So
- 26:42one of the things we lose with DOH
- 26:45is actually the openness of the namespace.
- 26:48Now
- 26:50we talked a little bit about CDNs and
- 26:52VPNs and customized spaces.
- 26:55But what if
- 26:56I set up a trusted
- 26:58DoH server
- 27:00that deliberately
- 27:02creates a so called fake name space that
- 27:06is tuned against your application?
- 27:09Good or bad?
- 27:11It's kind of taking the split DNS model
- 27:14and making the split not obvious.
- 27:38Join us in the next episode of The
- 27:40Hedge as we continue our discussion of DNS
- 27:43over HTTPS with Jeff Houston.