Skip to content

Commit fded457

Browse files
committed
Emit DNS using router server address if we are using IPv4
1 parent 70fe1c6 commit fded457

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lan.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ in
3737
})
3838
];
3939

40+
dhcpServerConfig = lib.mkIf (!cfg.ipv6Only) {
41+
DNS = "_server_address";
42+
};
43+
4044
ipv6SendRAConfig = {
4145
EmitDNS = true;
4246
DNS = "_link_local";

0 commit comments

Comments
 (0)