Hi. I have been using openWRT for years. After latest upgrade for 18.06.1 I lost DHCP support in LAN and DNS don't work not only in LAN but on localhost also. I know uci show dhcp
sudo nmap --script broadcast-dhcp-discover
Starting Nmap 7.70 ( https://nmap.org ) at 2018-09-16 20:18 CEST
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.42 seconds
DNS ports seem to be open
sudo nmap -sU 10.0.0.140
Starting Nmap 7.70 ( https://nmap.org ) at 2018-09-16 19:20 CEST
Nmap scan report for 10.0.0.140
Host is up (0.00036s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
53/udp open domain
123/udp open ntp
$ nmap 10.0.0.140
Starting Nmap 7.70 ( https://nmap.org ) at 2018-09-16 18:32 CEST
Nmap scan report for 10.0.0.140
Host is up (0.00042s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain
80/tcp open http
Look at you system log for dnsmasq entries. Possibly there is complaint about invalid settings and dnsmasq has not start at all. Then DNS and DHCP would not work.
You did not show anything about your network config (subnet, netmask etc.), so this is somewhat guess: default subnet is just x.x.x.(0-255), and you start dhcp pool from .256. That will work if you have set a larger subnet, but is invalid with the default settings.
Default dhcpstart is 100 and limit 150, so that the default dhcp range is (.100-.250)
EDIT:
example of log entries:
root@router1:~# logread | grep dnsmasq
Sun Sep 16 17:39:23 2018 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sun Sep 16 17:39:23 2018 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sun Sep 16 17:39:24 2018 daemon.info dnsmasq[1086]: started, version 2.80test3 cachesize 1000
Sun Sep 16 17:39:24 2018 daemon.info dnsmasq[1086]: DNS service limited to local subnets
Sun Sep 16 17:39:24 2018 daemon.info dnsmasq[1086]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Sun Sep 16 17:39:24 2018 daemon.info dnsmasq[1086]: using local addresses only for domain test
Sun Sep 16 21:10:41 2018 daemon.crit dnsmasq[12931]: cannot read /usr/share/dnsmasq/trust-anchors.conf: No such file or directory
Sun Sep 16 21:10:41 2018 daemon.crit dnsmasq[12931]: FAILED to start up
Poll is OK. I have 10.0.0.0/16 in local net. 10.0.0.x are static address and 10.0.1.x dynamic.
Sun Sep 16 21:13:58 2018 daemon.crit dnsmasq[13231]: FAILED to start up
Sun Sep 16 21:16:58 2018 daemon.crit dnsmasq[13455]: unsupported option (check that dnsmasq was compiled with DHCP/TFTP/DNSSEC/DBus support) at line 6 of /usr/share/dnsmasq/trust-anchors.conf