[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
Chris Fowler cfowler@outpostsentinel.com
Wed, 7 Dec 2011 15:12:12 GMT
There may be a way you could use dnsmasq on the conserver host. dnsmasq will first consult /etc/hosts before it uses /etc/resolv.conf. Consider it a primitive form of DNS server. If you do a migration you can change /etc/hosts. Netcat does not need to be restarted if you tweak the kernel's TCP kleep alive settings. These need to be tuned anyway to guarantee you connected as often as possible. On our system this is set from 2 hours to 5 minutes. Seems dramatic, but we consider connections to be critical. The only other issue would be the issue of ports. Maybe you write a script that manages net cat on the conserver host and references an XML file for config. You update the file as needed and when the nc process dies a manager will execute it again with the proper port number. Chris