Hi all,
How do I set specific dns settings for my rpi at osmc/kodi (debian-based) ?
Code:
$ uname -a
Linux osmc 4.14.34-2-osmc #1 SMP PREEMPT Thu Jun 7 18:43:25 UTC 2018 armv7l GNU/Linux
Tried to modify /etc/resolv.conf and it worked for me till reboot, but then my modifications were erased.
The device gets settings from dhcp server.
Please advise.
Upd: in the meantime I've created my own resolv.conf version in the home directory and created crontab record to copy it instead of original one each hour (ugly, but works)
Code:
0 * * * * cp /home/osmc/resolv.conf /etc/resolv.conf
Bookmarks