Networking does not work because of DNS configuration.
I've set up OpenWRT on a Raspberry Pi 4. There is no stable version yet, only a snapshot, I got r11675-16b01fb1b9. I run a separate machine serving DHCP and DNS, so I deactivated both services on the Pi, entering a static IP address to be used for the DNS. Networking does not work, as the IP address of the DNS server does not find it's way into resolv.conf.
Previously I was playing around with OpenWRT 18.06.4 (current stable), to get acquainted with it. The DNS/DHCP situation was the same, and I got DNS server addresses properly configured: The via LuCI entered DNS server IP address got written into resolv.conf, and everything was functioning there.
After writing the SD card for the Pi 4 I tried to install missing packages, but I had to manually enter the DNS server address into resolv.conf for opkg to work. So I installed packages, and used LuCI to restore a configuration backup that originated from the older (v18.06.4) installation. As far as I can see the configuration is indeed the same now, with the important difference that on bootup, 27.0.0.1 is the only DNS server address in resolv.conf.
Nosing around in the configuration files I found deviations in the file /etc/config/network, in the section "config interface 'lan'". On the older, functioning system I have the line
option dns '192.168.2.12 192.168.2.13'
(that's correct, two servers, as customary for DNS), while on the Pi 4 this line is missing, but instead I find
list dns '192.168.2.12'
list dns '192.168.2.13'
Why does the new LuCI modify the archived /etc/config/network file during import? What exactly is the function of the "list" keyword, i.e. in what respect does it work differently from "option"?
Is this possibly a bug, in either LuCI or the snapshot?
Would it be wise to completely uninstall dnsmasq in my scenario? I did not find any help from the documentation regarding my scenario, as it seems inconceivable to the author(s) that somebody may want neither DNS nor DHCP on the router.