Index: Makefile =================================================================== --- Makefile (revision 437320) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= ddclient PORTVERSION= 3.8.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= dns MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} Index: files/ddclient_force.in =================================================================== --- files/ddclient_force.in (revision 437320) +++ files/ddclient_force.in (working copy) @@ -16,9 +16,16 @@ echo echo 'Forcing ddclient update:' - out=`%%PREFIX%%/sbin/ddclient -force` - echo "$out" - rc=0 + # sleep randomly to reduce congestion on dyn dns server. In + # FreeBSD 12.0 the anticongestion function should be used + # instead of a hard-coded sleep + if [ -n "$anticongestion_sleeptime" ]; then + anticongestion + else + sleep `jot -r 1 0 900` + fi + + %%PREFIX%%/sbin/ddclient -force || rc=3 ;; *) rc=0