NethServer Version: 7.7.1908
Module: Backup, Cockpit, Subscription
Hardware: ZOTAC ZBOX nano C327
After activating the second network interface I lost the name resolution. In the /etc/resolv.conf there was just nameserver 127.0.0.1 inside.
So I entered 18.104.22.168 and everything is working again for now. But after each reconfiguration this entry will be overwritten again.
I was looking for another way to set a permanent default value. So I edited the /etc/sysconfig/network-scripts/ifcfg-* file of the green interface DNS1=22.214.171.124
This did not help, because the entry disappears again.
The next attempt was to added to /etc/e-smith/templates/etc/resolv.conf/40dnsRole/Resolver
$OUT .=“nameserver 126.96.36.199\n”
Nothing helps and I’m out of ideas. So here’s the question:
Where can I store the default DNA resolver?
Why is there no possibility to configure the name resolver in the frontend?
Ps.: in principle, the activation of a second interface or configuration changes should not lead to the loss of name resolution