Changeset 1672
- Timestamp:
- 06/23/06 06:05:39 (2 years ago)
- Files:
-
- alternc/trunk/src/update_domains.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/src/update_domains.sh
r1671 r1672 236 236 delete_host "$domain" "$host" 237 237 238 if [ "$host_type" = "$TYPE_IP" ]; then 239 ip="$value" 240 else 241 ip="$PUBLIC_IP" 242 fi 238 243 if [ "$host" = "@" -o -z "$host" ]; then 239 change_host_ip "$domain" "$ PUBLIC_IP" || true244 change_host_ip "$domain" "$ip" || true 240 245 fqdn="$domain" 241 246 else 242 if [ "$host_type" = "$TYPE_IP" ]; then243 ip="$value"244 else245 ip="$PUBLIC_IP"246 fi247 247 change_host_ip "$domain" "$ip" "$host" || true 248 248 fqdn="${host}.${domain}"
