Skip to content

How to use a private DNS with k3s #7822

Closed Answered by brandond
EugenMayer asked this question in Q&A
Discussion options

You must be logged in to vote

i cannot find that CoreDNS uses such a load-balancing behavior - could you reference it somehow

It's right there in the page you linked...

TO… are the destination endpoints to forward to. The TO syntax allows you to specify a protocol, tls://9.9.9.9 or dns:// (or no protocol) for plain DNS. The number of upstreams is limited to 15.
Multiple upstreams are randomized (see policy) on first use. When a healthy proxy returns an error during the exchange the next upstream in the list is tried.

policy specifies the policy to use for selecting upstream servers. The default is random.
random is a policy that implements random upstream selection.

The doc doesn't call this out, but it you point …

Replies: 7 comments 22 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@brandond
Comment options

Comment options

You must be logged in to vote
3 replies
@brandond
Comment options

@dragonfleas
Comment options

@dragonfleas
Comment options

Comment options

You must be logged in to vote
16 replies
@EugenMayer
Comment options

@brandond
Comment options

@EugenMayer
Comment options

@brandond
Comment options

Answer selected by EugenMayer
@EugenMayer
Comment options

@brandond
Comment options

@EugenMayer
Comment options

@EugenMayer
Comment options

Comment options

You must be logged in to vote
1 reply
@EugenMayer
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mreiche
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants