Re: [Dnsmasq-discuss] Best way to handle dual-wans with dnsmasq (John Knight)

2019-08-26 Thread John Knight
Hi Petr, I think what you are suggesting is to use server entry to define the IP Addresss corresponding to the domain name of the dns server on the management interface. Unfortunately, in my case we use udhcpc to learn of the upstream dns server;s IP address. There is no domain name for the m

Re: [Dnsmasq-discuss] Best way to handle dual-wans with dnsmasq (John Knight)

2019-08-26 Thread John Knight
Hi Petr, In my situation with dual-wans, I am not too concerned about management network being accessible to all users, so using a single dnsmasq is acceptable. I am using dnsmasq to serve dhcp and dns requests on the data network, but it only needs to support dns requests on the management n

Re: [Dnsmasq-discuss] Best way to handle dual-wans with dnsmasq

2019-08-26 Thread Petr Mensik
Hi John, unless you want too much work, I would suggest using separate domain for management names. If you are not afraid management network would be accessible to all users, just use --server=/mgmt.example.net/1.2.3.4 and --server=5.6.7.8 for normal names (or just read /etc/resolv.conf for them).

Re: [Dnsmasq-discuss] is dnsmasq shared by all ports

2019-08-26 Thread Petr Mensik
Hi Gordon, depends on your configuration, which you forgot to provide. What is in /etc/resolv.conf for example? What flags/configuration are both instances using? I would quess 127.0.0.1 might be in resolv.conf. That would mean hosts.2 instance would query hosts.1 instance. That might or might no