Author Topic: DNS cache for others local networks  (Read 1577 times)

genek72

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
DNS cache for others local networks
« 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?
« Last Edit: January 05, 2023, 11:12:14 am by genek72 »

genek72

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: DNS cache for others local networks
« Reply #1 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 :)
« Last Edit: January 05, 2023, 11:13:34 am by genek72 »