47 |
|
nsupdate -d <<-EOF |
48 |
|
key $key $secret |
49 |
|
update delete $hostname A |
50 |
< |
update add $hostname 3600 A $new_ip_address |
50 |
> |
update add $hostname 300 A $new_ip_address |
51 |
|
send |
52 |
|
EOF |
53 |
|
} |
56 |
|
BOUND|RENEW|REBIND|REBOOT) |
57 |
|
case `hostname -s` in |
58 |
|
justonenight) |
59 |
< |
hostname='ellwoodbeach.douglasthrift.net' |
60 |
< |
tunnelbroker_server='66.220.18.42' |
59 |
> |
hostname='laguna.douglasthrift.net' |
60 |
> |
tunnelbroker_server='64.62.134.130' |
61 |
|
;; |
62 |
|
backhome) |
63 |
|
hostname='mustang.douglasthrift.net' |
64 |
+ |
tunnelbroker_server='66.220.18.42' |
65 |
|
;; |
66 |
|
esac |
67 |
|
|