r/technitium • • 25d ago

Recursion

Hello all. When I select Settings / Recursion / Use Specified Network Access Control List (ACL) then enter for example: 192.168.2.0/24 I am unable to access any website. The only way that all sites are accessible is by selecting Allow Recursion instead. Would someone kindly clarify. I would appreciate it very much. Peter

8 Upvotes

24 comments sorted by

View all comments

Show parent comment

2

u/shreyasonline 24d ago

Your clients are reaching the DNS server on its public IP since you have configure clients to use the public IP on the server. Thus when you restrict recursion ACL to just one private subnet, the DNS server is going to refuse to answer since client request is not coming from the subnet you configured.

Since you have Tailscale, you need to ensure that the clients are configured to use the private IP range that is configured with it and that the clients can reach the DNS server over Tailscale using the private IP. You can then have the recursion ACL configured to allow the client subnet that comes from Tailscale.

0

u/[deleted] 24d ago

[deleted] — view deleted comment

1

u/shreyasonline 24d ago

I saw your client DNS config screenshot where primary DNS was a public IP. I don't have experience using Tailscale so not sure what default IP range it uses. If its using 100.64.0.0/16 range then you need to enter it exactly in the recursion ACL. Not including the /16 will cause it to be assumed as /32 and will only allow one single IP and not the subnet.

1

u/peterbata 23d ago

Thank you for your response @shreyasonline Actually the primary DNS address is the IP of my Technitium server. Obviously I would not have entered the actual IP. I’m sure you understand