use unstable dae for fix bug and modify some dae config
This commit is contained in:
parent
7871e788aa
commit
1620d6cd44
6 changed files with 18 additions and 6 deletions
|
|
@ -21,7 +21,7 @@
|
|||
];
|
||||
matchConfig.Name = "eno2";
|
||||
# networkConfig = {
|
||||
# DHCP = "no";
|
||||
# DHCP = "yes";
|
||||
# IPv6AcceptRA = true;
|
||||
# };
|
||||
};
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ global {
|
|||
auto_config_kernel_parameter: true
|
||||
dial_mode: domain
|
||||
|
||||
tcp_check_url: 'http://cp.cloudflare.com'
|
||||
udp_check_dns: 'dns.google.com:53'
|
||||
# tcp_check_url: 'http://cp.cloudflare.com'
|
||||
# udp_check_dns: '114.114.114.114:53'
|
||||
check_interval: 600s
|
||||
check_tolerance: 50ms
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ dns {
|
|||
|
||||
upstream {
|
||||
googledns: 'tcp+udp://8.8.8.8:53'
|
||||
alidns: 'udp://dns.alidns.com:53'
|
||||
alidns: 'udp://223.5.5.5:53'
|
||||
}
|
||||
routing {
|
||||
request {
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ in
|
|||
(lib.mkIf cfg.enable {
|
||||
services.dae = {
|
||||
enable = true;
|
||||
package = pkgs.dae;
|
||||
openFirewall = {
|
||||
enable = true;
|
||||
port = 12345;
|
||||
|
|
@ -63,6 +64,7 @@ in
|
|||
fi
|
||||
done
|
||||
if [[ -d /etc/dae/proxy.d ]]; then
|
||||
rm -rf /etc/proxy.d.old
|
||||
mv /etc/dae/proxy.d /etc/dae/proxy.d.old
|
||||
fi
|
||||
mv ''${new_proxy} /etc/dae/proxy.d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue