On Fri, Jan 05, 2024 at 09:58:19AM +0100, Luigi Baldoni wrote: > On 4 January 2024, Geert Stappers wrote: > > On Thu, Jan 04, 2024 at 08:08:46PM +0100, Luigi Baldoni wrote: > > > > > > I'm trying to get rid of a second (kea) dhcp server and > > > hopefully be able to do everything I need with dnsmasq. > > > > > > The main hurdle, so far, is to run the nameserver only > > > on eth1, because bind is listening on eth0, but have > > > the dhcp server listen on both interfaces (and more). > > > > What has already been tried? > > Done several tests and if I launch dnsmasq first then neither it nor bind > will complain, > but ss lists both listening on port 53 on the same interface.
Mmm, I hoped that 'What has already been tried?' got an answer like Configured for daemon A ...., for daemon B .... Configured for daemon A ...., for daemon B .... Configured for daemon A ...., for daemon B .... Configured for daemon A ...., for daemon B .... Repeated that with starting the other one first All iterations checked with ... > > Advice: Tell in the reply more about the network, such as > > which IP-addresses are on the network interfaces. > > This is a map of my network: [1] > lan15 192.168.7.0/24 bind on 192.168.7.100 and dnsmasq dhcp on the same > address (can be changed) > lan30 192.168.8.0/24 dnsmasq dhcp on 192.168.8.150 > lan45 192.168.11.0.24/ dnsmasq dhcp on 192.168.11.150 > lan130 192.168.130.0/24 dnsmasq ns and dnsmasq dhcp on 192.168.130.200 > lan166 192.168.166.0/24 dnsmasq dhcp on 192.168.166.200 Acknowledge on "these 5 networks". What about telling the IP-adresses on the interfaces of the box where the tests^Wconfiguration attempts are done? (I'm lost, previously one computer with eth0 and eth1, now five networks and nothing about eth0 nor eth1.) For what it is worth: Over here is it "dnsmasq works" My reason for involvement in discussion like this is "can dnsmasq be better?" and/or "what can i learn more about dnsmasq?". I aim for win-win. Making lots of effort to understand what is going on the other side, reduces "my win". Groeten Geert Stappers [1] That "map" is not a map to me. a map is a special kind of picture, it shows what is connected by what. (Villages by roads, Cities by railwaytracks, computers by network equipement.) -- Silence is hard to parse _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss