nixos/nsd: After/Want network-online.target
This is required in the case one uses nsd as a primary name server. Otherwise, the nsd instance cannot notify the secondary name servers properly, as the network may still be unreachable by that point.
This commit is contained in:
@@ -988,8 +988,9 @@ in
|
||||
systemd.services.nsd = {
|
||||
description = "NSD authoritative only domain name service";
|
||||
|
||||
after = [ "network.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
|
||||
startLimitBurst = 4;
|
||||
startLimitIntervalSec = 5 * 60; # 5 mins
|
||||
|
||||
Reference in New Issue
Block a user