Remove search-domain from dhcp
-
Hey guys, I've been using pfsense for 6 months now and I really like it. However, I'm having an issue with the DHCP daemon that I can fix. Whenever I see the resolv.conf of my Linux hosts, it appends a "search localdomain" that sometimes breaks some requests. I don't want to get into this issue, I just want to find a way to delete the search domains from the dhcp lease.
I've searched in the forum and found a couple of similar questions but neither has a concrete solution (https://forum.netgate.com/topic/78995/disable-dhcp-search-domain/10
https://forum.netgate.com/post/19700).Again, I don't want to get into the issues that it causes, I just want to delete that line. I tried leaving the domain in system > general setup blank, but that doesn't work. Setting up a "." doesn't either. So how can I disable this? Thanks!
-
Please create a bugreport:
https://docs.netgate.com/pfsense/en/latest/development/bug-reports.html -
For anybody that might get here looking for the same option, I've asked this question on reddit and this is the solution:
"Domain Search and Domain Name are option 119 and 15 respectively. You can override that and set an empty string under "Additional BOOTP/DHCP Options"."
After setting those options with empty values, the search domain dissappeared.