OPNsense Forum

English Forums => General Discussion => Topic started by: spetrillo on March 30, 2024, 01:36:10 am

Title: DNS Search Domain
Post by: spetrillo on March 30, 2024, 01:36:10 am
Hello all,

In System/Settings/General there is an option called DNS Search Domain. I recently have stood up new infrastructure, including firewalls. I have to swing my public domain name over to the new infrastructure. Can I use DNS Search Option to add the public domain to each device that sits behind the firewall?

Thanks,
Steve
Title: Re: DNS Search Domain
Post by: zan on March 30, 2024, 05:49:25 am
The one in System>Settings>General is only for OPNsense itself.
We can use DHCP to advertise Domain search list to network clients.

HTH.
Title: Re: DNS Search Domain
Post by: spetrillo on March 30, 2024, 12:03:22 pm
That would be great...if I was using DHCP. Maybe Unbound has something.
Title: Re: DNS Search Domain
Post by: meyergru on March 30, 2024, 12:17:40 pm
Not in the sense you probably want. Usually, it is uo to the client to provide a search domain. You can either set this via DHCP or specify it manually if you have static configurations.

Unbound will not help you with that, but dnsmasq can by providing a default domain if the client sends none.