<span style="color:rgb(49,49,49);word-spacing:1px">There are a bunch of machines in our lab, and we normally don't have DNS records configured for them, only accessing by IP. In order to ssh to them with key auth, I have a config in my .ssh/config like </span><br style="color:rgb(49,49,49);word-spacing:1px"><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">Host *.mylab</span><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">  User root</span><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">  IdentityFile ~/.ssh/</span><a href="http://id_rsa.work/" target="_blank" style="font-size:1rem;word-spacing:1px">id_rsa.work</a><br style="color:rgb(49,49,49);word-spacing:1px"><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">and I have some "address=/<a href="http://123.123.123.123">123.123.123.123</a>.</span><span style="color:rgb(49,49,49);word-spacing:1px">mylab/</span><a href="http://123.123.123.123/" target="_blank" style="font-size:1rem;word-spacing:1px">123.123.123.123</a><span style="color:rgb(49,49,49);word-spacing:1px">" line in dnsmasq.conf. The problem here is I need to add an entry whenever a new IP comes.</span><br style="color:rgb(49,49,49);word-spacing:1px"><br style="color:rgb(49,49,49);word-spacing:1px"><span style="color:rgb(49,49,49);word-spacing:1px">Can this configuration be dynamically? For example, "address=/*.mylab/somecmd %1", where "somecmd" is a external command and %1 will be replaced by the name in A/AAAA request. So that for any DNS request to *.mylab, dnsmasq invoke this external command and pass the name as argument, the output of external command, which will be interpreted as IPv4/IPv6 addr then responsed to client?</span>