diff --git a/config b/config index 280913e..efeba1c 100644 --- a/config +++ b/config @@ -2,17 +2,18 @@ options => { listen => any } plugins => { - multifo => { + weighted => { + multi = false up_thresh => 0.3 - service_types => up, + service_types = up www => { addrs_v4 => { - prod8 => 178.62.7.227, - prod9 => 178.62.116.171, + prod8 = [ 178.62.7.227, 1 ] + prod9 = [ 178.62.116.171, 1 ] } addrs_v6 => { - prod8 => 2a03:b0c0:1:d0::b7:c001, - prod9 => 2a03:b0c0:1:d0::b7:b001, + prod8 = [ 2a03:b0c0:1:d0::b7:c001, 1 ] + prod9 = [ 2a03:b0c0:1:d0::b7:b001, 1 ] } } } diff --git a/zones/chemtalk.org b/zones/chemtalk.org index a6976ec..169ee66 100644 --- a/zones/chemtalk.org +++ b/zones/chemtalk.org @@ -10,8 +10,8 @@ $ORIGIN chemtalk.org. ) ; Wildcard services -@ DYNA multifo!www -* DYNA multifo!www +@ DYNA weighted!www +* DYNA weighted!www ; Name servers @ NS ns1.orain.org. diff --git a/zones/orain.org b/zones/orain.org index 7f5e0e9..746dda2 100644 --- a/zones/orain.org +++ b/zones/orain.org @@ -10,8 +10,8 @@ $ORIGIN orain.org. ) ; Wildcard services -@ DYNA multifo!www -* DYNA multifo!www +@ DYNA weighted!www +* DYNA weighted!www ; Name servers @ NS ns1.orain.org. @@ -49,11 +49,11 @@ prod10 A 178.62.5.12 ; Services apt CNAME prod6 -lb DYNA multifo!www +lb DYNA weighted!www lists A 178.62.57.223 AAAA 2a03:b0c0:1:d0::13d:a001 mail A 178.62.57.223 AAAA 2a03:b0c0:1:d0::13d:a001 ganglia CNAME prod6 nagios CNAME prod6 -static DYNA multifo!www +static DYNA weighted!www diff --git a/zones/spiral.wiki b/zones/spiral.wiki index c1c0cdb..21e4ab1 100644 --- a/zones/spiral.wiki +++ b/zones/spiral.wiki @@ -10,8 +10,8 @@ $ORIGIN spiral.wiki. ) ; Wildcard services -@ DYNA multifo!www -* DYNA multifo!www +@ DYNA weighted!www +* DYNA weighted!www ; Name servers @ NS ns1.orain.org. diff --git a/zones/testwiki.org b/zones/testwiki.org index f996d52..7d7ea46 100644 --- a/zones/testwiki.org +++ b/zones/testwiki.org @@ -10,8 +10,8 @@ $ORIGIN testwiki.org. ) ; Wildcard services -@ DYNA multifo!www -* DYNA multifo!www +@ DYNA weighted!www +* DYNA weighted!www ; Name servers @ NS ns1.orain.org. diff --git a/zones/wikiconstitucio.org b/zones/wikiconstitucio.org index 02fe9a7..726b9e0 100644 --- a/zones/wikiconstitucio.org +++ b/zones/wikiconstitucio.org @@ -10,8 +10,8 @@ $ORIGIN wikiconstitucio.org. ) ; Wildcard services -@ DYNA multifo!www -* DYNA multifo!www +@ DYNA weighted!www +* DYNA weighted!www ; Name servers @ NS ns1.orain.org.