Hi,
Can anyone help me in configuring unbound to listen for client queries
on multiple ports and answer to clients.
interface: <ip address[@port]> can be used to hardcode the port but is
there any way that i can define a range of ports for unbound server
to listen client queries let say range from port 1024-54444.
Hello,
Can anyone help me in configuring unbound to listen for client queries
on multiple ports and answer to clients.
I don't think you can listen on a range of ports, you need to list them
individually.
interface: <ip address[@port]> can be used to hardcode the port but is
there any way that i can define a range of ports for unbound server
to listen client queries let say range from port 1024-54444.
I'm wondering why you'd do this? If you really need this, I'd do it with
DNAT/REDIRECT instead of creating ~50k sockets.
Cheers,
Simon
Are you possibly looking for the options outgoing-port-permit and outgoing-port-avoid, which tell unbound to use or avoid specific port ranges for its own outgoing queries to authoritative DNS servers?