INTL 3:770/1 3:770/3   
   REPLYADDR steveo@eircom.net   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: <20240210071427.8db358d34ed2a05f4f37d878@eircom.net> f04dfe59   
   REPLY: e0c0f024   
   PID: SoupGate-Win32 v1.05   
   On Fri, 9 Feb 2024 20:41:11 -0500   
   "68g.1503" <68g.1504@exr3.net> wrote:   
      
   > Wget and the daemons for dynDNS and friends are very   
   > different things BTW.   
      
    No they are not - every dynamic dns service I know of updates in   
   essentially the same way, you make an http(s) request with the domain, an   
   authentication key and optionally the IP address (otherwise it uses the   
   source). Usually curl or wget is used to make the request, it is good   
   practice to minimise the requests by checking for IP changes but not   
   necessary. My ddns daemon looks like this:   
      
   #!/bin/sh   
   old_external=''   
   while true   
   do   
    external_ip=`fetch -q -o - http://ifconfig.me/ip`   
    if [ "$external_ip" -a "$old_external" != "$external_ip" ]   
    then   
    curl -s -4 "https://:@dyn.dns.he.net/nic/update?hostname="   
    fi   
    sleep 30   
   done   
      
   --   
   Steve O'Hara-Smith   
   Odds and Ends at http://www.sohara.org/   
   For forms of government let fools contest   
   Whate're is best administered is best - Alexander Pope   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 128/260 129/305 135/225   
   SEEN-BY: 153/757 7715 218/0 1 601 700 840 870 930 220/70 221/1 6 226/17   
   SEEN-BY: 226/30 100 227/114 229/110 112 113 200 206 307 317 400 426   
   SEEN-BY: 229/428 470 550 616 664 700 240/1120 266/512 267/800 282/1038   
   SEEN-BY: 291/111 292/854 301/1 113 812 310/31 320/219 322/757 335/364   
   SEEN-BY: 341/66 342/200 396/45 460/58 633/280 712/848 770/1 3 100   
   SEEN-BY: 770/330 340 772/210 220 230 5020/400 1042 5058/104 5075/35   
   PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426   
      
|