Skip to content

Commit

Permalink
Prioritise external nameserver on Tentacool first
Browse files Browse the repository at this point in the history
Couldn't fetch the new Pi-hole image as-is.
  • Loading branch information
samhh committed Nov 7, 2022
1 parent 3cbfa1d commit 199597e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hosts/tentacool/network.nix
Expand Up @@ -5,11 +5,11 @@
hostName = "tentacool";

# This machine hosts Onix, the LAN nameserver. When the image is updated
# there needs to be another nameserver available in order to fetch the new
# image. An additional nameserver could be configured via DHCP, however
# there needs to be another nameserver prioritised in order to fetch the
# new image. An additional nameserver could be configured via DHCP, however
# other devices have been spotted using this to workaround Onix, so DHCP
# points only at Onix and this machine specifically will override DHCP's
# nameservers in order to configure this additional, external nameserver.
nameservers = [ "127.0.0.1" "8.8.8.8" ];
# nameservers in order to configure this external nameserver.
nameservers = [ "8.8.8.8" "127.0.0.1" ];
};
}

0 comments on commit 199597e

Please sign in to comment.