<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>So when multiple DNS records are available, is it possible to direct all DNS queries to first (NS) record always? meaning, </span></div><div><span></span> </div><div><span> mail.myoffice.com<span class="tab"> IN<span class="tab"> NS<span class="tab"> 20.20.20.20</span></span></span></span></div><div><span><span class="tab"><span class="tab"><span class="tab">mail.myoffice.com<span class="tab"> IN<span class="tab"> NS<span class="tab"> 30.30.30.30</span></span></span></span></span></span></span></div><div><span><span class="tab"><span class="tab"><span class="tab"><span class="tab"><span class="tab"><span
class="tab"></span></span></span></span></span></span></span> </div><div><span><span class="tab"><span class="tab"><span class="tab"><span class="tab"><span class="tab"><span class="tab"> In the above, is it possible to dirct all DNS queries only to 20.20.20.20 and if this fails, is it possible to direct dns queries to next NS server(30.30.30.30)?</span></span></span></span></span></span></span></div><div><span><span class="tab"><span class="tab"><span class="tab"><span class="tab"><span class="tab"><span class="tab"></span></span></span></span></span></span></span> </div><div><span>Regards</span></div><div><span>Babu</span></div><div><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font size="2" face="Arial"><div style="margin: 5px 0px; padding: 0px; border: 1px solid rgb(204, 204, 204); height: 0px;
line-height: 0; font-size: 0px;" class="hr" contentEditable="false" readonly="true"></div><b><span style="font-weight: bold;">From:</span></b> Kevin Oberman <kob6558@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Florian CROUZAT <gentoo@floriancrouzat.net><br><b><span style="font-weight: bold;">Cc:</span></b> bind-users@lists.isc.org<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, 16 September 2011 8:32 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Query regarding NS record<br></font><br>On Fri, Sep 16, 2011 at 8:52 AM, Florian CROUZAT<br><<a href="mailto:gentoo@floriancrouzat.net" ymailto="mailto:gentoo@floriancrouzat.net">gentoo@floriancrouzat.net</a>> wrote:<br>> babu dheen wrote on 2011-09-16:<br>><br>>> Hi,<br>>> Can anyone let me know how i can resolve the below requirement.<br>>><br>>> Requirement:<br>>><br>>> We
have two offices. One is main office and another one is remote<br>>> branch office. Now my company client requirement is that if main office<br>>> DNS server is not reachable, all DNS query should be sent to branch<br>>> office DNS server. How this can be acheived using BIND?<br>>><br>>> For example, my company mail website is; mail.mycompany.com which is<br>>> pointed as below in ISP name server.<br>>><br>>> mail.mycompany.com IN NS ns1.mainoffice.com<br>>> mail.mycompany.com IN NS ns1.branceoffice.com<br>>><br>>> Is the above record is correct or not?<br>>> Please suggest.<br>>> Regards<br>>> papdheen M<br>>><br>>><br>>><br>>><br>><br>> Babu,<br>><br>> Your example isn't failover, this is load balancing.<br>>
That's two different concepts.<br><br>Actually, I would not describe it as either fail-over or load<br>balancing. It's probably closer to fail-over or the people at the man<br>office, but not for those at the branch.<br><br>I believe that when multiple NS records are available, BIND will<br>direct queries to the fastest responding server. It does not<br>"round-robin" queries or anything like that. So, people at the main<br>office will usually get response from that system and people at the<br>branch office will usually get responses from that server. But, if the<br>servers are configured properly, they will always be in sync withing<br>seconds of any change.<br>-- <br>R. Kevin Oberman, Network Engineer - Retired<br>E-mail: <a href="mailto:kob6558@gmail.com" ymailto="mailto:kob6558@gmail.com">kob6558@gmail.com</a><br>_______________________________________________<br>Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users"
target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br><br>bind-users mailing list<br><a href="mailto:bind-users@lists.isc.org" ymailto="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br><br><br></div></div></div></body></html>