init
This commit is contained in:
6
hosts/zimablade/coredns/db.homelab.local
Normal file
6
hosts/zimablade/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
|
||||
n100 IN A 10.0.0.5
|
||||
zimablade IN A 10.0.0.4
|
||||
22
hosts/zimablade/coredns/default.nix
Normal file
22
hosts/zimablade/coredns/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{...}: {
|
||||
services.coredns = {
|
||||
enable = true;
|
||||
config = ''
|
||||
homelab.local {
|
||||
file ${./db.homelab.local}
|
||||
log
|
||||
errors
|
||||
cache
|
||||
}
|
||||
|
||||
. {
|
||||
forward . 8.8.8.8
|
||||
forward . 84.200.69.80
|
||||
forward . 84.200.70.40
|
||||
log
|
||||
errors
|
||||
cache
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user