[Dnsmasq-discuss] is dnsmasq shared by all ports
pemensik at redhat.com
Mon Aug 26 10:58:41 BST 2019
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 not be
desired. Please share more details how you configuration looks like.
On 8/25/19 2:55 AM, Gordon Shawn wrote:
> I'm running two dnsmasqs daemons one on port 53 another one on port 5333,
> both set cache-size=8192, are these two dnsmasq processes sharing the same
> cache or they're totally independent as far as cache goes?
> each dnsmasq also calls different host files, i.e. /etc/hosts.1(for port
> 53) and /etc/hosts.2(for port 5333), they do share a /etc/hosts though. I
> noticed clients using 5333 port sometimes get IP from /etc/hosts.1.
> so the question is, can I run two dnsmasq processes on different ports
> totally independently?
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com PGP: 65C6C973
More information about the Dnsmasq-discuss