~/talk

Service Discovery with CoreDNS Plugins in Golang

name:Yong Tang
github:yongtang
slides:none on file

CoreDNS shows a concrete example: a Golang source-IP based service discovery plugin that inspects client IP and returns different A records (demo returns 1.1.1.1 or 8.8.8.8), implemented with three functions (init, setup, ServeDNS) and a ~20-line request handler. Plugins must be added to plugin.cfg and are statically compiled into CoreDNS (no runtime loading or reordering). Demo source is on GitHub, buildable via a Docker command; CoreDNS has 238 contributors, 24 maintainers, 30 public adopters and ~6600 stars.

AI-written summary · about

  1. 0:00Intro
  2. 3:35CoreDNS Updates
  3. 6:14CoreDNS Community
  4. 8:29Community Bridge Program
  5. 9:55Google Summer of Code
  6. 13:10Service Discovery with DNS Virtual
  7. 15:30Resolving a Query
  8. 18:04Demo Plugin in Golang
  9. 19:03Demo Plugin - Functions
  10. 21:42Demo Plugin - Setup
  11. 23:40Demo Plugin - Serve DNS
  12. 24:45Demo Plugin - Corefile
  13. 25:11Demo Plugin - Build
  14. 27:34Demo Plugin - Source Code Virtual
  15. 28:07CoreDNS: Contribution
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.