Strategy For Bind9
Posted: 04 Feb 2016, 18:01
Hi,
I recently put up a new DNS server using 'bind9' and installed CSF.
I prefer to filter outgoing traffic, as much as possible, as well as incoming.
In the past, I allowed port 53 TCP and UDP in both incoming and outgoing directions with TCP_IN, TCP_OUT, UDP_IN and UDP_OUT.
However, apparently, by default and for security reasons, Bind9 uses random source ports for outside lookups. This can apparently be modified with a named.conf configuration option like:
which is what I'm doing for the moment, but it logs this at startup:
Does anyone have any suggestions to me for running Bind9 with CSF?
Thanks in advance,
G
I recently put up a new DNS server using 'bind9' and installed CSF.
I prefer to filter outgoing traffic, as much as possible, as well as incoming.
In the past, I allowed port 53 TCP and UDP in both incoming and outgoing directions with TCP_IN, TCP_OUT, UDP_IN and UDP_OUT.
However, apparently, by default and for security reasons, Bind9 uses random source ports for outside lookups. This can apparently be modified with a named.conf configuration option like:
Code: Select all
query-source address * port 53;
Code: Select all
using specific query-source port suppresses port randomization and can be insecure
Thanks in advance,
G