mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
fix dns
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
networking = {
|
networking = {
|
||||||
hostName = "${host}";
|
hostName = "${host}";
|
||||||
nameservers = [
|
nameservers = [
|
||||||
"127.0.0.1"
|
"172.31.30.2"
|
||||||
"::1"
|
"fd12:3456:789a:30::53"
|
||||||
];
|
];
|
||||||
|
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
@@ -34,20 +34,4 @@
|
|||||||
|
|
||||||
security.pki.certificateFiles = [ ./ca/root_ca.crt ];
|
security.pki.certificateFiles = [ ./ca/root_ca.crt ];
|
||||||
|
|
||||||
services.dnscrypt-proxy = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
doh_servers = false;
|
|
||||||
dnscrypt_servers = false;
|
|
||||||
|
|
||||||
server_names = [ "moons14-plain" ];
|
|
||||||
static."moons14-plain".stamp = "sdns://AAAAAAAAAAAACzE3Mi4zMS4zMC4y";
|
|
||||||
|
|
||||||
ignore_system_dns = true;
|
|
||||||
listen_addresses = [
|
|
||||||
"127.0.0.1:53"
|
|
||||||
"[::1]:53"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user