Re: Callback on DNS added/removed


Jukka Rissanen
 

Hi Jamie,

adding some net_mgmt events for DNS is certainly possible. Currently
there are none as you have noticed.
Could you create a github issue for this so it is not forgotten?

Cheers,
Jukka

On Tue, 2019-06-18 at 14:46 +0000, lairdjm wrote:
Hi,
There currently doesn’t seem to be any hooks in Zephyr for getting a
callback when a DNS server is added or removed which would be useful
for on systems where setting up DNS takes longer than it takes to add
a network interface, so there is the potential for a network
interface to be added, a callback to be sent to the user application
and a TCP connection attempt before DNS is added – is there a way to
get a notification when DNS has been added that I’ve overlooked?
Thanks,
Jamie

Join devel@lists.zephyrproject.org to automatically receive all group messages.