hi everybody
I am not pretty sure if this is the right place to post it, since it involves Yun rev2, configuration, ....
Anyway :
The problem is to obtain the correct
/etc/resolv.conf
On Yun rev1 I managed to have it editing
/etc/init.d/dnsmasq
where a line with the definition of
DNS_SERVERS="""
can be found. The same working with the Luci configuration interface.
This is the result
root@Yun0:~# cat /etc/resolv.conf
# Interface lan
nameserver 192.168.1.1
nameserver 192.168.1.1
search homenet.telecomitalia.it
and
root@Yun0:/etc/config# cat dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
list interface 'lo,wlan0'
option domain 'homenet.telecomitalia.it'
list server '192.168.1.1,lo'
With Yun rev2 the etc/init.d/dnsmasq file does not have the SERVER list definition and working only with Luci i/f what I find at the end is
root@YunA:~# cat /etc/resolv.conf
search homenet.telecomitalia.it
nameserver 127.0.0.1
(no local DNS/ROUTER is present)
and
root@YunA:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option nonwildcard '1'
option domain 'homenet.telecomitalia.it'
list interface 'lo,wlan0'
option localservice '1'
list server '192.168.1.1,lo'
Summarizing, in rev1 all the devices can be addressed with names while this is not possible in rev2, even if the configuration files look the same
thanks for help