Sunday, May 04, 2008

ez-ipupdate

1. Make sure that NSM has DynDNS updating turned on in the Web Admin interface.

2. Populate the hostname, username, and password fields with the information for your first custom host and your account, respectively.

3. Switch back to the NSM box's command line.

4. Copy /etc/dyndns.conf to /etc/ez-ipupdate.conf.

5. Edit /etc/ez-ipupdate.conf as follows:

service-type=dyndns-custom
user=username:password
host=mydomain.com,myseconddomain.com,thirddomain.com
mx=mail.mydomain.com
interface=eth1
max-interval=86400
cache-file=/opt/tmpfs/ez-ipupdate.cache
daemon

(Note: The lines to edit are service-type, host, and if necessary, mx. Leave user, interface, max-interval, cache-file, and the daemon directive as is.)

6. Save the file and exit vi (or your preferred editor).

7. Edit the startup file. The startup file is in the /var/mdw/scripts directory and called dyndns. Change the line that reads ARGS=" -c /etc/dyndns.conf" to read ARGS=" -c /etc/ez-ipupdate.conf"

8. Then, simply hup the ez-ipupdate daemon with:

/var/mdw/scripts/dyndns reload

9. Press Enter and you should be good to go.

No comments: