Dnsmasq local domain issue

Hello all,
I found strange behavior with dnsmasq service.
I’ve added a fake domain entry like this in /etc/config/dhcp:

config domain option name 'mylocalfakedomain.test' option ip '192.168.10.217'
dnsmasq reads it’s configuration from /var/etc/dnsmaq.conf, that is an auto-generated config file from /etc/config/dhcp.
If I try to ping mylocalfakedomain.test from Turris Omnia or from any host in my lan it not resolves as expected.
Dnsmasq configuration has “expand-hosts” option activated and if I try to add

192.168.10.210 mylocalfakedomain.test

to the Omnia /etc/hosts, it resolves correctly from the router, but not from other hosts in my lan.
Have you got any suggestions?
Thanks a lot for your help!

Lorenzo

The /etc/hosts file is machine only.

Put:
option port '53535':
into section:
config dnsmasq
of:
/etc/config/dhcp

Put:
list include_path "/etc/unbound/lan.conf"
at the end of:
/etc/config/unbound

Put:

server:
domain-insecure: "loc."
private-domain: "loc."
do-not-query-localhost: no
stub-zone:
name: "loc."
stub-addr: "127.0.0.1@53535"
server:
domain-insecure: "0.0.10.in-addr.arpa."
local-zone: "0.0.10.in-addr.arpa." nodefault
stub-zone:
name: "0.0.10.in-addr.arpa."
stub-addr: "127.0.0.1@53535"

into:
/etc/unbound/lan.conf

Restart dnsmasq and unbound. Basicly there are two dns server on Turris, dnsmasq and unbound. The local domains are added to dnsmasq, but the dns server you have avaiable in local network is unbound. This will connect unbound to dnsmasq for resolving local domains.

Hi and thanks for your reply.
Unbound doesn’t start because kresd instead is active.
It seems that we have 3 dns - kresd, unbound and dnsmasq - installed.
To solve my issue i have stopped kresd and changed dnsmasq port to 53.
It would be very interesting to understand why we ha have 3 dns installed out of the box :slight_smile:
Thank you!

@m3m3nto I have the same problem. Is everything running smoothly now? Or do you have any news on your problem?

@protree it seems that everything is ok with only dnsmasq running

How did you disable kresd permanently? LuCl -> System -> Startup says kresd is diabled, but it still starts on boot, preventing dnsmasq from starting…

@protree yes even if you disable it’ll restart on next boot; I’ve uninstalled kresd service :wink:

Got some more info: Either unbound or kresd is launched by /etc/init.d/resolver (See option prefered_resolver in /etc/config/resolver). /etc/init.d/resolver can’t launch dnsmasq, but disabling this script prevents kresd and unbound from launching and allows us to use dnsmasq as our dns-resolver on port 53.

1 Like

For the record, kresd can be configured to read /etc/hosts:

https://knot-resolver.readthedocs.io/en/latest/modules.html#static-hints
https://knot-resolver.readthedocs.io/en/latest/daemon.html#configuration

(Disclaimer: I just skimmed the docs).

1 Like

I was able to solve that issue by simply changing the port for kresd to something else than 53 (/etc/config/resolver).

config resolver 'common'
option port '153'

I even changed/added the port for dnsmasq to 53 (/etc/config/dhcp)

config dnsmasq
option port '53'

This way there’s no need to uninstall the service. So in case an explaination why there are three DNS’s installed gives any clue reverting the changes is something less then in case of remove.

If I remember it correctly from the original Turris, dnsmasq was not used because it didn’t support DNSSEC validation. That was the reason for using unbound (in the original Turris) and it is probably the reason for using Knot in Omnia.
So if you’ll disable Knot and use just dnsmasq, you will lose the advantage of DNSSEC validation for all devices in your network.

I just searched on the web and apparently dnsmasq now a days does support DNSSEC. However, it depends on what version is installed.

http://www.thekelleys.org.uk/dnsmasq/CHANGELOG

Could somebody post what version of dnsmasq is installed on the Omnia?

# opkg list-installed | grep dnsmasq
dnsmasq - 2.73-1

That explains a lot.

http://www.thekelleys.org.uk/dnsmasq/

The latest so far is dnsmasq 2.76 (released 18-May-2016), while 2.73 was released 14-Jun-2015 Although 2.73 already supports DNSSEC, but a bug-fix is been added regarding DNSSEC in version 2.74.

