From 52b5b8e6552d2e845e2b11db571baf4d493409b9 Mon Sep 17 00:00:00 2001 From: Andy Chiang Date: Sun, 7 Jun 2026 09:52:00 +0700 Subject: [PATCH] ddns-scripts: fix log noise When fetching the IP via a URL with `force_ipversion` enabled, a `Busybox nslookup - no support to 'force IP Version' (ignored)` log is generated periodically. This log is redundant, in this scenario `force_ipversion` only affects the results fetched by wget/uclient-fetch/curl. It is perfectly fine for nslookup to query both A/AAAA records simultaneously. Signed-off-by: Andy Chiang --- net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh b/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh index 94d3a5b8c6..72c5bb0523 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh @@ -1022,8 +1022,6 @@ get_registered_ip() { write_log 14 "Busybox nslookup - no support for 'DNS over TCP'" [ -n "$NSLOOKUP_MUSL" -a -n "$dns_server" ] && \ write_log 14 "Busybox compiled with musl - nslookup don't support the use of DNS Server" - [ $force_ipversion -ne 0 ] && \ - write_log 5 "Busybox nslookup - no support to 'force IP Version' (ignored)" __RUNPROG="$NSLOOKUP $lookup_host $dns_server >$DATFILE 2>$ERRFILE" __PROG="BusyBox nslookup"