Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions pkg/manager/component/regiondns.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,26 @@ import (

const (
RegionDNSConfigTemplate = `.:53 {
cache {{.CacheTtl}}
cancel
whoami
bufsize 1232
log {
class error
}
errors
ready
local
loadbalance round_robin

cache {{.CacheTtl}} {
success 4096
denial 1024
prefetch 512
serve_stale
servfail 0
}
loop
reload

yunion . {
sql_connection {{.SQLConnection}}
Expand All @@ -53,13 +72,10 @@ const (

{{- range .Proxies }}

proxy {{.From}} {{.To}} {
forward {{.From}} {{.To}} {
max_fails 5
}
{{- end }}

log {
class error
}
}`
)

Expand Down
Loading