k8gb-io / k8gb

A cloud native Kubernetes Global Balancer
https://www.k8gb.io
Apache License 2.0
874 stars 93 forks source link

Recursive DNS support? #945

Open sminer87 opened 2 years ago

sminer87 commented 2 years ago

Hello,

I am working on my company's new k8s cluster and would love to utilize k8gb without external DNS, but my senior coworker said it's not production worthy and referenced this paper: https://irl.cs.ucla.edu/data/files/papers/res_ns_selection.pdf showing that it can take considerable time for recursive DNS servers to attempt another nameserver if one should become unreachable.

Is this paper out of date, or is it true that such a solution wouldn't be production level without external DNS?

Thank you so much!

ytsarev commented 2 years ago

Hi @sminer87 , could you elaborate a bit more on the without external DNS part? Do you want to configure zone delegation to k8gb's coredns pods some different way?

In the meantime, I will dive into paper, it looks interesting :)

sminer87 commented 2 years ago

Thank you for the quick response! I meant that I was considering the "quick start" setup referenced on k8gb's homepage, which says "This setup is adapted for local scenarios and works without external DNS provider dependency."

My concern is that without this external DNS provider dependency, it won't be production quality because recursive DNS servers won't failover to the next k8gb coredns (if it's on a seperate node, for example)

Related reading: https://gist.github.com/Snawoot/b7065addf014d90f858dbd185d514cde?permalink_comment_id=4274637#gistcomment-4274637

Thank you again.

ytsarev commented 2 years ago

@sminer87 we discussed this issue during k8gb community meeting today. @k0da has recent experience on attempt to use coredns(integral part of k8gb) to be used as authoritative DNS server and he will share the details soon, stay tuned.