+-- nslookup compiled with musl produce problems when using
+if not DDNS.has_dnsserver then
+ local ds = s:option(DummyValue, "_no_dnsserver")
+ ds.titleref = DISP.build_url("admin", "system", "packages")
+ ds.rawhtml = true
+ ds.title = bold_on ..
+ translate("Using specific DNS Server not supported") .. bold_off
+ ds.value = translate("BusyBox's nslookup in the current compiled version " ..
+ "does not handle given DNS Servers correctly!") ..
+ "<br />- " ..
+ translate("You should install BIND host or hostip package, " ..
+ "if you need to specify a DNS server to detect your registered IP.")
+end
+
+-- certificates installed
+if DDNS.has_ssl and not DDNS.has_cacerts then
+ local ca = s:option(DummyValue, "_no_certs")
+ ca.titleref = DISP.build_url("admin", "system", "packages")
+ ca.rawhtml = true
+ ca.title = bold_on ..
+ translate("No certificates found") .. bold_off
+ ca.value = translate("If using secure communication you should verify server certificates!") ..
+ "<br />- " ..
+ translate("Install ca-certificates package or needed certificates " ..
+ "by hand into /etc/ssl/certs default directory")
+end
+