mDNS not working after upgrade to FreeNAS-11.3-U3.2

Xcapee

Dabbler
Joined
Aug 15, 2013
Messages
25
Title says it all...
Everything was working fine. I upgraded to FreeNAS-11.3-U3.2, and now <hostname>.local does not resolve.

I restarted the server to be sure - took interfaces up and down.
querying dns-sd from the local network shows no advertisements from FreeNAS.

Any tips on where to start looking / debugging?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
See if /usr/local/sbin/mdnsd is running. ps -ax mdnsd.
 

Xcapee

Dabbler
Joined
Aug 15, 2013
Messages
25
Thanks @andos the process exists but it seems there is no entry in the service config directories

Code:
root@bosnas[~]# service mdns onerestart
mdns does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Does mdnsd exist in /usr/local/etc/rc.d?

Code:
root@raven:/usr/local/etc/rc.d # ls -l mdnsd
-r-xr-xr-x  1 root  wheel  612 Jun  2 11:49 mdnsd*


Contents are

Code:
#!/bin/sh
#
# $FreeBSD$

# PROVIDE: mdnsd
# REQUIRE: DAEMON
# KEYWORD: shutdown

. /etc/rc.subr

name=mdnsd
rcvar=mdnsd_enable

load_rc_config $name

start_postcmd="mdnsd_poststart"
stop_precmd="mdnsd_prestop"

: ${mdnsd_enable="NO"}
: ${mdnsd_pidfile="/var/run/${name}.pid"}

mdnsd_poststart() {
    echo "restarting mdnsadvertise."
    sleep 1
    /usr/local/bin/midclt call mdnsadvertise.restart > /dev/null
}

mdnsd_prestop() {
    echo "stopping mdnsadvertise."
    /usr/local/bin/midclt call mdnsadvertise.stop > /dev/null
}

command="/usr/local/sbin/${name}"
pidfile="${mdnsd_pidfile}"

run_rc_command $*
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Thanks @andos the process exists but it seems there is no entry in the service config directories

Code:
root@bosnas[~]# service mdns onerestart
mdns does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable
I meant "mdnsd" sorry. Typo.
 

Xcapee

Dabbler
Joined
Aug 15, 2013
Messages
25
@Samuel - yes the config file is there and same as yours

Thanks @andos - I should have spotted that, but I copy/pasted
That restarted the service correctly.

Still no advertisements

¯\_(ツ)_/¯
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Multicast DNS relies on the local default gateway to properly process multicast joins via IGMP. Try rebooting your router.
 
Top