#!/bin/sh
first=$(dig +short vrt.be)
echo "$first"
i=0
while [ $i -lt 100 ]; do
last=$(dig +short vrt.be)
if [ "$first" != "$last" ]; then
echo "$i: rotated"
echo "$last"
else
echo "$i: OK"
fi
i=$(($i+1))
done
It comes back 100x times without any rotation for me. Note that I'm using the dnsmasq cache, this seems to work just fine. Your rotation will come from upstream because FTL has no way to remember the order of the replies last time with cache disabled. It will just forward without modification what it received from upstream.
Nov 21 12:56:31 dnsmasq[16067]: 208 127.0.0.1/55694 query[A] vrt.be from 127.0.0.1
Nov 21 12:56:31 dnsmasq[16067]: 208 127.0.0.1/55694 forwarded vrt.be to 127.10.10.2#5552
Nov 21 12:56:31 dnsmasq[16067]: 208 127.0.0.1/55694 reply vrt.be is 76.223.91.55
Nov 21 12:56:31 dnsmasq[16067]: 208 127.0.0.1/55694 reply vrt.be is 13.248.195.120
Nov 21 12:56:32 dnsmasq[16067]: 209 127.0.0.1/47211 query[A] vrt.be from 127.0.0.1
Nov 21 12:56:32 dnsmasq[16067]: 209 127.0.0.1/47211 forwarded vrt.be to 127.10.10.2#5552
Nov 21 12:56:32 dnsmasq[16067]: 209 127.0.0.1/47211 reply vrt.be is 76.223.91.55
Nov 21 12:56:32 dnsmasq[16067]: 209 127.0.0.1/47211 reply vrt.be is 13.248.195.120
Nov 21 12:56:33 dnsmasq[16067]: 210 127.0.0.1/47015 query[A] vrt.be from 127.0.0.1
Nov 21 12:56:33 dnsmasq[16067]: 210 127.0.0.1/47015 forwarded vrt.be to 127.10.10.2#5552
Nov 21 12:56:33 dnsmasq[16067]: 210 127.0.0.1/47015 reply vrt.be is 13.248.195.120
Nov 21 12:56:33 dnsmasq[16067]: 210 127.0.0.1/47015 reply vrt.be is 76.223.91.55
Nov 21 12:56:34 dnsmasq[16067]: 211 127.0.0.1/40313 query[A] vrt.be from 127.0.0.1
Nov 21 12:56:34 dnsmasq[16067]: 211 127.0.0.1/40313 forwarded vrt.be to 127.10.10.2#5552
Nov 21 12:56:34 dnsmasq[16067]: 211 127.0.0.1/40313 reply vrt.be is 76.223.91.55
Nov 21 12:56:34 dnsmasq[16067]: 211 127.0.0.1/40313 reply vrt.be is 13.248.195.120
Nov 21 12:56:35 dnsmasq[16067]: 212 127.0.0.1/35754 query[A] vrt.be from 127.0.0.1
Nov 21 12:56:35 dnsmasq[16067]: 212 127.0.0.1/35754 forwarded vrt.be to 127.10.10.2#5552
Nov 21 12:56:35 dnsmasq[16067]: 212 127.0.0.1/35754 reply vrt.be is 76.223.91.55
Nov 21 12:56:35 dnsmasq[16067]: 212 127.0.0.1/35754 reply vrt.be is 13.248.195.120
No, this has nothing to do with unbound but solely with not using the dnsmasq cache. You could suggest clarifying the dnsmasq man page in this regard, running dnsmasq without cache is quite unusual (after all Simon Kelley calls it a "caching DNS resolver") and this was likely simply forgotten.