rename nodes and add runner for gitea instance
This commit is contained in:
6
hosts/sin/coredns/db.homelab.local
Normal file
6
hosts/sin/coredns/db.homelab.local
Normal file
@@ -0,0 +1,6 @@
|
||||
$ORIGIN homelab.local.
|
||||
@ IN SOA dns.homelab.local. shobu_serhao.proton.me. 2502011720 7200 3600 1209600 3600
|
||||
|
||||
dns IN A 10.0.0.5
|
||||
thea IN A 10.0.0.5
|
||||
sin IN A 10.0.0.4
|
||||
20
hosts/sin/coredns/default.nix
Normal file
20
hosts/sin/coredns/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{...}: {
|
||||
services.coredns = {
|
||||
enable = true;
|
||||
config = ''
|
||||
homelab.local {
|
||||
log
|
||||
errors
|
||||
cache
|
||||
file ${./db.homelab.local}
|
||||
}
|
||||
|
||||
. {
|
||||
forward . 8.8.8.8
|
||||
log
|
||||
errors
|
||||
cache
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user