aboutsummaryrefslogtreecommitdiff
path: root/net/ddns-scripts/samples
diff options
context:
space:
mode:
authorClaudio Marelli <camarelli@gmx.net>2022-01-15 10:07:30 +0100
committerClaudio Marelli <camarelli@gmx.net>2022-01-15 10:07:30 +0100
commitdc0953fedd19cf77e76e0198457ab2f1a24b1572 (patch)
treec4d8cab7e2b50188a51274fff1ecb1cd8b790528 /net/ddns-scripts/samples
parentbd10c454f4606047eebb1334ec904547b9bbdeed (diff)
ddns-scripts: pass user agent string
This adds a user agent string to the wget request. Fixes #17507 Signed-off-by: Claudio Marelli <camarelli@gmx.net>
Diffstat (limited to 'net/ddns-scripts/samples')
-rw-r--r--net/ddns-scripts/samples/ddns.config_sample5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ddns-scripts/samples/ddns.config_sample b/net/ddns-scripts/samples/ddns.config_sample
index a3aa7e813..46bd8abe2 100644
--- a/net/ddns-scripts/samples/ddns.config_sample
+++ b/net/ddns-scripts/samples/ddns.config_sample
@@ -221,6 +221,11 @@ config service "myddns"
# option ip_source "script"
# option ip_script ""
+ # This option can be used in combination with ip_source "web" and ip_url.
+ # It adds a given user agent string to the request.
+ # Will only be used when wget or wget-ssl is installed.
+# option user_agent "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/95.0"
+
###########
# force_ipversion option will set the "-4" respectively "-6" parameter
# on command line of transfer and DNS lookup program.