Skip to content

Instantly share code, notes, and snippets.

@praveenkumar
Created March 5, 2019 08:17
Show Gist options
  • Save praveenkumar/e331577f436a4f4a81c793e370a7a27d to your computer and use it in GitHub Desktop.
Save praveenkumar/e331577f436a4f4a81c793e370a7a27d to your computer and use it in GitHub Desktop.
[Dont DELETE] Corefile for coredns
$ cat Corefile
tt.testing {
log
errors
health
file test1-api
}
. {
forward . mynameserver {
except tt.testing
}
}
$ cat test1-api
$ORIGIN .
@ 3600 IN SOA ns.tt.testing. root.tt.testing. (
5 ; serial
604800 ; refresh
86400 ; retry
2419200 ; expire
36000 ; minimum
)
; Name Server Information
_etcd-server-ssl._tcp.test1.tt.testing. IN SRV 10 10 2380 test1-etcd-0.tt.testing.
test1-api.tt.testing. IN A 192.168.126.10
test1-etcd-0.tt.testing. IN A 192.168.126.10
*.apps.tt.testing. IN A 192.168.126.51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment