From e19e1df555e7c4585ceb0b8391271d1ff97374ca Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Sat, 5 Oct 2019 20:52:33 -0500 Subject: [PATCH] Set $name before trying to adjust it --- ddclient | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ddclient b/ddclient index 2ca2915..de186ef 100755 --- a/ddclient +++ b/ddclient @@ -3765,7 +3765,8 @@ sub nic_nfsn_examples { o 'nfsn' -The 'nfsn' protocol is used for the DNS service offered by www.nearlyfreespeech.net. +The 'nfsn' protocol is used for the DNS service offered by www.nearlyfreespeech.net. Use this URL to get your API-Key-password: + https://members.nearlyfreespeech.net/support/assist?tag=apikey Configuration variables applicable to the 'nfsn' protocol are: protocol=nfsn @@ -3913,6 +3914,7 @@ sub nic_nfsn_update { $zone); next; } else { + $name = $h; $name =~ s/(.*)\.${zone}$/$1/; }