dns: now have a proper primary and secondary
This commit is contained in:
parent
1e9b63e13d
commit
126db6e3cb
3 changed files with 92 additions and 47 deletions
|
@ -61,9 +61,13 @@ in {
|
|||
skynet_dns = {
|
||||
enable = true;
|
||||
|
||||
# primary dns server
|
||||
primary = true;
|
||||
|
||||
# this server will have to have dns records
|
||||
own = {
|
||||
nameserver = ns;
|
||||
ip = ip_pub;
|
||||
external = [
|
||||
"${name} A ${ip_pub}"
|
||||
"${ns} A ${ip_pub}"
|
||||
|
|
|
@ -46,6 +46,7 @@ in {
|
|||
# this server will have to have dns records
|
||||
own = {
|
||||
nameserver = ns;
|
||||
ip = ip_pub;
|
||||
external = [
|
||||
"${name} A ${ip_pub}"
|
||||
"${ns} A ${ip_pub}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue