Latest / AUDIO – rule 11 reader / Hedge 274: DNS DELEG
Transcript
- 0:02Join us as we gather around the hedge,
- 0:04where we dig into technology,
- 0:05business, and culture with the finest minds in
- 0:08computer networking.
- 0:21Well, hello, Tom.
- 0:22Hey, Aris. It's been a while.
- 0:25The plant
- 0:26have you been turning the plant? It looks
- 0:28more even.
- 0:30I think my wife's been turning the plant.
- 0:33Oh, because it does look more even. That's
- 0:35a good thing. Yeah. Basically, if it looks
- 0:38good, it's her. If it looks like it's
- 0:39in need of help, it's probably me.
- 0:43So
- 0:44we missed a couple of recordings and
- 0:46stuff like that because I've been out of
- 0:48pocket for three weeks, and I need to,
- 0:51like, actually start editing and publishing again because
- 0:55we have, you know, I haven't published
- 0:58an an episode in three weeks now.
- 1:00So as we record this, there's a few
- 1:02episodes in the backlog that need to be
- 1:04recorded
- 1:05or edited and posted,
- 1:07and I need to find more people to
- 1:09record. I almost just told George was gonna
- 1:11record once a week.
- 1:15You're dropping that on me like, that's just
- 1:17a thing.
- 1:19Fine. Let's do three now.
- 1:21Let's do three now. It'll be fine. So
- 1:23we're being joined by George
- 1:25Michaelson,
- 1:26and he is upside down. You can't see
- 1:29it, but he is. Yep.
- 1:30He is. He's hanging from the ceiling having
- 1:33fun. It's lovely to be here again, Ross.
- 1:35Nice to see you eating Tom again.
- 1:38And the plant.
- 1:40Don't forget the plant. The plant's gonna feel
- 1:42bad.
- 1:43Yeah.
- 1:45That's that's the important thing.
- 1:48Alright. So, George, how are you? Everything okay
- 1:50in Australia?
- 1:52Yeah. Things are going alright.
- 1:54We've got a bit of flooding going on
- 1:56down in New South Wales, and that's a
- 1:57heavy trip. But you know what? That's what
- 2:00goes on in this part of the world.
- 2:01But it's a lovely time of year here
- 2:03for me. It's just beautiful outside, and things
- 2:05are buttering along as normal. All is good.
- 2:08So it's fun. When it's fun. When it
- 2:10floods in Australia, does the water swirl the
- 2:13other way?
- 2:15Yeah.
- 2:17We're kind of busy dealing with rescuing people
- 2:20off their ruins. There's not really a lot
- 2:22of time to,
- 2:24experiment
- 2:24with that. And I think that underlying
- 2:28force of coralis is perhaps
- 2:31overlaid with more dominant forces that have directional
- 2:35qualities.
- 2:36So
- 2:38wouldn't wanna wouldn't wanna argue the case strongly.
- 2:43It actually flows up towards the sky time.
- 2:47The rain comes from the ground
- 2:50Yep.
- 2:51Because they're upside down. Anyway
- 2:55Velcro was invented for a reason.
- 3:00So, George,
- 3:01let's talk about Deleg. What is it's d
- 3:05e l e g. Right? It is. So
- 3:09look.
- 3:10We can just say it's the DNS, and
- 3:12we're out of here. Right? I mean, the
- 3:13DNS is crazy. It's crazy.
- 3:16Normal life, you wanna fix something, you pull
- 3:19off the side of the road, you get
- 3:20the jack out, you jack up the car,
- 3:22you fix the tire, you put the car
- 3:23the jack away, you drive off again. It's
- 3:25cool. DNS,
- 3:27you don't stop. We're tinkering with this machine
- 3:29while we're running the baby.
- 3:32DAG is
- 3:33So so DNS has gone from being NP
- 3:36hard
- 3:37to NP complete.
- 3:40Oh, you can calculate in the DNS for
- 3:43sure.
- 3:44I mean, it's it's crazy town.
- 3:47But the thing is,
- 3:49we feel like we could do better.
- 3:52And it would be lovely if we could
- 3:54move into the house next door and do
- 3:56some work and kind of expand a bit.
- 3:58And people for a long time have been
- 4:01thinking of a number of different qualities in
- 4:03DNS
- 4:04they'd like to explore and do different.
- 4:07And the problem
- 4:08is how do you retrofit
- 4:10all this new technology
- 4:12into a system that is so fundamental? It's
- 4:14one of the three critical legs that drives
- 4:16the internet properly, the most important one. And
- 4:19Delek
- 4:20is an attempt to spin up
- 4:23a way of changing
- 4:25one,
- 4:26pretty much one,
- 4:28critical component of behavior in the DNS,
- 4:30which has lots and lots and lots of
- 4:33downstream consequences. And it's kind of fun.
- 4:36Okay. So
- 4:38what can you describe, like, what you're trying
- 4:41to do to DNS?
- 4:43What are you trying to do, George?
- 4:46Make it
- 4:47a joint.
- 4:49A joint.
- 4:50No.
- 4:51That's actually not what we're trying to do.
- 4:54So you got to understand
- 4:57two things that we're gonna be talking about.
- 5:00And one of them is domains
- 5:03and the concept of encompassing
- 5:05domains,
- 5:06and the other
- 5:08is distributed.
- 5:11So let's start with domains.
- 5:14DNS names,
- 5:16the d part is domain,
- 5:19Domain name system.
- 5:22Fully qualified
- 5:23domain
- 5:24name. Yep. Sorry.
- 5:27D, domain.
- 5:29You gotta think the lion king is is
- 5:32being held up in the sky, and his
- 5:34daddy lion is saying, see all those lands
- 5:37down there, son? That's all ours. That encompassing
- 5:41behavior in the lion king, all the things
- 5:43that are yours, that's your domain.
- 5:46Right?
- 5:47So in a domain name,
- 5:50it's working
- 5:53right
- 5:55biggest thing to left
- 5:58most local thing.
- 6:00So if we're talking about
- 6:03www.foo.com,
- 6:07the biggest thing here is .com. It's the
- 6:10domain of all names that end
- 6:13in .com.
- 6:14And the next biggest thing is
- 6:16food.com.
- 6:17It's the domain of all things that have
- 6:19food.com
- 6:20at the end. And www,
- 6:23the very last bit, which we could say
- 6:25was the terminal bit, it's the smallest itty
- 6:28bitty bit. But the thing is, you kind
- 6:30of need to understand
- 6:33how do I find
- 6:34who knows
- 6:35all the information
- 6:37at any given point?
- 6:39So in a domain model,
- 6:41it starts at the top.
- 6:45So say I wanna
- 6:47find www.foo.com.
- 6:50I've got to know howtofind.com,
- 6:53and somebody has to be able to tell
- 6:55me, okay. Here's how you find.com.
- 7:00That gap of asking the question, who knows
- 7:04about,
- 7:05and being told, here are the people who
- 7:07know about it, that is
- 7:10delegation.
- 7:11The know about it is
- 7:14I'm delegated
- 7:15to tell you everything about
- 7:18that bubble of stuff.
- 7:20So
- 7:21.com is
- 7:23delegated
- 7:24from the root, and the people who run
- 7:26.com
- 7:27have
- 7:29systems that are called name servers, and they
- 7:32are absolutely
- 7:33the ground truth authority
- 7:35for everything that is in .com.
- 7:38And when you go to one of those
- 7:40name servers and say, hey .com name servers,
- 7:43can you tell me who's got foo?
- 7:45They have to do a lookup in a
- 7:47system,
- 7:48find the name servers for foo, and say,
- 7:51sure. Here are the list of name servers
- 7:53we've been told about who can tell you
- 7:55about foo.
- 7:56And then you go, thanks. Bye. And you
- 7:58go and ask those name servers, hey, nameserversforfood.com.
- 8:03Can you tell me about www.food.com?
- 8:07And they have to go, why sure. That's
- 8:10us. We can tell you that. We know
- 8:12exactly how to tell you that. Job done.
- 8:16Okay.
- 8:17Building blocks, simple pieces,
- 8:20had to ask a lot of questions.
- 8:22There's like three, four sets of questions being
- 8:25asked here. But the thing is, that's how
- 8:27DNS has worked
- 8:29for centuries
- 8:31and centuries since DNS was invented in 1762
- 8:35in a small island off the coast of
- 8:36France. I actually think you're wrong. That's how
- 8:38it works. I think you're wrong. I think
- 8:40it was invented by the Egyptians. I think
- 8:42there are Egyptian hieroglyphs.
- 8:45Yeah. That say this is my DNS server.
- 8:48Yes. Yes.
- 8:50So
- 8:52couple of things come to the surface when
- 8:54you start talking about this.
- 8:57The first thing is,
- 8:59gee, the DNS is funny.
- 9:02And so this quality of what is my
- 9:04name server,
- 9:06you're asking the people one level above you.
- 9:09We often use
- 9:11hierarchies
- 9:12in family sense. So we might say grandfather,
- 9:15father, son, or grandmother, mother, daughter.
- 9:18You have to ask the grandfather
- 9:20to be told the name servers for
- 9:23the for the father, and you ask the
- 9:25father for the name servers for the son.
- 9:28You have to start at the top.
- 9:30But
- 9:31if you happen to know
- 9:33the name servers for the father, and you
- 9:35go, hey, dad. What are your list of
- 9:38name servers for your son?
- 9:41They can tell you
- 9:43different things.
- 9:45They could tell you one thing or two
- 9:47thing or three things or 10 things.
- 9:50And if you go to the sun and
- 9:51say, are these your name servers?
- 9:53The sun could say, oh, yeah, but I've
- 9:55got 20 other ones I didn't tell my
- 9:57dad about.
- 9:59You can have a disconnect
- 10:01between what the top down path says, other
- 10:05set of things, and what the child itself
- 10:08knows, other set of things that know about
- 10:10it. So this is where
- 10:13distribution comes to the table.
- 10:16Everybody loves to think it's easy to make
- 10:18something run better by splitting it in two
- 10:21and having two of them. And, you know,
- 10:23if all you're doing is sending out static
- 10:25information,
- 10:26gee, it's a wonderful world. You've got twice
- 10:28as many things to give the answers. What
- 10:31happens when people start changing things?
- 10:33Is one of them authoritative, or is both
- 10:36of them authoritative?
- 10:37And if they, for some reason, can't talk
- 10:40to each other, what happens if you change
- 10:42one and you don't change the other? So
- 10:45why
- 10:46would
- 10:47an authoritative
- 10:48server
- 10:50or yeah. Why would an authoritative
- 10:52server
- 10:53have a different
- 10:54set or
- 10:56I guess this would be authoritative servers.
- 10:59Yeah. Yeah. Have a different set Introduce introduce
- 11:01the word there. Authoritative.
- 11:03Yes. Authoritative server have a different set
- 11:08of authoritative
- 11:09answers
- 11:11than or places you could go to get
- 11:13an authoritative
- 11:15answer
- 11:16than,
- 11:17say, the TLD
- 11:19server does. Okay.
- 11:21So, Tom, do you ever use
- 11:23a post office box somewhere? You ever used
- 11:25a service like DHL?
- 11:28Sure. Sure.
- 11:30So
- 11:31you've got a real address. Right? Mhmm.
- 11:35And you tell that real address to some
- 11:37people, don't you? Right.
- 11:39But you tell some people if they wanna
- 11:41ship stuff to you to send it to
- 11:42PO Box 59 at the local DHL office.
- 11:45Sure.
- 11:47And sometimes you use FedEx because some people
- 11:49ship you stuff where they do a better
- 11:51job. So you tell them to use PO
- 11:52Box 692 of FedEx, don't you?
- 11:55Sure.
- 11:56So do you tell FedEx the PO box
- 11:58number at DHL?
- 12:00No.
- 12:02So right off the bat, there are reasons
- 12:04why people segment information they share about themselves
- 12:07and pass out into the world. So
- 12:10when you come into existence as a DNS
- 12:13name, oh, I bless thee as a DNS
- 12:16name existing in the global DNS system.
- 12:19How do you do that?
- 12:21You do that by going outside the DNS
- 12:24and doing two important transactions.
- 12:27Transaction number one, you hand over some dinero
- 12:31because nothing happens in the DNS these days
- 12:33without small payments of money to people who
- 12:36provide commercial services to do things in the
- 12:38DNS.
- 12:39And number two, you tell them the name
- 12:42servers that you want them to publish
- 12:54design DNS,
- 12:55the magic record
- 12:57that actually says I am a zone under
- 13:00this other thing,
- 13:01that is legally
- 13:03where those name servers reside. The list of
- 13:06things that are the name servers live in
- 13:08there.
- 13:09So
- 13:10you would think that we're all really good
- 13:12people, and every time we change those name
- 13:15servers and add another five or six, we're
- 13:18going to tell our parent up in the
- 13:20place that delegates down to us. People don't
- 13:23do that.
- 13:24They told them to. And as long as
- 13:26you don't change those two, those two will
- 13:28direct people down.
- 13:30But this is a huge worldwide distributed systems.
- 13:34And people acquire knowledge that then gets caged
- 13:38in the other half of the deal, not
- 13:39the part which is about delegating down, the
- 13:42part which is about serving it out into
- 13:44the world. And those people, the global public
- 13:47resolvers and the caching resolver systems,
- 13:50they sometimes walk into you and say, hey.
- 13:53What's your list of name servers? And you
- 13:54go a, b, c, d, e, f, g.
- 13:57But you don't give them all because,
- 14:00first of all, you're load balancing things, and
- 14:02you're controlling
- 14:03geographically
- 14:04where they enter your network, for instance. You
- 14:08right. So you're telling people answers based on
- 14:11qualities that are coming at you to try
- 14:13and optimize their experience.
- 14:15And what you just said five paragraphs ago
- 14:18in this monologue is,
- 14:21how come there's a difference here? Well, the
- 14:23difference is that you don't want to be
- 14:24telling your parent
- 14:26all of these changes that you're having to
- 14:28make. They're operational changes in you. Now there's
- 14:32another story here, which I haven't brought to
- 14:34the table,
- 14:35outsourcing.
- 14:36You're my parent, Russ. Hi, dad. And you're
- 14:40delegating a name to me. Well, I haven't
- 14:42got time to run it over here in
- 14:44Australia. I'm hanging on to the ceiling for
- 14:46dear life. I pass the job off to
- 14:48Tom.
- 14:49So Tom's gonna do all the service delivery
- 14:52for me. Now remember, I'm the child. I'm
- 14:55the one who has authority to tell you
- 14:58things are gonna change here. Tom's the guy
- 15:00who's actually charged with doing it. And I
- 15:03said to him, I'll give you a lot
- 15:04of money to make it efficient in Europe
- 15:07and Asia and the Pacific Islands and Antarctica.
- 15:11You work out how to do that. And
- 15:13he's now looking at my domain going, holy
- 15:16gee. I've gotta get a lot of changes
- 15:18going on here. So he comes back to
- 15:20me and says, could I have that magic
- 15:22token that lets you change data in your
- 15:25parent, Russ?
- 15:27Well, this is a real moment, Russ, because
- 15:29that magic token doesn't have degrees of freedom.
- 15:32It's an all or nothing token.
- 15:35If I give that token to Tom, he
- 15:37can change everything about me,
- 15:40every single thing, because we didn't design this
- 15:42system to intrude third parties into the machine.
- 15:46There isn't a limited permit token to let
- 15:48him modify only the thing he needs to
- 15:51modify. Tom, can I trust you?
- 15:53Of course.
- 15:55Yeah. But you don't tell DHL the things
- 15:57you tell FedEx, so I'm kind of feeling
- 15:59like you're less trustable than I want here.
- 16:02You see what I mean, Russ? We've we've
- 16:04taken a simple system, parent, child, delegate, record,
- 16:08and we've started to say, oh, the parent
- 16:10needs to know to delegate, but the info's
- 16:12in the child. And then we've done, oh,
- 16:14the child needs a third party to manage
- 16:16it. Oh, we haven't designed how to make
- 16:19third parties run that system. We've added a
- 16:22lot of complicated corners.
- 16:24So so what we've done is taken what
- 16:26was effectively in the first place, a unidirectional
- 16:30database distribution system,
- 16:32made it bidirectional,
- 16:34and now almost omnidirectional
- 16:36in all sides. And along the way, we
- 16:39forgot that the cap theorem exist.
- 16:42Yep.
- 16:43So it's time for a reset.
- 16:46And there's a couple of different things that
- 16:48have come into play.
- 16:50The first one, for me at least, other
- 16:53people might say the other one is more
- 16:55important. But for me, the first one is
- 16:57this primary question. How do I find delegation?
- 17:00And this bi facing problem, the parent has
- 17:03to know, but the child has the authority.
- 17:06We're about to swing this round and say
- 17:09the authority vests in the child to say
- 17:11it, but the record about it is solely
- 17:14gonna exist in the parent. This Del egg
- 17:16record
- 17:17is no longer going to be magically in
- 17:20the child,
- 17:21but held by the parent. It's gonna be
- 17:23held in the parent.
- 17:25So the parent holds it, but only the
- 17:27child is allowed to modify it? It's a
- 17:29property of the child, and those qualities of
- 17:32modification
- 17:33are going to have to be defined.
- 17:37So most things about a zone
- 17:39are attributes that are stored in the zone
- 17:43and therefore are functionally
- 17:44contained in the zone and can be defined
- 17:47by the holder of the zone. And the
- 17:49Delleg record is going to be about the
- 17:51zone, but it's going to be in the
- 17:54parent.
- 17:56You are right to say, how does that
- 17:58work?
- 17:59And that's why there's going to be a
- 18:00lot of standards documents. Right? So none of
- 18:04this would kind of matter if we were
- 18:06talking a simple world of simple DNS. But
- 18:08when you come to DNSSEC,
- 18:11there's an additional burden here. Cryptographic
- 18:13signing over data
- 18:15has to come top down in this model.
- 18:17That's the way the world works. The NS
- 18:20records
- 18:21that are about
- 18:23the child,
- 18:24okay, if they're contained in the child,
- 18:26as they currently legally are, the only person
- 18:29who can sign them is the child.
- 18:32But in order for them to exist, they
- 18:33have to be in the parent using a
- 18:36horrible mechanism we call
- 18:38glue.
- 18:40Glue,
- 18:41which is where you tell the parent something
- 18:43and they just glue it into their mind
- 18:45and know it. And it's about something else,
- 18:49but it's not. It's kind of like the
- 18:51hack to bootstrap things.
- 18:54Delek, because it's going to be defined as
- 18:56being in the parent, it's kind of losing
- 18:58this weird property,
- 19:00and the parent's going to be able to
- 19:02sign over it. Currently,
- 19:04the NSs, the name servers that are the
- 19:07authority for a child, the parent can't sign
- 19:10over them because they're magical glue. They have
- 19:12to be signed by the child, and it
- 19:14breaks the trust regime. And moving it means
- 19:18they can be trusted.
- 19:20Yeah. So today, glue lives as a text
- 19:22record
- 19:24Yeah. In your a, right, or your quad
- 19:26a?
- 19:28It has no existence in the DNS in
- 19:31any strict formal sense. It's a magic extra
- 19:34piece that comes along for the ride and
- 19:37has all kinds of weird, horrible behaviors polluting
- 19:40the system.
- 19:41Hey, Russ. You're my parent. Here's my n
- 19:44s's. Oh, I'm gonna store that as glue.
- 19:46So now when questions come in, you go,
- 19:48here is George. Here's the authoritative
- 19:50statement of George. Here's some info that's gonna
- 19:52help you. That's the glue. And I'm going,
- 19:55can I trust that info?
- 19:57And you go,
- 19:58oh, George told it to me, but I
- 20:00can't sign it.
- 20:01It's not mine to say if it's true
- 20:03or not. With Delag, you're gonna be able
- 20:05to say, yeah. I know this is true.
- 20:08I sign over it. Believe me when I
- 20:10tell you.
- 20:12Interesting. So,
- 20:14yeah, in the past, blue records have always
- 20:16been a text thing. Right? They're just part
- 20:18of a some text record. You do a
- 20:20search. You pop back a text
- 20:22a text record for the FQDN,
- 20:25and you say, what's in that text record?
- 20:27Well, it could be anything because it's a
- 20:29text record. It could be anything
- 20:31at all.
- 20:32That was the way that we managed to
- 20:34jam new behaviors into a system like DNS.
- 20:38Right. So It was an opaque LSA in
- 20:41in OSPF.
- 20:43So
- 20:47new jargon.
- 20:48Yes. We love jargon. So comes the second
- 20:51thing.
- 20:52Tom,
- 20:53when you're using
- 20:55DHL,
- 20:56do you like to have an electric truck
- 20:58deliver that package?
- 21:00I don't care
- 21:01myself. Oh, man. Come on. Be kind to
- 21:04the environment.
- 21:05Sure. Sure. Electric.
- 21:07Okay. So if you wanna stipulate it's an
- 21:09electric truck doing the job, you need a
- 21:12way to tell people, we like you to
- 21:14use the electric truck. Right? I mean, what's
- 21:16the point in paying for batteries if you
- 21:17don't push people there? FedEx, who are stuck
- 21:20on diesel, you need a way to say,
- 21:21well, it exists and you can use FedEx
- 21:23with me, but I'd really prefer you use
- 21:25the electric truck. One day, FedEx gets an
- 21:28electric truck. So you then have to be
- 21:30able to say, hey. Wonderful world, guys.
- 21:33Everything in my life is electric. You wanna
- 21:35ship me packages? Use the electric truck method.
- 21:41Transport. Is it transported on electric truck, or
- 21:43is it transported on a diesel truck?
- 21:46DNS has a transport problem. Right now, DNS
- 21:49is using this wonderful protocol called UDP,
- 21:53and UDP,
- 21:55the protocol, has some amazing properties.
- 21:57It's
- 21:58dumbass stupid.
- 22:00And if it drops stuff on the floor,
- 22:02nobody knows because it's not keeping count on
- 22:04what's going on here. Oh, and to make
- 22:06things more confusing, if UDP fails,
- 22:09most the DNS implementations will switch to TCP.
- 22:14Yeah. To do follow ups. So now you
- 22:16have not a single protocol, but you have,
- 22:19like, this fallback thing
- 22:21that's
- 22:23confusing.
- 22:24Is that Russ but, Russ, if I can
- 22:26twist the meme, porque no los tres,
- 22:29because we not only have TCP,
- 22:31but we have QUIC, which is UDP,
- 22:34but with a bit of TCP session and
- 22:36with privacy. And we have DNS over HTTP,
- 22:40which goes on to the wonderful acronym of
- 22:43DOL.
- 22:45DOL.
- 22:47The Homer Simpson protocol of names. DOL.
- 22:51So because we've now got DNS over HTTP,
- 22:54DNS over TCP, DNS over TLS, DNS over
- 22:58QUIC, DNS over UDP, five, count
- 23:02them, five ways of doing DNS.
- 23:05Wouldn't it be nice if we had a
- 23:07way to say which one we really want
- 23:09to use? Wouldn't that be cool?
- 23:12Electric trucks, Tom. You gotta get with the
- 23:14electric trucks.
- 23:17And the right answer is what?
- 23:20Is the right answer quick?
- 23:24That is a wonderfully subjective
- 23:27question.
- 23:28Okay?
- 23:29So the right answer in classic Internet form
- 23:33is
- 23:34meta.
- 23:35We're not gonna tell you which one is
- 23:37right, but we're going to construct
- 23:39all the artifice of beauty, the coruscating
- 23:43beauty
- 23:43of a defined way to say,
- 23:46if there is a right one, you're going
- 23:47to know what it is.
- 23:49You're going to know all the magic properties.
- 23:52You're going to be able to ask
- 23:54one simple question. Hey, Russ.
- 23:57How do I find George? And you are
- 23:59going to give me back the Whitaker's
- 24:02almanac
- 24:03of information
- 24:04about the various ways George can be found
- 24:07in one lump, and you're gonna say to
- 24:09me, you work it
- 24:11out. So so in this case,
- 24:16Delek also includes the ability to select a
- 24:20transport is what you're saying. It goes beyond
- 24:23the text record and the glue,
- 24:25and it gives you transport. Okay.
- 24:28And
- 24:29it intrudes
- 24:31mechanistic
- 24:31ways to say,
- 24:33from here on in,
- 24:35George has given authority to Tom
- 24:38to do all the things that relate to
- 24:40provision of service in naming.
- 24:43Geographic
- 24:44specific location,
- 24:46outsourcing, all of those behaviors
- 24:48now vest with Tom, and here is a
- 24:51signature
- 24:52that proves
- 24:53Tom is entitled to say these things. Now
- 24:56is this going to be more fine grained
- 24:58than everything?
- 25:00Because everything seems like a problem.
- 25:03Well,
- 25:04I kind of wanna say maybe, and I
- 25:06kind of wanna say I think you could
- 25:08be wrong here, Russ.
- 25:10And I'll start with I think you could
- 25:12be wrong here, Russ. You know TLS. Right?
- 25:15Transport layer security. Yeah. Mhmm.
- 25:18It's a dance.
- 25:19It's a dance that means we have to
- 25:21sniff each other a bit like dogs out
- 25:23for a walk and work out which thing
- 25:25we trust and which thing we wanna use
- 25:27and then go into a magic new state
- 25:29where everything's private between us because humans don't
- 25:32do scent and we're speaking dog scent language.
- 25:35That exchange involves a lot of backwards and
- 25:38forwards. That is the best explanation of TLS
- 25:40I've ever heard. Anyway I have a
- 25:43I have a picture in my mind, but
- 25:45I'm not going to try and draw it.
- 25:46So the thing is the thing is, Russ,
- 25:49there's a shortcut where instead of doing the
- 25:52dance, you can preload certain stuff. It's kind
- 25:54of close to what we call zero RTT.
- 25:57If I give you a whole bunch of
- 25:59the data that I know you're gonna need
- 26:01three steps ahead in this chess game,
- 26:04you can get there so much more quickly.
- 26:07That's why this blob is growing big because
- 26:10giving people a lot of information in one
- 26:12go is absolutely more complex. And I can
- 26:15see why you're saying, do we really wanna
- 26:17do that? But everything
- 26:20everything in the modern Internet is about saving
- 26:22time,
- 26:23shaving time. And if I don't tell you
- 26:25questions, I can foresee you're gonna ask me.
- 26:28If I don't give you the answer now,
- 26:30you have to ask the question.
- 26:32I take something that could have been done
- 26:34in you using your CPU,
- 26:36and I turn it into a stretch of
- 26:38time until you work out you need to
- 26:41ask me. Why don't I just give it
- 26:43to you now? And then when you think,
- 26:45oh, I need to know that extra information
- 26:47to bootstrap TLS,
- 26:49it was in the Delek block.
- 26:51So
- 26:52this complexity
- 26:54isn't necessarily
- 26:55about DNS.
- 26:57It's about the downstream
- 26:59consequences
- 27:00of the things that are going to happen.
- 27:02So I wanted the outsource, and I wanted
- 27:04Tom to be able to do the direct
- 27:06answering,
- 27:07but I needed to give Tom the certification
- 27:10chain information
- 27:12so that Tom could then say when he
- 27:14gives the DNS name that is actually the
- 27:16website for me, hey, dude. Here's the blob
- 27:19of info that will let you bootstrap that
- 27:21TLS session,
- 27:23one packet exchange.
- 27:24I can do that without having to give
- 27:27Tom the keys to the kingdom.
- 27:29Tom can't remake certificates in me. Tom can't
- 27:32change my delegation.
- 27:33Tom can't steal my business and give it
- 27:35to a third party because I can do
- 27:38limited permits
- 27:39of the bits of stuff I need Tom
- 27:41to know to do this.
- 27:44Okay. So so it is more fine grained
- 27:46than everything?
- 27:48It can be because it's a structured block.
- 27:51It's it's likely to be some denoted structure
- 27:55like JSON or some other possible structure.
- 27:58And it's likely that people will be looking
- 28:00at it going, hey. My role's DNS. I'm
- 28:02focusing on this bit.
- 28:04And other people will go, DNS did its
- 28:06thing. I'm looking for the TLS bootstrap record.
- 28:09And other people are going, I'm the outsource
- 28:11agent. Where's my permit token to let me
- 28:13do downstream things? People are gonna take different
- 28:17qualities from it.
- 28:18But the truly lovely thing is that it's
- 28:21going to all be capable of being signed,
- 28:24which means the trust component,
- 28:26which couldn't be done because of jumping over
- 28:29this gap,
- 28:30because of the fact that DNS uses name
- 28:32servers that have to live in the child
- 28:34but have to exist in the parent and
- 28:36glue,
- 28:37we got rid of that problem.
- 28:39That's cool.
- 28:41Okay. So I have I have a sort
- 28:43of a forward looking question.
- 28:45I remember a a while ago, it was
- 28:47a long time ago, the maximum message size
- 28:49for BGP was increased to something huge.
- 28:52And at the time, I remember thinking if
- 28:54I had some time, I would I would
- 28:57write and I would create an address family
- 28:58just grab f r r and create an
- 28:59address family for for jpegs and put a
- 29:01photo in there and make a photo album
- 29:03on BGP just for you know just for
- 29:04giggles
- 29:05and
- 29:06you know it was just sort of silly.
- 29:08So my question for you is what
- 29:11what what do you foresee as some of
- 29:13the,
- 29:14ridiculous things that people will do once delegates
- 29:17in place? What kinds of, what kinds of
- 29:20novel let's call them novel use cases.
- 29:23Secondary things you never thought of.
- 29:25So I do have a couple of thoughts
- 29:28there. The first one is that there's this
- 29:31constant battle over shorter is better and longer
- 29:34is easier to delegate.
- 29:36I mean, in reality, there are there's only
- 29:38three domains,
- 29:39dubdubdub.google.com,
- 29:43dubdubdub.akamai.com.
- 29:46I mean,
- 29:48names in some ways are actually tending to
- 29:50get a lot shorter.
- 29:52You go look at the name that you
- 29:53wind up on, and you suddenly magically see
- 29:56that the intrusion of the third party,
- 29:58your real name that you're really living under
- 30:01that's really serving this, it's not actually a
- 30:03pretty name anymore. It's a hash string.
- 30:06And so I think one of the things
- 30:08that's probably gonna happen here is that there
- 30:11won't be
- 30:12a huge amount of DNS happening anymore because
- 30:16deleg is gonna be used to say, oh,
- 30:19man. This name stuff is just crazy. Can
- 30:21we move the whole thing to a different
- 30:22universe?
- 30:24And I think it's likely that having fetched
- 30:26the Delek record, there is no DNS
- 30:30afterward.
- 30:31There's something else.
- 30:32And do you know what I think that
- 30:34something else is?
- 30:36Hosts.
- 30:37Text.
- 30:40No.
- 30:41Seriously.
- 30:42Seriously.
- 30:43I think that the Delek record is gonna
- 30:45say for the purposes of all future conversations
- 30:49involving you and this domain name, here is
- 30:51the pre sorted list of names that you
- 30:54will ever need to look for and the
- 30:56addresses that you should expect to use.
- 30:59I think people are gonna be given an
- 31:01entire blob of all of the advertising domain
- 31:04name feeds, all of the image farm domain
- 31:07name feeds, that special cache of Google for
- 31:10the font that they use on their web
- 31:11page. Every one of those things right now,
- 31:14you have to go out and do a
- 31:16third party DNS to resolve that to draw
- 31:18the web page.
- 31:19I think we're gonna give people
- 31:21all of that magic info
- 31:23inside a block of data you get through
- 31:26a Delek mechanism.
- 31:27Which is gonna make it infinitely harder to
- 31:30troubleshoot
- 31:32problems.
- 31:33It's gonna make it horrible if you're the
- 31:35person trying to say,
- 31:37oh, this part of the web page is
- 31:39slow and that part is fast in this
- 31:41application.
- 31:43I'm sorry. So can you send me the
- 31:44Delek record that you specifically
- 31:47fetched?
- 31:48Yeah. Not anyone else.
- 31:50That's gonna be terrible.
- 31:52So so that's the first part. The second
- 31:54part is that this whole dance
- 31:57around
- 31:58authoritar,
- 31:59who has the authoritar
- 32:01to register things.
- 32:03Register
- 32:04isn't a word that exists in DNS. Right?
- 32:06Register is a word that was invented in
- 32:08this public management space,
- 32:11which we call
- 32:12registry.
- 32:13There's a place that is the registry, and
- 32:16they run a machine,
- 32:18steam engine, that pumps out a zone file,
- 32:20and you change who is records in registry,
- 32:24and they run over them to do that.
- 32:26And that registry
- 32:27is like where all the public interest stuff
- 32:31is. What is your real name? What is
- 32:33your real address?
- 32:34What is the carrying capacity of a swallow
- 32:37in summer?
- 32:38You know, these questions are solved in registry.
- 32:41And I have a feeling
- 32:43a side effect of Deleg is that an
- 32:45awful lot of this stuff won't exist in
- 32:48registry anymore, because who needs a registry?
- 32:52Yeah. It's gonna happen in band
- 32:55in DNS or whatever is the bigger thing,
- 32:58and it's going to say, no. We don't
- 33:00do registry here, guys. That's crude stuff.
- 33:03Because after all, it isn't me running it.
- 33:05Right? It's Tom running it. And I didn't
- 33:07want Tom owning my registry entry.
- 33:10He's out of the loop. Once you give
- 33:12people an opaque LSA,
- 33:14in fact,
- 33:15I think what then happens OSPF
- 33:18speaker. Yes.
- 33:20Is
- 33:21that people make up their own proprietary records
- 33:24to make their services faster.
- 33:27And then it's it's an opaque
- 33:29Yeah.
- 33:30Delag So
- 33:32filled with JSON blobs that no one else
- 33:35knows how to interpret. So
- 33:37I might be sounding happy happy joy joy,
- 33:39but you are right to say there are
- 33:41many risks to the public commons here, Russ.
- 33:45There are. We could make some really bad
- 33:48mistakes here.
- 33:49We gotta think about this.
- 33:52Yeah. That this this actually worries me a
- 33:54little. So r is the format you're speaking
- 33:58as though
- 33:59Delek,
- 34:00the signature bits of it are already defined,
- 34:02but the format itself
- 34:04is not. You're talking about JSON blobs or
- 34:07whatever.
- 34:08So we're now entering we're now entering this
- 34:10wonderful world where I'm going to struggle with
- 34:12one acronym because there's a magic acronym that's
- 34:15existed for a very long time.
- 34:19Akamai, who are in the business of being
- 34:21intermediaries
- 34:22supplying service to people,
- 34:25discovered
- 34:26an interesting quirk in DNS that could be
- 34:28fixed, and they and a number of other
- 34:30people developed this thing called
- 34:33s v
- 34:34c
- 34:35b,
- 34:37service
- 34:39something
- 34:40something
- 34:41binding, service binding,
- 34:43SV for service
- 34:44binding records,
- 34:46SVcb.
- 34:48And they've been out there for a long
- 34:50time, and they already have
- 34:53structural semantics to say, oh, this is how
- 34:55we do indirect referencing.
- 34:57Yeah. You need to say something and you
- 34:59want to alias it. Okay. We're gonna do
- 35:01that over here. So Google and Akamai worked
- 35:04on that spec with a bunch of people
- 35:05in DNS.
- 35:07Delek is going, we're not reinventing the world
- 35:10here, guys. We're gonna construct a variant of
- 35:12the SVCB
- 35:14record and call it a Delek record, but
- 35:17it is going to look
- 35:18structurally
- 35:19like SVCB.
- 35:22Interesting.
- 35:25So that that is pre JSON, so I
- 35:28assume it won't be a JSON blob.
- 35:31Well,
- 35:32I mean, come on.
- 35:33Once we're in a world where you've got
- 35:35a large
- 35:36field and you're broken free of constraints and
- 35:39people put ideas on the table, JSON is
- 35:41base 64. It's just a text record, man.
- 35:44It's just x. It's all bits, man.
- 35:47I mean, I wouldn't say it's not gonna
- 35:49be JSON. What do I know?
- 35:52This is I I have the feeling
- 35:54this is gonna be like ADA.
- 35:57When when I was in the air force,
- 35:59we had all these projects that were tossed
- 36:02at us
- 36:03that were ADA projects. Because because the department
- 36:06of Defense, you know, US Department of Defense
- 36:08said, thou shalt use ADA. Thou shalt not
- 36:11use yeah. Thou shalt not use,
- 36:14IP, you know, just like thou shalt use
- 36:16IP v six. And so in both those
- 36:18situations, what we got most of our proposals
- 36:21were
- 36:22I p v four mapped into I p
- 36:24v six address space,
- 36:26and that was
- 36:28I p v six. And then Yes. You
- 36:30you you look at the source code for
- 36:33something that's been proposed in ADA, and it's
- 36:36like pound to find c.
- 36:39And the rest of the program is in
- 36:40c,
- 36:41and at the end of it, it's pound
- 36:43to find ADA.
- 36:45But they did it in ADA. It compiles
- 36:47in an ADA compiler.
- 36:50Yeah. Oh, totally legal ada. Totally. It's like
- 36:52the a it's like the ASM
- 36:54construct in c. I mean, inside the c,
- 36:57you do stuff that, you know, the machine
- 36:58code, you put ASM and you write the
- 37:00machine code, and you've done it in machine
- 37:02code. I mean You're not machine code, but
- 37:04it's in c.
- 37:05But it's c. Right? Ted? You you should
- 37:07go look. Anyone listening to this should go
- 37:10look for a story that's resurfaced
- 37:12Edgar
- 37:13Dijkstra's
- 37:14comments on every single one of the ADA
- 37:17candidate languages,
- 37:19because he was in the review committee. And
- 37:21there were four candidates. They were named for
- 37:23different colors,
- 37:24blue, green, red, orange, whatever. And for every
- 37:27one of them, he's like, I wouldn't use
- 37:29this language to butter my toast. This language
- 37:31has been designed by a hedgehog. This language
- 37:33is totally useless. It's it's insanely
- 37:36bad. I never want to see anything implemented
- 37:39in this language. You know, if this language
- 37:41is a safety language, I'm not getting on
- 37:43an airplane written with this language.
- 37:46So
- 37:47we should we should repurpose that for DNS.
- 37:49If you think this is DNS, you need
- 37:51to go somewhere else because this is not
- 37:53DNS anymore.
- 37:57Oh,
- 37:57this is always the danger with opaque
- 38:00data.
- 38:00Just and this is this is what happened
- 38:02with address families in BGP too. Oh, it's
- 38:05we treat address families like opaque data, and
- 38:08we just shove whatever we want to in
- 38:10them. No. That's not. So There is a
- 38:13method. Yeah. No.
- 38:15So the thing is we are at very
- 38:17early stages. Right? I mean, the IETF is
- 38:19a machine that grinds exceedingly
- 38:21fine, but it grinds exceedingly
- 38:24slow. So
- 38:26the Delek working group has only just bootstrapped,
- 38:28and it's only just got its marching orders,
- 38:31and it has the base camp definitions, what
- 38:34problems
- 38:34are we trying to solve. So people have
- 38:37leaped ahead, and they've put candidate models in
- 38:40the air.
- 38:41It's early
- 38:42days. Who knows what will come out the
- 38:44door on the other side? Okay. So there's
- 38:46a part of this, which is we kind
- 38:47of leaped ahead of the real story.
- 38:50The second thing is the real problem exists.
- 38:53I mean, it is a real problem
- 38:56that we don't have signed authority
- 38:58over mechanisms to do things. And Port 53
- 39:01has had so many things jammed in it,
- 39:04intruding a bubble to say,
- 39:06can we just do this slightly differently
- 39:09high in the system?
- 39:10That's a really good idea.
- 39:12But do you remember I said that we're
- 39:14not driving off the side of the road
- 39:16and putting the jack on to lift the
- 39:17wheel off, that we're changing the engine while
- 39:19the car's still in motion?
- 39:21Well, we have to continue
- 39:23to support
- 39:24the existing delegation
- 39:26mechanisms while we're proposing the Delek record, which
- 39:29means we're also having to bolt into this.
- 39:32Oh, yeah. Here is where the bit of
- 39:33information is gonna live that you need to
- 39:36know to do it old school. We're actually
- 39:38gonna have to bring the past with us
- 39:41in the basement of the new house.
- 39:43So this this reminds me of quit in
- 39:45many ways.
- 39:47This really does. It it's Yeah. It's and
- 39:50like I said before, like, address families in
- 39:53BGP,
- 39:54like,
- 39:55we create
- 39:56this thing,
- 39:58and then we transfer all the because because
- 40:01the base protocol is so complex,
- 40:03we transfer all the functionality
- 40:05of the base protocol
- 40:06into this sub piece of the base protocol
- 40:09itself
- 40:12because it can be simpler because we're starting
- 40:14over. And in the end, it actually doesn't
- 40:16turn out to be simpler. In five years,
- 40:18that little base piece becomes
- 40:20just as
- 40:21complex. And and then just like, you know,
- 40:24you said 53, like,
- 40:26everything is over, like, five ports in the
- 40:28Internet now.
- 40:29Yeah. Well, we're just about to say one
- 40:31of those ports. We might be pointing it
- 40:33back into some of the other four because
- 40:36it's going to be if you wanna know
- 40:38about me, go ask someone using Quik over
- 40:41here.
- 40:42Yeah. Yeah. That's and that's yeah. That's
- 40:45wow. Okay.
- 40:47So
- 40:48the glue that holds the Internet together just
- 40:50became
- 40:52well, whatever.
- 40:54But there was
- 40:55but but, Russ, there was never one kind
- 40:57of glue. You wanna fix it at the
- 40:59sole of a shoe, you need a flexible
- 41:00glue. You're banging wood together, you need a
- 41:03rigid case in glue. You're gluing glass to
- 41:05concrete, you need a glue that works for
- 41:07that context. There were always
- 41:09many kinds of glue. So the glue that
- 41:12holds the Internet together, yeah, it was originally
- 41:14one kind of glue, but we don't boil
- 41:17horses' hooves to make that glue anymore.
- 41:19We're baking glue a different way.
- 41:22Wow. Okay. Another interesting illustration.
- 41:28Yeah. There's a very fine British jazz musician
- 41:31called Lowell Coxhill, and he has a monologue
- 41:35on one of his jazz records where he
- 41:37talks about his prior life. And before he
- 41:39became a jazz saxophonist,
- 41:42he had the job
- 41:43throwing dead cow's hooves into the crushing machine
- 41:47for a glue factory.
- 41:49And I've always thought that's quite an odd
- 41:52monologue to intrude into a laid back jazz
- 41:55album. But,
- 41:56you
- 41:57know, jazz. Welcome to late night radio DNS
- 42:01jazz.
- 42:04I may have to ask you for that
- 42:05name again so I can anyway. Alright. So
- 42:08yeah. So okay. So this is where we
- 42:10are with it. This is what's going on.
- 42:12This is what we're trying to get to.
- 42:14We're trying to get to a world that
- 42:16reflects the reality of complexities in modern Internet
- 42:20practice.
- 42:21Okay.
- 42:22Interesting.
- 42:23So
- 42:24I kinda think we've beat this poor little
- 42:26horse dead, and somebody's gonna take its screws
- 42:29and make glue out of me now. Glue?
- 42:32Yeah.
- 42:35DHL's gonna be ringing me up asking for
- 42:37Tom's address so they can ask him why
- 42:39he's using FedEx.
- 42:42Yeah. Exactly.
- 42:44So alright. So this is really cool. If
- 42:46people wanna keep up with this or get
- 42:48involved in it, because it's early days. If
- 42:50you wanna get involved in this message now
- 42:52the ITF. Go to the ITF and search
- 42:54for d e l e g, Del Ag
- 42:57working group, where the foundation documents have just
- 43:00been published,
- 43:01and track people who are smarter than me,
- 43:03who are gonna explain things a heck of
- 43:05a lot better than I did. There is
- 43:07a blog on APNIC that's talking about it
- 43:10with Geoff Huston, and it's an interesting conversation
- 43:12as well.
- 43:13The design group that are involved in this,
- 43:16they're all lovely, approachable people. It's a really
- 43:19nice bunch of people. Good guys.
- 43:21Okay.
- 43:22Alright. Awesome. Tom, you have any more any
- 43:25more questions? Or
- 43:27No. Just a snarky,
- 43:29when you were talking about, how we're gonna
- 43:31troubleshoot this and people are like, well, I
- 43:32don't know. So here's what we do. We
- 43:34create another record type, call it a PCAP
- 43:37record. And when there's a problem, it does
- 43:38a packet capture of you on the host
- 43:40and then sends that person in the DNS.
- 43:43In the DNS.
- 43:44There you go. Yes.
- 43:46I'm sold. You can put patience on that
- 43:48right now. Yeah. You you could put a
- 43:50p cap,
- 43:52address family in BGP too. There you go.
- 43:54There you go. Both. Let's do both. Yeah.
- 43:56Let's do both. Yeah.
- 43:58Oh, wow. DNS over BGP and p cap
- 44:01in BGP over p cap in DNS. Yeah.
- 44:04Oh, yeah. Tunnels.
- 44:05Tunnels.
- 44:06I I see tunnels.
- 44:08I see tunnels everywhere.
- 44:10Everywhere, I see tunnels. Wow. Yeah. But now
- 44:13Russ is never gonna ask me that question
- 44:14again.
- 44:17This has been really fun, Russ. Thanks for
- 44:19having me come on and
- 44:21tell people things.
- 44:24Okay. Alright.
- 44:26Let's see. George, where can people find you
- 44:29if they want to find out more?
- 44:31Just follow what you're working on? I know
- 44:33you do the ping podcast.
- 44:35Yep. If you go to blog.apnick.net,
- 44:40you'll find everything I'm currently doing and pointers
- 44:44to the more
- 44:56I don't
- 44:58know. I don't know. It can't be true.
- 45:00He didn't start it with humbled.
- 45:06Alright. So I'm Russ White. You can always
- 45:08find me here at the hedge.
- 45:10You can find me at rule eleven dot
- 45:12tech.
- 45:13You can find me on LinkedIn.
- 45:15I do log in to x every now
- 45:17and again, not very common. I really
- 45:19social media, I have, like, a a a
- 45:21love hate thing with of course, I did
- 45:23my dissertation on social media, so that's that's
- 45:26part of the reason that I have a
- 45:27love hate thing with it. But anyway,
- 45:30again, we know that attention we live in
- 45:32an attention driven economy
- 45:34and that you spending the time to listen
- 45:36to this whole crazy conversation about Delek,
- 45:40was good of you to listen to all
- 45:42of this. Thank you for listening all the
- 45:43way to the bitter end, and we will
- 45:45catch you
- 45:58next