Skip to content

Commit

Permalink
Fixed forwarded dns server
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Jan 14, 2024
1 parent e5ec658 commit dfd7fa6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hosts/mno001/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ in
"10-svc-management" = {
matchConfig.Name = "svc-management";
address = [ "2a01:7700:80b0:7000::1/64" ];
routes = [ { routeConfig.Gateway = "fe80::defa"; } ];
routes = [{ routeConfig.Gateway = "fe80::defa"; }];
};
};
};
Expand Down
15 changes: 13 additions & 2 deletions hosts/ns-mno001/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ in
proto = "virtiofs";
socket = "store.socket";
}
{
source = "/var/lib/microvms/ns-mno001/etc/ssh";
mountPoint = "/etc/ssh";
tag = "var";
proto = "virtiofs";
socket = "var.socket";
}
{
source = "/var/lib/microvms/ns-mno001/var/log";
mountPoint = "/var/log";
Expand All @@ -34,13 +41,17 @@ in

networking.nameservers = [
# rns-01.ibh.net
"212.111.228.53"
"2a01:7700:0:1035::1:53"
"212.111.228.53"
# rns-02.ibh.net
"193.36.123.53"
"2a01:7700:0:1036::1:53"
"193.36.123.53"
];

services.resolved.extraConfig = ''
FallbackDNS=
'';

systemd.network.networks = {
"10-lan" = {
matchConfig.MACAddress = mac;
Expand Down

0 comments on commit dfd7fa6

Please sign in to comment.