Fixes dns.

This commit is contained in:
Bailey Stevens 2023-09-29 23:44:55 -04:00
parent c1b7e623e8
commit d2a261f41a
2 changed files with 10 additions and 2 deletions

View file

@ -22,8 +22,6 @@
windowManager.fluxbox.enable = true;
};
networking.firewall.allowedUDPPorts = [ 67 ];
environment.systemPackages = with pkgs; [
git btop tmux
];

View file

@ -45,9 +45,19 @@
services.dnsmasq = {
enable = true;
resolveLocalQueries = false;
settings = {
bind-interfaces = true;
expand-hosts = true;
no-hosts = true;
local = "/lan/";
domain = "lan";
interface = [ "wlan0" ];
dhcp-range = [ "192.168.24.100,192.168.24.200" ];
dhcp-option= "6,0.0.0.0";
host-record = "melodypond,melodypond.lan,192.168.24.1";
};
};
networking.firewall.allowedUDPPorts = [ 53 67 ];
}