ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/Gateway/dhclient-exit-hooks
(Generate patch)

Comparing FreeBSDAdmin/Gateway/dhclient-exit-hooks (file contents):
Revision 1407 by douglas, 2011-01-04T03:42:16-08:00 vs.
Revision 1444 by douglas, 2011-10-22T14:57:26-07:00

# Line 47 | Line 47 | dns()
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   }
# Line 56 | Line 56 | case ${reason:=RENEW} in
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines