Comments (16)
@webmin, @jcameron , @swelljoe, @gandyman
Someone has fix this before?
from webmin.
This has been fixed for several versions now.
from webmin.
i have download the last version from github and i have diff net module with my current webmin installation but i have not find big difference between.
Can you tell me where is the fix because we are running custom version of webmin and i can not update from webmin.
Thanks
from webmin.
The fix is in the file net/linux-lib.pl . The commit 3695f7e implements most of it, but there have been other bugfixes since then.
from webmin.
Thank you for your response, i was searching in bad place. I am running centos 6.2
This is not webmin bug but it should detect that, also there might be an option to edit interface for PEERDNS.
the problem was from PEERDNS=yes inΒ /etc/sysconfig/network-scripts/ifcfg-eth0
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-dhcp-configuring-client.html
from webmin.
Unfortunately Webmin doesn't yet support setting PEERDNS in ifcfg-ethN files.
from webmin.
Still failing sometimes for me with Ubuntu 14.04.3 and Webmin 1.782. There must be another cause. I've checked that it's not caused by the hypervisor (KVM).
from webmin.
philmck - check if your network interface is configured using DHCP. That can cause the DNS settings to be overridden.
from webmin.
It's not using DHCP (at least, not according to webmin and my understanding of network/interfaces)
from webmin.
Is Webmin updating the PEERDNS
or DNS
lines in /etc/sysconfig/network-scripts/ifcfg-eth0
? That should be fixed in the latest release, but only if you changed the DNS servers after upgrading.
from webmin.
That's a RedHat path and I'm on Ubuntu so no. But it is updating in dns-nameservers under eth0 in /etc/network/interfaces. I did notice though that IPv6 DNS settings are in the inet section rather than the inet6 section, which seems wrong.
The "post-up iptables-restore < /etc/iptables.up.rules" line is NOT being updated by webmin now but it's recognised if I put it in manually.
from webmin.
It looks like you have a different problem to the original poster then. Is your issue that /etc/resolv.conf is being over-written with the wrong nameservers on reboot?
from webmin.
Cockpit rewrites net-config files and probably resolve.conf as well. Do you use Cockpit?
from webmin.
My problem is DNS settings being lost on reboot, I'm not sure which files are causing that exactly. Resolv.conf is changing but I believe it's a symlink in Ubuntu and generated automatically. As far as I can tell the problem only happens now (in Webmin 1.782) after a forced "power loss" kind of reboot.
I'm not using Cockpit.
from webmin.
from webmin.
Thanks for your help qooob, but the consensus there seems to be to configure nameservers in /etc/network/interfaces. But the DNS settings in that file are changing in this situation and I suspect that's what causes resolv.conf to change in turn.
from webmin.
Related Issues (20)
- Is there a typo preventing version upgrades in Webmin 2.102? ("Failed to upgrade... cannot downgrade to version 2.013") HOT 7
- ProFTPd - Add GUI option to enforce TLS/FTPS easily HOT 2
- Can't find any Nginx plugins for Webmin HOT 2
- Unable to update/remove Webmin on Fedora 38 because of verification problem. HOT 6
- Dark Mode graphical issue in System Log Viewer HOT 8
- Feature: Add password generator button for MariaDB Edit User Permissions HOT 3
- Add riscv64 to (APT) repo HOT 18
- Backup Configuration Files - Better name for Virtualmin module entry HOT 1
- 2.105 hostname handling not as expected HOT 5
- Add Windows 11 to the OS list HOT 3
- Jailkit Page - rsync missing description HOT 1
- Endless loop in foreign_require when ReadParse is called in module lib HOT 6
- All tabs layers permanently exploded when in Authentic theme HOT 5
- Download not working for files with spaces in filename HOT 3
- Translation to german: misleading option "Download from server" HOT 2
- Request for Enhancement: `sudo apt autoremove` tickbox HOT 4
- Webmin behind reverse proxy (apache) documentation/configuration issues (Sign in, Terminal) HOT 1
- Open Lite Speed HOT 2
- Install DHCP failed on RHEL 9 HOT 1
- Shorewall MASQ file gets appended to SNAT file HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webmin.