s/dnsmasq/bind/
This commit is contained in:
+5
-12
@@ -26,8 +26,7 @@ in
|
|||||||
networking = {
|
networking = {
|
||||||
hostName = "mm";
|
hostName = "mm";
|
||||||
domain = "mindmazeroom.lan";
|
domain = "mindmazeroom.lan";
|
||||||
nameservers = [ "127.0.0.1" ];
|
nameservers = [ lanIpAddress ];
|
||||||
networkmanager.enable = true;
|
|
||||||
interfaces = {
|
interfaces = {
|
||||||
"${wanInterface}".useDHCP = true;
|
"${wanInterface}".useDHCP = true;
|
||||||
"${lanInterface}" = {
|
"${lanInterface}" = {
|
||||||
@@ -51,16 +50,10 @@ in
|
|||||||
lan = [ lanInterface ];
|
lan = [ lanInterface ];
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
dnsmasq = {
|
bind = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
cacheNetworks = [ "127.0.0.1/24" "${lanIpAddress}/24" ];
|
||||||
expand-hosts = true;
|
listenOn = [ lanInterface ];
|
||||||
log-queries = true;
|
|
||||||
server = [
|
|
||||||
"1.1.1.1"
|
|
||||||
"8.8.4.4"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
create_ap = {
|
create_ap = {
|
||||||
enable = false;
|
enable = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user