<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The problem here is dnsmasq getting extremely confused by IP address labels in Linux.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I'll start a separate thread about that for searchability.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Alasdair Muckart (he/him)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Network Infrastructure Architect, AS24226</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Catalyst.Net Limited - Expert Open Source Solutions</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Catalyst.Net Ltd - a Catalyst IT group company</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Mobile: +64 22 638 5141 | www.catalyst.net.nz</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">CONFIDENTIALITY NOTICE: This email is intended for the named</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">recipients only. It may contain privileged, confidential or copyright</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">information. If you are not the named recipient, any use, reliance</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">upon, disclosure or copying of this email or its attachments is</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">unauthorised. If you have received this email in error, please reply</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">via email or call +64 4 499 2267.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Friday, 13 November 2026 4:51:45 PM NZDT Alasdair Muckart via Dnsmasq-discuss wrote:</p>
<p> </p>
<p style="margin-top:12;margin-bottom:0;margin-left:40;margin-right:40;">Hi all,</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">I've got an error with dnsmasq startup that is confusing me.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Ubuntu 26.04LTS, kernel 7.0.0-43-generic</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">I have a 'dummy' interface 'router-lo' with a /32 on it.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">When dnsmasq starts it fails saying 'unknown interface router-lo'. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">It does this both at boot time and when restarted, so it's not a race condition at boot or anything.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">The interface definitely exists, and if I change the 'interface=router-lo' line in my config to 'bind-address=192.168.128.6' it works.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">The interface section of my configuration looks like this (with listen-address, with interface lines they are 'interface=br0' and 'interface=router-lo'):</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">--- cut ---</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">bind-interfaces</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">except-interface=lo</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">listen-address=192.168.152.1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">listen-address=192.168.128.6</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">no-dhcp-interface=wwan0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">no-dhcp-interface=sfp1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">--- cut ---</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Can someone educate me as to how dnsmasq figures out what interfaces exist?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Thank you.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">-- </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Alasdair Muckart (he/him)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Network Infrastructure Architect, AS24226</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Catalyst.Net Limited - Expert Open Source Solutions</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Catalyst.Net Ltd - a Catalyst IT group company</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Mobile: +64 22 638 5141 | www.catalyst.net.nz</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">CONFIDENTIALITY NOTICE: This email is intended for the named</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">recipients only. It may contain privileged, confidential or copyright</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">information. If you are not the named recipient, any use, reliance</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">upon, disclosure or copying of this email or its attachments is</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">unauthorised. If you have received this email in error, please reply</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">via email or call +64 4 499 2267.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /><br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /></p>
</body>
</html>