Sysadmin Mega Thread

Did this today…

Does anyone know to get Dnsmasq to use the DHCP domain for resolving hosts instead of the system domain? It works that way in EdgeOS and I’d like to get it working like that here as well.

Example is:

Public domain is company.tld. Gateway is configured as whatever.company.tld.

I have DHCP running on VLAN3, with domain admin.company.tld.

computer1 gets a lease. I want host computer1.admin.company.tld to be fqdn for computer1, but instead, dnsmasq is using the system domain, so it’scomputer1.company.tld without the subdomain.

I know it’s a setting somewhere but I forget what it is and it’s difficult to Google.