I tend to use lsof -np $(pidof dnsmasq) to know where is my instance
listening.
Manual page does not mention delimiter by comma. I think the second
variant is expected to work and documented way.
Cheers,
Petr
On 17. 07. 23 16:56, 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?
--
Petr Menšík
Software Engineer, RHEL
Red Hat, http://www.redhat.com/
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss