My solution does not answer your original question, but offers another way of approaching the same issue. I have a router in my studio rack, that is connected to my computer, soundcard and kyma. I use static IP's for all the equipment I use OSC with. List includes 3 raspberryPi's, Paca, couple of macbook pro's mac mini and my studio hackintosh. Good thing is that the rack travels with me, so the IP's don't change even when I'm away from my studio. I also use iPhone as an USB-modem to get an internet connection.
I have a notepad where I have a list where I have written down all the IP's and when I use OSC the target IP's never change. I use Lemur on my iPad, PureData on the rasPi's and NEL-osc on Kyma.