This may be an obscure question and I have resolved the issue but the behavior has me asking the questions. I noticed on one of my Vero Vs since upgrading from the Vero 4K+ that my weekly backups were failing. After some troubleshooting I found out that shortname resolution to my backup server (server2) was failing. If I added my local domain (since I run my own DNS servers) it worked (i.e. ping server2.mydomain.com). I am pretty sure this worked previously on the Vero 4K+.
I ended up adding “search mydomain.com” to the resolv.conf file which resolved the issue but it made me wonder why OSMC isn’t taking this from my DHCP server, which hands out the domain name ? I am not a Debian expert but I just built an Ubuntu 22.0.4.3 VM today and it worked perfectly and automatically updated the resolv.conf file from the DHCP data.
Should OSMC on a Vero V honor the domain name data from DHCP ? The manual search addition worked on all 3 of my Vero Vs.
I’ll have to reconnect a Vero 4K+ to see if they actually exhibit this behavior. I can do that tomorrow. Thee is no file named connman.prefs in the /etc/osmc/ folder.
osmc@Kodi-Florida:/etc/osmc$ ls -la
total 16
drwxr-xr-x 4 root root 4096 Aug 7 11:24 .
drwxr-xr-x 74 root root 4096 Dec 24 14:07 …
drwxr-xr-x 2 root root 4096 Aug 7 11:24 apps.d
drwxr-xr-x 2 root root 4096 Aug 7 11:22 prefs.d
Not there either. This is not urgent at all so don’t worry about it. I have it working with the search addition to resolv.conf. I just found the behavior odd and wanted to raise it for awareness.
So I do see the extra 2 files with the December release. I looked in connman on the December release and dnsproxy was set to yes. I changed to no and rebooted. resolv.conf got updated properly with the DHCP supplied DNS servers and the suffix search order added. Short name resolution works as expected.
So as I upgrade the other 2 Vero V devices I’ll make the same connman change. I keep on different versions to help me with my Kodi addon development testing and similar troubleshooting.
So after my recent Vero V software upgrades the dnsproxy value got reset back to yes and I lost shortname resolution again. Is there a way to keep the upgrades from resetting the value back to yes ?
I am not quite following here. The 2 Vero Vs that I checked were running the December release and recently upgraded to February release and shortname resolution stopped working. I can tell because I have a weekly backup job and can see when they stopped. The OSMC backup job saves the backup to an SMB share which relies on shortnames, which is how I see it stop working.
So I have the connman file set for dnsproxy=no . is there anything else I need to do to keep this from reverting to yes ? I could write a cron job to check it regularly but would prefer not to.