Zentyal Forum, Linux Small Business Server

Zentyal Server => Other modules => Topic started by: genek72 on January 03, 2023, 10:09:31 pm

Title: DNS cache for others local networks
Post by: genek72 on January 03, 2023, 10:09:31 pm
Hi.
In official documentation Zentyal 7 is written:
"Sometimes this DNS cache server might need to be queried from internal networks that are not directly configured in Zentyal."
I have many diffrent nets in my school behind main router. All of them should use that DNS. But it works only for local configured domains, not working as a cache. It answers properly only for hosts from the network, the Zentyal works.
Sorry for my English.
Any idea to resolve that problem and :) resolve cached domains in others subnetworks?
Title: Re: DNS cache for others local networks
Post by: genek72 on January 05, 2023, 11:11:00 am
I have found simple solution:
1.ssh into zentyal

2. edit file & add others nets as known e.g.
Code: [Select]
sudo nano /etc/zentyal/dns.conf

intnets = 10.1.23.0/24,10.1.22.0/24,10.1.24.0/24
3. restart dns module via admin panel (not restarting named)

it works :)