OPNsense Forum

English Forums => General Discussion => Topic started by: Zugschlus on November 13, 2025, 06:20:27 AM

Title: DNS service as slave server?
Post by: Zugschlus on November 13, 2025, 06:20:27 AM
Hi,

just to make sure before I suggest building just another dedicated DNS server: OPNsense can only do forwarding and cannot run as slave DNS server having the zone actually loaded? At a site I need a DNS server that can still resolve the internal names when the connection to the DNS servers holding the actual zone is not available.

Greetings, Marc Haber
Title: Re: DNS service as slave server?
Post by: Monviech (Cedrik) on November 13, 2025, 06:32:33 AM
You could use the os-bind plugin fir Zone updates of a secondary zone.
Title: Re: DNS service as slave server?
Post by: Patrick M. Hausen on November 13, 2025, 06:54:59 AM
What @monviech said - BTDT, works great.
Title: Re: DNS service as slave server?
Post by: Zugschlus on November 13, 2025, 12:36:50 PM
Thank you. Will look for available plugins in the future.
Title: Re: DNS service as slave server?
Post by: Patrick M. Hausen on November 13, 2025, 12:46:17 PM
You might want to still run Unbound as the primary recursive resolver for local synchronisation of DHCP & DNS. You can run BIND on e.g. port 53530 and set a forwarding entry for the zone in question in Unbound.