Hello BIND experts,

I'm not a DNS expert. Suppose i have two BIND servers. Both have the entries below:

vpn.pepsi.com.                 in      ns      adns-LA.pepsi.com.
vpn.pepsi.com.                 in      ns      adns-NY.pepsi.com.
adns-LA.pepsi.com.               in      a
adns-NY.pepsi.com.               in      a

Question#1: Are lookups for vpn.pepsi.com being round-robined or are both A records being returned to the client?

Question #2: If lookups are being round-robined, supposed adns-la.pepsi.com ( goes down. Wouldn't BIND still try to answer with that record? I assume yes since it doesnt have a way to know that adns-la.pepsi.com is down.
Who is Participating?
Ugo MenaConnect With a Mentor Commented:
I think it would depend on the routing decisions made based on path, network policies, and/or rule-sets. I would assume the faster/shorter connection would respond first.
Ugo MenaCommented:
to configure RR on BIND DNS, you would define multiple A records with the same name and different IPs.

adns-LA.pepsi.com.               in      a
                                                 in      a

adns-NY.pepsi.com.               in      a
                                                 in      a

or similarly

vpn.pepsi.com                in          a
                                         in           a
                                         in            a
                                         in             a

DNS will deliver all the IP addresses defined, the first IP address in the returned list will be in a (default) round robin order (controlled by the rrset-order 'named.conf' statement).
trojan81Author Commented:
ultralites, thanks for the explanation. I don't see that in the BIND configs so I assume we are not RR.

So based on my example, when a user does a lookup for vpn.pepsi.com is he querying both ADNS-la.pepsi.com and adns-ny.pepsi.com?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.