dns-based service discovery...service discovery let things find other things find out how to talk to...
TRANSCRIPT
![Page 2: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/2.jpg)
QUESTIONS?QUESTIONS?
Photo by Horia Varlan, http://www.flickr.com/photos/horiavarlan/4273168957/, CC-BY
![Page 3: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/3.jpg)
SERVICE DISCOVERYSERVICE DISCOVERYLet things find other thingsFind out how to talk to otherthings
![Page 4: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/4.jpg)
psql -h 192.0.2.42
![Page 5: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/5.jpg)
vi /etc/hosts
psql -h dbserver
![Page 6: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/6.jpg)
vi zones/example.com
psql -h dbserver
![Page 7: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/7.jpg)
![Page 8: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/8.jpg)
![Page 9: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/9.jpg)
![Page 10: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/10.jpg)
OPTIONS?OPTIONS?consuletcdzookeeperdoozereurekasynapse...
![Page 11: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/11.jpg)
SOOOOO MANY OPTIONSSOOOOO MANY OPTIONS
![Page 12: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/12.jpg)
HERE'S ANOTHER ONE...HERE'S ANOTHER ONE...
![Page 13: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/13.jpg)
RFC6763: DNS-BASEDRFC6763: DNS-BASEDSERVICE DISCOVERYSERVICE DISCOVERY
![Page 14: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/14.jpg)
SERVICE INSTANCESSERVICE INSTANCES
![Page 15: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/15.jpg)
foo._app._tcp SRV 1 1 31337 app-0146de
![Page 16: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/16.jpg)
foo._app._tcp SRV 1 1 31337 app-0146de
![Page 17: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/17.jpg)
foo._app._tcp SRV 1 1 31337 app-0146de
![Page 18: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/18.jpg)
foo._app._tcp SRV 1 1 31337 app-0146de
foo._app._tcp SRV 1 1 31337 app-b34c68
foo._app._tcp SRV 1 1 31337 app-557fc3
foo._app._tcp SRV 1 1 31337 app-ab46f2
![Page 19: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/19.jpg)
foo._app._tcp SRV 1 1 31337 app-0146de
foo._app._tcp SRV 1 1 31337 app-b34c68
foo._app._tcp SRV 1 3 31337 app-557fc3
foo._app._tcp SRV 1 1 31337 app-ab46f2
![Page 20: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/20.jpg)
foo._app._tcp SRV 1 1 5432 db-876cfe
foo._app._tcp SRV 2 1 5432 db-a2cfe6
![Page 21: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/21.jpg)
SERVICE ENUMERATIONSERVICE ENUMERATION
![Page 22: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/22.jpg)
_app._tcp PTR foo._app._tcp
_app._tcp PTR bar._app._tcp
![Page 23: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/23.jpg)
METADATAMETADATA
![Page 24: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/24.jpg)
foo._app._tcp TXT \
"path=/something/funny" \
"baz=wombat"
![Page 25: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/25.jpg)
WHY ISN'T EVERYONEWHY ISN'T EVERYONEDOING IT?DOING IT?
![Page 26: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/26.jpg)
"IT'S JUST SOME DESKTOP"IT'S JUST SOME DESKTOPTHING"THING"
![Page 27: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/27.jpg)
"IT'S ALWAYS DNS!""IT'S ALWAYS DNS!"
![Page 28: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/28.jpg)
Image by woodleywonderworks, https://flic.kr/p/4ZP5ki, CC-BY
![Page 29: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/29.jpg)
"NOBODY SUPPORTS SRV"NOBODY SUPPORTS SRVRECORDS!"RECORDS!"
![Page 30: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/30.jpg)
WHY YOU SHOULD USE DNS-SDWHY YOU SHOULD USE DNS-SD
![Page 31: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/31.jpg)
YOU'RE ALREADY USINGYOU'RE ALREADY USINGDNSDNS
![Page 32: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/32.jpg)
ALL STANDARDALL STANDARDCOMPONENTSCOMPONENTS
![Page 33: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/33.jpg)
MORE COMPLETE SOLUTIONMORE COMPLETE SOLUTIONTHAN MOSTTHAN MOST
![Page 34: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/34.jpg)
DNS-SD: IT'S AWESOME!DNS-SD: IT'S AWESOME!
![Page 35: DNS-BASED SERVICE DISCOVERY...SERVICE DISCOVERY Let things find other things Find out how to talk to other things. psql -h 192.0.2.42 . vi /etc/hosts ... vi zones/example.com psql](https://reader035.vdocuments.site/reader035/viewer/2022062606/5fe19b0fff642e70181713eb/html5/thumbnails/35.jpg)
Image by woodleywonderworks, https://flic.kr/p/8fzSe1, CC-BY