There is a tag set with the name of the interface automatically for each 
request. You can use this tag to set the options for each interface. It is 
documented in the man page.

Sent from my iPhone. Please excuse typos and autocorrection errors.

“One of the saddest lessons of history is this: If we’ve been bamboozled long 
enough, we tend to reject any evidence of the bamboozle. We’re no longer 
interested in finding out the truth. The bamboozle has captured us. It’s simply 
too painful to acknowledge, even to ourselves, that we’ve been taken. Once you 
give a charlatan power over you, you almost never get it back.” - Carl Sagan
________________________________
From: Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> on 
behalf of Chris Green <c...@isbd.net>
Sent: Monday, July 17, 2023 10:56:42 AM
To: dnsmasq-discuss@lists.thekelleys.org.uk 
<dnsmasq-discuss@lists.thekelleys.org.uk>
Subject: [Dnsmasq-discuss] Syntax for multiple listen addresses

I'm sure this must be in the man page somewhere but I can't find it.
If dnsmasq is to listen on more than one address how do you put this
in the configuration file?

I.e. is it:-
    listen-address=192.168.1.2,127.0.0.1

or is it:-
    listen-address=192.168.1.2
    listen-address=127.0.0.1

Or will either work?

--
Chris Green

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to