I want to set up an experimental nameserver that asks clients to send requests via TCP only by sending back packets with the TC bit set. For that purpose I tried to work with the rate-limit parameter in the named.conf.options
file but I couldnt make it work. I set:
rate-limit {
responses-per-second 1;
slip 0;
};
But if I make a dig request for an RR, the reply I get back does not have the TC bit set nor is it via tcp, it is still a udp packet. How do I force my server to only interact with tcp connections?
I am using bind9 and my OS is Ubuntu 20.04