dns: now have a proper primary and secondary

This commit is contained in:
silver 2023-05-21 19:38:13 +01:00
parent 1e9b63e13d
commit 126db6e3cb
3 changed files with 92 additions and 47 deletions

View file

@ -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}"

View file

@ -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}"