Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
dnsdist: Add an optional interface parameter to addLocal()/setLocal() #5344
This might come in handy in VRF environments. Barely tested, but should not have any adverse effects.
I was pondering further additions to addLocal() and I think it is high time that we feed it a table like newServer(). This will come in handy with IP_TRANSPARENT options too. It is too much to add as parameters. So I would suggest redoing addLocal so it accepts a table which takes TCP options, reuseport, fast open and now interface as fields.