SRV Record Priority set by IP Address
Dmitry Rybin
kirgudu at corbina.net
Mon Jul 20 10:43:02 UTC 2009
Lev Vanyan wrote:
>
> i've stumbled into a question whether it is possible to configure BIND
> in a way that it responds to DNS SRV requests with the priority flag
> changed depending on the IP address of the requesting party.
> For example,
> there are two SRV records for _foobar._tcp. One points to 10.0.1.2 and
> the other to 10.0.2.2. The requesting party has the ip address
> 10.0.1.53. I would want to have the first one with the priority higher
> than the second, which would allow me to split up the network by zones
> each one having their own server with the rest of servers used only in
> case of the prevalent zone server failure.
As variant:
Two views, fist with record
srv 10.0.1.2
srv 10.0.2.2
second:
srv 10.0.2.2
srv 10.0.1.2
Then set RRSET to FIXED.
More information about the bind-users
mailing list