bind and multiple a records

Ceri Davies ceri at submonkey.net
Mon Apr 24 19:25:43 UTC 2006


On 23/4/06 07:24, "Chad Leigh -- Shire.Net LLC" <chad at shire.net> wrote:

> On FreeBSD 6.0 with bind9, if I define a host to have multiple A
> records, such that some IP addresses are listed more than once, for
> example:
> 
> .
> .
> .
> www  600  IN A  192.168.1.1
> 600  IN A   192.168.1.2
> 600  IN A  192.168.1.1
> .
> .
> .
> 
> 
> Will those addresses listed more than once show up more often as the
> "answer" to name server requests (or more often as the first address
> since it lists all addresses in response alternating the order)??

If it doesn't you could cheat thusly:

www     IN  CNAME   www1
        IN  CNAME   www2
        IN  CNAME   www3
www1    IN  A   192.168.1.1
www2    IN  A   192.168.1.1
www3    IN  A   192.168.1.2

It would still be a crappy solution though :)

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                      -- Moliere





More information about the freebsd-questions mailing list