Make our dynamic dns update system for compute nodes more generic.

refs #4461