<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Thanks for the quick reply.</div><div class=""><br class=""></div><div class="">This is a good idea. However, some of the devices use unqualified names as their host names and I have no control over them, and it seems I wouldn't be able to differentiate them in this way.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Glen<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 29, 2021, at 10:56 AM, Andrew Miskell <<a href="mailto:andrewmiskell@mac.com" class="">andrewmiskell@mac.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Sep 28, 2021, at 9:16 PM, Glen Huang <<a href="mailto:heyhgl@gmail.com" class="">heyhgl@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">I have a router and a dump AP that are connected with a wire. The router has two interfaces, one is for LAN (192.168.1.1/24) and the other for WAN. The AP also has two interfaces, one is for LAN (192.168.1.2/24), the other for guest WiFi (192.168.2.1/24). (It actually also has a LAN WiFi, but it shouldn’t be relevant in this case.)<br class=""><br class="">Dnsmasq runs both on the router and the AP. On the router, it provides DHCP and DNS, combined, for LAN. On the AP, only DHCP is enabled for the guest WiFi interface to provide 192.168.2.0/24 for clients.<br class=""><br class="">My question is that with this setup, LAN clients won’t be able to resolve host names on the guest WiFi, since the router Dnsmasq is not cognizant of them, and it seems impossible for the router to take over guest WiFi’s DHCP, since it’s based on AP’s interfaces, so is there a way to automatically “merge" the host names on both Dnsmasq instances? If not, what would be an elegant setup to make it work?<br class=""><br class="">Regards,<br class="">Glen<br class="">_______________________________________________<br class="">Dnsmasq-discuss mailing list<br class=""><a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" class="">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br class=""><a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss" class="">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a><br class=""></div></div></blockquote></div><br class=""><div class="">Assuming that the guest WiFi names are using a different domain name, e.g. <a href="http://guests.home.net/" class="">guests.home.net</a> then the main LAN, e.g. <a href="http://home.net/" class="">home.net</a>. </div><div class=""><br class=""></div><div class="">On the router DNSMasq create an entry that tells it to send requests for anything in <a href="http://guest.home.net/" class="">guest.home.net</a> to the DNSMasq instance on the AP. You can also do the reverse AP DNSMasq instance to allow guests to lookup names in the <a href="http://home.net/" class="">home.net</a> domain.</div></div></div></blockquote></div><br class=""></div></body></html>