Ignore:
Timestamp:
2012-04-06T11:35:52+02:00 (5 years ago)
Author:
acinonyx
Message:

[packages] ddns-scripts: Retry domain resolving with each iteration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh

    r29977 r31212  
    273273 
    274274 
    275  
    276 registered_ip=$(echo $(nslookup "$domain" 2>/dev/null) |  grep -o "Name:.*" | grep -o "$ip_regex") 
    277  
    278  
    279275#do update and then loop endlessly, checking ip every check_interval and forcing an updating once every force_interval 
    280276 
    281277while [ true ] 
    282278do 
     279        registered_ip=$(echo $(nslookup "$domain" 2>/dev/null) |  grep -o "Name:.*" | grep -o "$ip_regex") 
    283280        current_ip=$(get_current_ip) 
    284281 
Note: See TracChangeset for help on using the changeset viewer.