[Dnsmasq-discuss] Syntax for multiple listen addresses
Chris Green
cl at isbd.net
Mon Jul 17 16:39:08 UTC 2023
On Mon, Jul 17, 2023 at 05:34:54PM +0200, Geert Stappers wrote:
> On Mon, Jul 17, 2023 at 03:56:42PM +0100, Chris Green wrote:
> > 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?
> >
>
> sudo ss -plut | grep domain
>
You had me confused for a minute Gert but of course you're telling me
that the above command will show what addresses dnsmasq is listening
on and thus whether my "listen-address=192.168.1.2,127.0.0.1" is doing
what I want.
It is doing what I want! :-)
Thank you.
--
Chris Green
More information about the Dnsmasq-discuss
mailing list