<div>I&#39;m not sure how DNS server works, is it possible for the DNS server to detect the failure of a specific port? i.e. to find out if rabbit is down, when the OS is still up and running.<br><br><div class="gmail_quote">
2012/3/12 Carl H�rberg <span dir="ltr">&lt;<a href="mailto:carl.hoerberg@gmail.com">carl.hoerberg@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
what about a multi A DNS record (with low ttl), which you update when<br>
a server is down/up?<br>
<div><div class="h5"><br>
On Mon, Mar 12, 2012 at 11:26, stone &lt;<a href="mailto:zmstone@gmail.com">zmstone@gmail.com</a>&gt; wrote:<br>
&gt; Hi there!<br>
&gt;<br>
&gt; Is there any good practice regarding how to write self-managed AMQP client<br>
&gt; (Erlang based)<br>
&gt; Here is what I need to accomplish:<br>
&gt; 1. I don&#39;t what to hard-code hostname/ip address of rabbit-server,<br>
&gt; using a configuration file would be a simple solution, but, is there a<br>
&gt; better way?<br>
&gt;<br>
&gt; 2. Client should be able to get the rabbit server &quot;running cluster&quot;<br>
&gt; information.<br>
&gt; so if the current connection is broken, it could try another one in the<br>
&gt; cluster,<br>
&gt; then perhaps update the &quot;running cluster&quot; list from the new node;<br>
&gt;<br>
&gt; Brs<br>
&gt; /stone<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
&gt;<br>
</blockquote></div><br></div>