I have setup dnsmasq to the basic configuration, pointing a file with two IP addresses.
10.0.0.1 a.b.c
10.0.0.2 a.b.c
When I do nslookup or dig on a.b.c, I see round robin seems to be in effect (as I would expect since as far as I know round robin is the default in dnsmasq). But when I curl or ping a.b.c, I always get the same response. The obvious first response is that the response is being cached, but from what I can tell, curl does not cache the response and when you use the -v flag for curl the first line printed is something like "cache missed".
So what I am wondering is: am I doing something wrong in my setup? Is there somewhere else that the caching could possibly be happening? I can provide exact files or more info, but I'm currently a bit lost as to why I don't see the rotating happening.
Asked by mccormickt12
(151 rep)
Jun 17, 2016, 11:55 PM
Last activity: Aug 17, 2021, 09:12 PM
Last activity: Aug 17, 2021, 09:12 PM