I think my issue is related to this thread, my apologies if it’s not.

Out of the blue, some wireless internet connections went down for no apparent reason.

I post the system logs here (sorry, I’m not able to figure out where the error is)

2016-12-06T21:27:25+01:00 notice syslog-ng[2337]: syslog-ng starting up; version='3.0.9'
2016-12-06T21:27:25+01:00 info kernel[]: [    7.245265] scsi host2: ahci-mvebu
2016-12-06T21:27:25+01:00 info kernel[]: [    7.248827] scsi host3: ahci-mvebu
2016-12-06T21:27:25+01:00 info kernel[]: [    7.252352] ata3: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44
2016-12-06T21:27:25+01:00 info kernel[]: [    7.260288] ata4: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44
2016-12-06T21:27:25+01:00 info kernel[]: [    7.610739] ata3: SATA link down (SStatus 0 SControl 300)
2016-12-06T21:27:25+01:00 info kernel[]: [    7.616168] ata4: SATA link down (SStatus 0 SControl 300)
2016-12-06T21:27:25+01:00 info kernel[]: [    7.622596] uhci_hcd: USB Universal Host Controller Interface driver
2016-12-06T21:27:25+01:00 info kernel[]: [    7.629560] orion_wdt: Initial timeout 171 sec
2016-12-06T21:27:25+01:00 info kernel[]: [    7.638032] xhci-hcd f10f0000.usb3: xHCI Host Controller
2016-12-06T21:27:25+01:00 info kernel[]: [    7.643387] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
2016-12-06T20:27:25+01:00 emerg sfpswitch.py[1872]: ucollect: no process found
2016-12-06T20:27:25+01:00 emerg sfpswitch.py[1872]: Started.
2016-12-06T20:27:25+01:00 info ucollect[2426]: Initializing emergency signal handlers
2016-12-06T20:27:25+01:00 info ucollect[2426]: Creating a main loop
2016-12-06T20:27:25+01:00 info ucollect[2426]: Creating uplink
2016-12-06T20:27:25+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_badconf_25.so
2016-12-06T20:27:25+01:00 info ucollect[2426]: Installing plugin Badconf with api version 0
2016-12-06T20:27:25+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_bandwidth_20.so
2016-12-06T20:27:25+01:00 info ucollect[2426]: Installing plugin Bandwidth with api version 0
2016-12-06T20:27:25+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_count_27.so
2016-12-06T21:27:30+01:00 info kernel[]: [    7.650988] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
2016-12-06T21:27:30+01:00 info kernel[]: [    7.659552] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
2016-12-06T21:27:30+01:00 info kernel[]: [    7.665586] hub 2-0:1.0: USB hub found
2016-12-06T21:27:30+01:00 info kernel[]: [    7.669357] hub 2-0:1.0: 1 port detected
2016-12-06T21:27:30+01:00 info kernel[]: [    7.673400] xhci-hcd f10f0000.usb3: xHCI Host Controller
2016-12-06T21:27:30+01:00 info kernel[]: [    7.678733] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
2016-12-06T21:27:30+01:00 info kernel[]: [    7.686301] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
2016-12-06T21:27:30+01:00 info kernel[]: [    7.694647] hub 3-0:1.0: USB hub found
2016-12-06T21:27:30+01:00 info kernel[]: [    7.698419] hub 3-0:1.0: 1 port detected
2016-12-06T21:27:30+01:00 info kernel[]: [    7.702508] xhci-hcd f10f8000.usb3: xHCI Host Controller
2016-12-06T20:27:25+01:00 info ucollect[2426]: Installing plugin Count with api version 0
2016-12-06T20:27:25+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_fake_17.so
2016-12-06T20:27:26+01:00 notice netifd[]: radio0 (2070): wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
2016-12-06T20:27:30+01:00 notice netifd[]: radio0 (2070): wlan0: interface state COUNTRY_UPDATE->HT_SCAN
2016-12-06T20:27:30+01:00 notice netifd[]: radio0 (2070): Using interface wlan0 with hwaddr 04:f0:21:24:01:54 and ssid "Arcadia 5"
2016-12-06T20:27:30+01:00 notice netifd[]: radio0 (2070): wlan0: interface state HT_SCAN->ENABLED
2016-12-06T20:27:30+01:00 notice netifd[]: radio0 (2070): wlan0: AP-ENABLED 
2016-12-06T20:27:30+01:00 notice netifd[]: Network device 'eth0' link is up
2016-12-06T20:27:30+01:00 notice netifd[]: radio1 (2071): Configuration file: /var/run/hostapd-phy1.conf
2016-12-06T20:27:30+01:00 notice netifd[]: radio1 (2071): wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
2016-12-06T21:27:30+01:00 info kernel[]: [    7.707840] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
2016-12-06T21:27:30+01:00 info kernel[]: [    7.715439] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
2016-12-06T21:27:30+01:00 info kernel[]: [    7.724007] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
2016-12-06T21:27:30+01:00 info kernel[]: [    7.730000] hub 4-0:1.0: USB hub found
2016-12-06T21:27:30+01:00 info kernel[]: [    7.733779] hub 4-0:1.0: 1 port detected
2016-12-06T21:27:30+01:00 info kernel[]: [    7.737805] xhci-hcd f10f8000.usb3: xHCI Host Controller
2016-12-06T21:27:30+01:00 info kernel[]: [    7.743139] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
2016-12-06T21:27:30+01:00 info kernel[]: [    7.750668] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
2016-12-06T21:27:30+01:00 info kernel[]: [    7.758999] hub 5-0:1.0: USB hub found
2016-12-06T21:27:30+01:00 info kernel[]: [    7.762774] hub 5-0:1.0: 1 port detected
2016-12-06T20:27:30+01:00 notice netifd[]: radio1 (2071): ACS: Automatic channel selection started, this may take a bit
2016-12-06T20:27:27+01:00 info hostapd[]: wlan0: STA a4:5e:60:ca:05:e5 IEEE 802.11: authenticated
2016-12-06T20:27:30+01:00 notice netifd[]: radio1 (2071): wlan1: interface state COUNTRY_UPDATE->ACS
2016-12-06T20:27:30+01:00 notice netifd[]: radio1 (2071): wlan1: ACS-STARTED 
2016-12-06T20:27:30+01:00 notice netifd[]: Bridge 'br-lan' link is up
2016-12-06T20:27:30+01:00 notice netifd[]: Interface 'lan' has link connectivity 
2016-12-06T20:27:30+01:00 notice netifd[]: Network device 'eth2' link is up
2016-12-06T21:27:30+01:00 info kernel[]: [    7.768154] usbcore: registered new interface driver usb-storage
2016-12-06T21:27:30+01:00 info kernel[]:    8.686395] init: - preinit -
2016-12-06T21:27:30+01:00 notice kernel[]:   11.734007] mount_root: mounting /dev/root
2016-12-06T21:27:30+01:00 info kernel[]: [   11.854099] BTRFS info (device mmcblk0p1): disk space caching is enabled
2016-12-06T21:27:30+01:00 info kernel[]:   11.861323] mount_root: loading kmods from internal overlay
2016-12-06T21:27:30+01:00 info kernel[]:   12.075587] block: attempting to load /etc/config/fstab
2016-12-06T21:27:30+01:00 info kernel[]:   12.081802] block: extroot: not configured
2016-12-06T21:27:30+01:00 info kernel[]:   12.088298] procd: - early -
2016-12-06T21:27:30+01:00 notice kernel[]: [   12.195793] random: jshn urandom read with 45 bits of entropy available
2016-12-06T21:27:30+01:00 info kernel[]:   12.663128] procd: - watchdog -
2016-12-06T20:27:30+01:00 notice netifd[]: Network device 'eth1' link is up
2016-12-06T20:27:30+01:00 notice netifd[]: VLAN 'eth1.832' link is up
2016-12-06T20:27:30+01:00 notice netifd[]: Interface 'wan' has link connectivity 
2016-12-06T20:27:30+01:00 notice netifd[]: Interface 'wan' is setting up now
2016-12-06T20:27:30+01:00 notice netifd[]: Interface 'wan6' has link connectivity 
2016-12-06T20:27:30+01:00 notice netifd[]: Interface 'wan6' is setting up now
2016-12-06T20:27:30+01:00 info ucollect[2426]: Installing plugin Fake with api version 0
2016-12-06T20:27:30+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_flow_31.so
2016-12-06T20:27:30+01:00 info ucollect[2426]: Installing plugin Flow with api version 2
2016-12-06T20:27:30+01:00 info ucollect[2426]: Loading plugin library libpluglib_ucollect_diffstore_1.2.so
2016-12-06T21:27:30+01:00 info kernel[]:   12.666533] procd: - ubus -
2016-12-06T21:27:30+01:00 info kernel[]: [   12.907463] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: 
2016-12-06T21:27:30+01:00 info kernel[]:   13.672027] procd: - init -
2016-12-06T21:27:30+01:00 info kernel[]: [   13.738762] marvell-cesa f1090000.crypto: CESA device successfully registered
2016-12-06T21:27:30+01:00 info kernel[]: [   13.749496] NET: Registered protocol family 38
2016-12-06T21:27:30+01:00 info kernel[]: [   13.763961] Netfilter messages via NETLINK v0.30.
2016-12-06T21:27:30+01:00 info kernel[]: [   13.775792] md: linear personality registered for level -1
2016-12-06T21:27:30+01:00 info kernel[]: [   13.781784] md: raid0 personality registered for level 0
2016-12-06T21:27:30+01:00 info kernel[]: [   13.787899] md: raid1 personality registered for level 1
2016-12-06T21:27:30+01:00 info kernel[]: [   13.794255] md: raid10 personality registered for level 10
2016-12-06T20:27:30+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_fwup_11.so
2016-12-06T21:27:30+01:00 info kernel[]: [   13.800154] async_tx: api initialized (async)
2016-12-06T21:27:30+01:00 info kernel[]: [   13.808121] md: raid6 personality registered for level 6
2016-12-06T21:27:30+01:00 info kernel[]: [   13.813477] md: raid5 personality registered for level 5
2016-12-06T21:27:30+01:00 info kernel[]: [   13.818799] md: raid4 personality registered for level 4
2016-12-06T21:27:30+01:00 notice kernel[]: [   13.826398] FS-Cache: Loaded
2016-12-06T21:27:30+01:00 info kernel[]: [   13.829762] md: multipath personality registered for level -4
2016-12-06T21:27:30+01:00 info kernel[]: [   13.836967] NET: Registered protocol family 8
2016-12-06T21:27:30+01:00 info kernel[]: [   13.841363] NET: Registered protocol family 20
2016-12-06T21:27:30+01:00 info kernel[]: [   13.850612] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
2016-12-06T21:27:30+01:00 notice kernel[]: [   13.861779] Key type dns_resolver registered
2016-12-06T21:27:30+01:00 info kernel[]: [   13.869803] NET: Registered protocol family 33
2016-12-06T21:27:30+01:00 notice kernel[]: [   13.874288] Key type rxrpc registered
2016-12-06T21:27:30+01:00 notice kernel[]: [   13.877957] Key type rxrpc_s registered
2016-12-06T21:27:30+01:00 info kernel[]: [   13.885946] kAFS: Red Hat AFS client v0.1 registering.
2016-12-06T21:27:30+01:00 notice kernel[]: [   13.891159] FS-Cache: Netfs 'afs' registered for caching
2016-12-06T21:27:30+01:00 info kernel[]: [   13.933843] RPC: Registered named UNIX socket transport module.
2016-12-06T21:27:30+01:00 info kernel[]: [   13.939780] RPC: Registered udp transport module.
2016-12-06T21:27:30+01:00 info kernel[]: [   13.944519] RPC: Registered tcp transport module.
2016-12-06T21:27:30+01:00 info kernel[]: [   13.949232] RPC: Registered tcp NFSv4.1 backchannel transport module.
2016-12-06T21:27:30+01:00 info kernel[]: [   13.960907] ntfs: driver 2.1.32 [Flags: R/O MODULE].
2016-12-06T21:27:30+01:00 notice kernel[]: [   13.971594] RxRPC: Registered security type 2 'rxkad'
2016-12-06T21:27:30+01:00 info kernel[]: [   13.989328] tun: Universal TUN/TAP device driver, 1.6
2016-12-06T21:27:30+01:00 info kernel[]: [   13.994423] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
2016-12-06T21:27:30+01:00 info kernel[]: [   14.005104] sit: IPv6 over IPv4 tunneling driver
2016-12-06T21:27:30+01:00 info kernel[]: [   14.010857] gre: GRE over IPv4 demultiplexor driver
2016-12-06T21:27:30+01:00 info kernel[]: [   14.016617] ip_gre: GRE over IPv4 tunneling driver
2016-12-06T21:27:30+01:00 info kernel[]: [   14.040656] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
2016-12-06T21:27:30+01:00 info kernel[]: [   14.048863] PPP generic driver version 2.4.2
2016-12-06T21:27:30+01:00 info kernel[]: [   14.054635] ip6_tables: (C) 2000-2006 Netfilter Core Team
2016-12-06T21:27:30+01:00 info kernel[]: [   14.066658] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
2016-12-06T20:27:30+01:00 info ucollect[2426]: Installing plugin Fwup with api version 2
2016-12-06T20:27:30+01:00 info ucollect[2426]: Loading plugin library libpluglib_ucollect_diffstore_1.2.so
2016-12-06T21:27:30+01:00 info kernel[]: [   14.862206] ip_set: protocol 6
2016-12-06T21:27:30+01:00 info kernel[]: [   19.281473] Loading modules backported from Linux version master-2015-12-03-0-g1677f62
2016-12-06T21:27:30+01:00 info kernel[]: [   19.289411] Backport generated by backports.git backports-20151120-0-g906a6b3
2016-12-06T21:27:30+01:00 info kernel[]: [   19.417445] cfg80211: World regulatory domain updated:
2016-12-06T21:27:30+01:00 info kernel[]: [   19.422629] cfg80211:  DFS Master region: unset
2016-12-06T21:27:30+01:00 info kernel[]: [   19.426996] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.436777] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.444805] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.454224] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.462249] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
2016-12-06T20:27:30+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_refused_12.so
2016-12-06T21:27:30+01:00 info kernel[]: [   19.471755] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.481261] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.489369] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.497407] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.881822] pci 0000:00:02.0: enabling device (0140 -> 0142)
2016-12-06T21:27:30+01:00 info kernel[]: [   19.887854] ath10k_pci 0000:02:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
2016-12-06T21:27:30+01:00 warning kernel[]: [   20.064215] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
2016-12-06T21:27:30+01:00 warning kernel[]: [   20.074608] ath10k_pci 0000:02:00.0: Falling back to user helper
2016-12-06T21:27:30+01:00 err kernel[]: [   20.084449] firmware ath10k!cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
2016-12-06T21:27:30+01:00 info kernel[]: [   20.101004] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
2016-12-06T20:27:30+01:00 info ucollect[2426]: Installing plugin Refused with api version 0
2016-12-06T20:27:30+01:00 info ucollect[2426]: Loading plugin library libplugin_ucollect_sniff_16.so
2016-12-06T21:27:30+01:00 info kernel[]: [   20.110250] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
2016-12-06T21:27:30+01:00 info kernel[]: [   20.119991] ath10k_pci 0000:02:00.0: firmware ver 10.2.4.70-2 api 5 features no-p2p crc32 b722ec09
2016-12-06T21:27:30+01:00 warning kernel[]: [   20.169105] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
2016-12-06T21:27:30+01:00 warning kernel[]: [   20.179581] ath10k_pci 0000:02:00.0: Falling back to user helper
2016-12-06T21:27:30+01:00 err kernel[]: [   20.189293] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
2016-12-06T21:27:30+01:00 info kernel[]: [   20.198285] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
2016-12-06T21:27:30+01:00 info kernel[]: [   21.327280] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
2016-12-06T21:27:30+01:00 warning kernel[]: [   21.331849] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
2016-12-06T21:27:30+01:00 warning kernel[]: [   21.331969] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!

I could nevertheless identify a clear error in dnsmasq so a quick search brought me here. I just change the DNS server port from 53 to 0 and I the DHCP leases came back.

Any ideas about what caused the problem?

In the file /etc/config/resolver, in the kresd section, there is an option dynamic_domains

In my device, which is only recently installed with factory defaults, the value of dynamic_domains is 0 - why?

This appears to be a regression of something that works by default in a normal OpenWRT clean install. Should that value be 1 by default?

It is also discussed (in the context of Turris Omnia) in the OpenWRT forum thread here

Changing dynamic_domains to 1 and running /etc/init.d/resolver restart fixed the issue for me.