OPNsense Forum

English Forums => General Discussion => Topic started by: BrandyWine on August 21, 2025, 05:31:19 AM

Title: [solved] Override ISP DNS
Post by: BrandyWine on August 21, 2025, 05:31:19 AM
Is there a way to override DNS settings OPNsense gets from WAN dhcp (ISP)? I don't want the device using their DNS nameservers, etc.
I noticed resolv.conf has ISP nameservers.
Title: Re: Override ISP DNS
Post by: patient0 on August 21, 2025, 06:06:45 AM
In "System: Settings: General", uncheck "Allow DNS server list to be overridden by DHCP/PPP on WAN" and OPNsense won't use the ISP DNS any longer.

https://docs.opnsense.org/manual/settingsmenu.html#web-gui
Title: Re: Override ISP DNS
Post by: BrandyWine on August 22, 2025, 12:06:51 AM
Perfect. Thanks.