I've got a D-Link DIR-869 working as a secondary AP only. WAN is not connected and one of the LAN ports is connected to a LAN port of main main router/AP.
This is how my /etc/config/network looks like for WAN (there's no other definition of DNS):
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.11.253'
option gateway '192.168.11.1'
option dns '192.168.11.1'
Now I understand that /tmp/resolv.conf and /tmp/resolv.conf.auto are somehow related to the DNS configuration and actually in /tmp/resolf.conf.auto I have my DNS server correctly set:
root@wlan-ap-dlink:~# ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 16 Jul 15 15:30 /etc/resolv.conf -> /tmp/resolv.conf
root@wlan-ap-dlink:~# cat /tmp/resolv.conf
search lan
nameserver 127.0.0.1
root@wlan-ap-dlink:~# cat /tmp/resolv.conf.auto
# Interface lan
nameserver 192.168.11.1
However, DNS resolution does not work:
root@wlan-ap-dlink:~# ping google.com
ping: bad address 'google.com'
This worked fine in LEFE 17.01.4 that I was running before. How is the /tmp/resolv.conf.auto file used?