is there any way to bind an ip to that all zeros ?
I was changed lxdbr0 network configs, i added listen-address to raw.dnsmasq field but it does not change it just changing the port 53 dsnmasq processes.
This is the network config :
Hi,
Dnsmasq is configured to listen on the bridge interface, but not all IPs on all interfaces.
What is the use case for listening on a specific IP?
Thanks
Just a guess, but I’d wager that the OP wants to run either a DHCP or DNS server in an LXC container.
If my $0.02 wager is indeed correct, I’d say they make use of:
dhcrelay
for DHCP on the host and punt requests to the LXD bridge ip, andDNAT
orREDIRECT
firewall rules to redirect DNS requests
Just thinking out loud really…
Hello, thanks for response.
It was a security issue for a project. I changed dnsmasq.raw files and try many things but i could not bind an ip to port 67. Also i looked source code of the lxd and dnsmasq then i find this socket option. So it was enough for me.
But out of curiosity is it possible to bind an ip to that?