On Wed, 2002-12-18 at 03:20, RA wrote: > Dear all, > > The following DNS entry exists in your DNS server. > > webik.qqqq.com IN A a.b.c.d. > webik.qqqq.com IN A e.f.g.h. > > I would like to know whether a priority can be set to this entry, so > that the client from internet, who makes a DNS query for "webik.com" > will always get the IP "a.b.c.d"? > If this link (a.b.c.d) is not available, then the second IP (e.f.g.h) > will be answered for the same DNS query. > > In other words, can we set priority for "A" records, as in case of > "MX" records? >
With special software, yes. You might want to ask the bind groups. I know it can be done, but I don't know the popular/best ways to do it. However I can tell you that it is not a good way to do what you are describing, for two reasons. First, most web browsing clients have internal DNS caching, they don't lookup an IP address every time a URL referred object is fetched. The web browser clients don't always honor cache timeouts, and even if they did, their may be caching DNS servers between your servers and the clients that don't honor your DNS entries. So the proper way to do what you are suggesting is either to set up clustered web servers with a floating IP address, or to set up a fault tolerant "load-balancer" in front of the web servers. You can "weight" the load-balancing in such a way so that ALL web queries get redirected to one of the servers unless it is unreachable, in which case ALL queries go to the other. -Ben. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list