-
-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ DietPi-Config | Only use /etc/network/interfaces for static DNS server info when the dns-nameservers setting is actually in use (uncommented), else fallback to /etc/resolv.conf which is definittly the affectively applied system DNS server, while we do not know whether it has been applied statically or via DHCP or dynamically via resolvconf. Fix mawk syntax for this. Furthermore, to avoid confusion, on first boot adjust the dns-nameservers entry even if resolvconf is not available (commented of course) so that it matches /etc/resolv.conf in any case.
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters