title: Add ip of host to hosts.allow
body: <p>I use a machine with dynamic ip and dyndns to manage other remote machines. What i'd like to be able to do is for the remote machines to check the ip of the dyndns hostname ie</p>
  
  <pre><code>dig +short unix.stackexchange.com
  </code></pre>
  
  <p>and the resulting ip to be added to the end of a line in hosts.allow using a bash script so I can run it every 24 hours.</p>