code: plan9front

Download patch

ref: bd6cae6a10c11221864bf4ee92ccd97bf733c733
parent: 9a853e0d792a1e7fe218b43d373ea2760e3a2d34
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat May 27 12:23:14 EDT 2023

ip/ipconfig: ... but refresh for ndbconfig

--- a/sys/src/cmd/ip/ipconfig/main.c
+++ b/sys/src/cmd/ip/ipconfig/main.c
@@ -882,7 +882,7 @@
 	}
 
 	/* dns unaffected, no need to refresh dns */
-	if(!beprimary)
+	if(!beprimary && !dondbconfig)
 		return;
 
 	snprint(file, sizeof file, "%s/dns", conf.mpoint);