OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: hcker2000 on June 27, 2023, 02:25:59 PM

Title: mdns with static ips
Post by: hcker2000 on June 27, 2023, 02:25:59 PM
Is there anyway to get mdns working with static ip's assigned by the opnsense dns server?

Right now mdns works fine so long as it gets its ip from the dns pool. If I assign it a static ip via opnsense it wont resolve the mdns and the network shares are all reporting as hostnamehere.local
Title: Re: mdns with static ips
Post by: bartjsmit on June 27, 2023, 02:31:40 PM
How are you assigning a static IP? Manually on the server or through a DHCP reservation?
Title: Re: mdns with static ips
Post by: hcker2000 on June 27, 2023, 02:38:56 PM
DHCP Reservation as far as I can tell. The screenshot I have attached shows where I can see them listed out in opnsense. You can also see how the requests are coming into AdGuard.

I do have it setup with adguard as the primary dns and then its upstream is set to 192.168.1.1 so maybe the order has something to do with it?
Title: Re: mdns with static ips
Post by: bartjsmit on June 27, 2023, 03:08:31 PM
Can you test with AdGuard disabled?
Title: Re: mdns with static ips
Post by: hcker2000 on June 27, 2023, 04:58:58 PM
Ok so I disabled adguard but still left it as the dns server and everything works fine when trying hostname.local addresses. So now I need to find out why adguard is blocking .local

I also tried going unbound -> adguard rather than adguard -> unbound but get the same behavior.