[Bug 388266] New: No DNS servers in /etc/resolv.conf when rebooting
https://bugzilla.novell.com/show_bug.cgi?id=388266 Summary: No DNS servers in /etc/resolv.conf when rebooting Product: openSUSE 11.0 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rodrigo@novell.com QAContact: qa@suse.de Found By: --- I had missing DNS servers in the Yast2 network settings, set up with NetworkManager. I added 2 DNS servers to the Hostname/DNS tab, but when booting again, I have to add the servers by hand to /etc/resolv.conf doing any change in tab and applying the changes makes the DNS servers disappear from /etc/resolv.conf. This is on a static IP setup -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c1 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |tambet@novell.com --- Comment #1 from Stephan Kulow <coolo@novell.com> 2008-05-08 09:32:19 MST --- please provide yast logs and /var/log/NetworkManager -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c2 --- Comment #2 from Rodrigo Moya <rodrigo@novell.com> 2008-05-08 11:15:39 MST --- Tambet asked me on IRC for this: panticosa:~ # grep MODIFY_RESOLV -r /etc/sysconfig/* /etc/sysconfig/network/scripts/oldnet2new.sh:# Handle MODIFY_RESOLV_CONF_DYNAMICALLY /etc/sysconfig/network/scripts/oldnet2new.sh:if [ "$MODIFY_RESOLV_CONF_DYNAMICALLY" ]; then /etc/sysconfig/network/scripts/oldnet2new.sh: "s/^MODIFY_RESOLV_CONF_DYNAMICALLY=.*/MODIFY_RESOLV_CONF_DYNAMICALLY=$MODIFY_RESOLV_CONF_DYNAMICALLY/" \ /etc/sysconfig/network/ifcfg.template:DHCLIENT_MODIFY_RESOLV_CONF= /etc/sysconfig/network/dhcp:# resolv.conf will also stay untouched when MODIFY_RESOLV_CONF_DYNAMICALLY /etc/sysconfig/network/dhcp:DHCLIENT_MODIFY_RESOLV_CONF="yes" /etc/sysconfig/network/config:MODIFY_RESOLV_CONF_DYNAMICALLY="yes" /etc/sysconfig/network/config:# Like MODIFY_RESOLV_CONF_DYNAMICALLY, except it modifies /etc/sysconfig/network/config:MODIFY_RESOLV_CONF_STATIC_DNS="" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c3 --- Comment #3 from Rodrigo Moya <rodrigo@novell.com> 2008-05-08 11:24:42 MST --- So seems MODIFY_RESOLV_CONF_DYNAMICALLY="yes" has to be "no" when using static IP address. On the yast network settings window, I see 'Change /etc/resolv.conf manually' insensitive, so can't change it at all if it has something to do with this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c4 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |rodrigo@novell.com --- Comment #4 from Tambet Ingo <tambet@novell.com> 2008-05-12 02:12:47 MST --- Where do you see that 'Change /etc/resolv.conf manually' setting? It works fine for me when I got to yast -> Network Devices -> Network Settings -> Hostname/DNS tab and uncheck "Update DNS data via DHCP" checkbox. Can you confirm it works for you? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c5 Rodrigo Moya <rodrigo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|rodrigo@novell.com | --- Comment #5 from Rodrigo Moya <rodrigo@novell.com> 2008-05-12 09:39:43 MST --- I see that setting in the Hostname/DNS tab in yast2's network settings applet, although it is grayed out also. And I have a static IP setup, so the "Update DNS data via DHCP" is grayed out. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User antcregoz@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c6 Antonio Crevillén <antcregoz@telefonica.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |antcregoz@telefonica.net --- Comment #6 from Antonio Crevillén <antcregoz@telefonica.net> 2008-05-14 13:48:11 MST --- With fixed IP, does not save the configuration of the DNS. I upgraded recently. Linux ares 2.6.25.3-2-default #1 SMP 2008-05-10 07:46:36 +0200 i686 i686 i386 GNU/Linux. rpm -qi yast2 Name : yast2 Relocations: /usr Version : 2.16.64 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 3 Build Date: dom 11 may 2008 19:17:15 CES But adding manually into the file /etc/resolv.conf, the parameters domain and nameserver, the network operates. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mcook@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c7 Mike Cook <mcook@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mcook@novell.com --- Comment #7 from Mike Cook <mcook@novell.com> 2008-05-14 13:57:08 MST --- I have the same problem with static IP only after switching to NetworkManager from the traditional ifup method I let it use on install. On each reboot my resolv.conf is cleared. I tried manually updating /etc/sysconfig/network/config setting MODIFY_RESOLV_CONF_DYNAMICALLY="no" with no noticeable effect. In yast on the Hostname/DNS tab my "Update DNS data via DHCP" shows checked but is grayed out with a "No interface with dhcp" message beside it. The "Change /etc/resolv.conf manually" checkbox is unchecked and also grayed out. Starting Network Settings from yast it appears to read my manual DNS settings from resolv.conf, but if I click Finish and save it replaces the file with only "# generated by NetworkManager, do not edit!" and a couple blank lines. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c8 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tambet@novell.com |mzugec@novell.com --- Comment #8 from Tambet Ingo <tambet@novell.com> 2008-05-15 01:39:52 MST --- I suggest using NetworkManager's connection editor to create a new system connection (new in beta 3) and fill the static IP configuration there. The content of /etc/resolv.conf is meant to be dynamic: VPN should be allowed to add internal servers, dialup connections have their own temporary servers that only work when the conneciton is estabilished using dialup etc... In suse, it's not possible to have static IP configuration for a device and dynamic for another device - The static configuration's DNS information gets overwritten as soon as a device with dynamic configuration (or even VPN over that static conf) is used since there's no backup location for the contents of /etc/resolv.conf. As of this issue here, I'd say it's a yast bug: NM uses DHCLIENT_MODIFY_RESOLV_CONF variable to allow/disallow updating /etc/resolv.conf and it's not possible to change the state of this variable through yast when all devices are configured to use static IP. Also, I'd say it's not possible to use one device with static and another with dynamic configuration simulatenously on suse. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c9 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alpha096@virginbroadband.com.au --- Comment #9 from Tambet Ingo <tambet@novell.com> 2008-05-15 01:42:23 MST --- *** Bug 387566 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=387566 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c10 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com AssignedTo|mzugec@novell.com |tambet@novell.com --- Comment #10 from Michal Zugec <mzugec@novell.com> 2008-05-18 12:03:36 MST --- No, I can't accept this as YaST bug. - it doesn't make any sense to configure dhcp options when no dhcp tnterface configured - workaround exists: if you configure interface with dhcp (temporarily), you can uncheck "update resolv.conf via dhcpcd"
it's not possible to use one device with static and another with dynamic configuration simulatenously on suse. Maybe I don't understand but you can have eth0 static and eth1 with dhcp
IMHO this is NetworkManager bug, that user has static configuration and NM replaces his /etc/resolv.conf with empty file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c11 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mzugec@novell.com --- Comment #11 from Tambet Ingo <tambet@novell.com> 2008-05-19 01:29:34 MST ---
Maybe I don't understand but you can have eth0 static and eth1 with dhcp
How does it work? When a dynamic device rewrites /etc/resolv.conf, where does the static device get it's pre-configured DNS list? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c12 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mzugec@novell.com Status|NEEDINFO |NEW Info Provider|mzugec@novell.com | --- Comment #12 from Michal Zugec <mzugec@novell.com> 2008-05-19 03:27:11 MST --- re comment #11: you're right, I didn't understand meaning -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c13 --- Comment #13 from Tambet Ingo <tambet@novell.com> 2008-05-19 05:07:20 MST --- Ok, so what this means is that suse system configured by yast and static IP does not support: * DHCP - I doubt your ISP allows DNS queries from a random wifi hotspot you'd like to use your laptop. * Dialup - Same reason as above. * VPN - Many corporate environments (including novell) use their own internal DNS servers that are not public and the host names won't resolve without them. The only thing to fix here from NetworkManager side would be to not read yast's configuration files at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c14 --- Comment #14 from Scott Couston <alpha096@virginbroadband.com.au> 2008-05-24 04:47:15 MDT --- Created an attachment (id=217966) --> (https://bugzilla.novell.com/attachment.cgi?id=217966) self - titled -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c15 Scott Couston <alpha096@virginbroadband.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #15 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-03 05:13:56 MDT --- Change Priority - If you have 10 P's and 5 are Turned on and have a ISP connection. If then open the other PC's at different times and I have to reset the modem to hand over to an DNS IP's to the newly started PC. The YAST Interface has many issues, The gateway IP gets removed automatically when you change the config and test between static or Dynamic DHCP or Dynamic DHCP allocation -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c16 --- Comment #16 from Michal Zugec <mzugec@novell.com> 2008-06-03 05:25:44 MDT --- re comment #14 - you should check "Change /etc/resolf.conf manually" to be able to edit that values re comment #15 - what's rom version of yast2-network (rpm -q yast2-network)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c17 --- Comment #17 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-03 15:05:55 MDT --- If you have a static IP defined as I do the field ' "Change /etc/resolf.conf manually" in greyed out and not accessible -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c18 --- Comment #18 from Rodrigo Moya <rodrigo@novell.com> 2008-06-04 03:57:45 MDT --- Yes, that's the problem, we can't enable the 'Change /etc/resolv.conf manually', but we can enter the DNS servers there, but still, they are not taken into account -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c19 --- Comment #19 from Tambet Ingo <tambet@novell.com> 2008-06-04 04:17:33 MDT --- This is all result, not the cause of this issue. The problem is that DHCLIENT_MODIFY_RESOLV_CONF does not make sense. For the reasons, see my comment #13. It results in static IP configuration from yast does not work in NetworkManager. The workaround is to not use yast for static IP configuration, but to use NetworkManager's connection editor. I'm keeping this bug open to determine what to do post opensuse 11.0 release. There's basically two options: To make NM not read anything from yast or two make yast work with dynamic + static DNS information. As for other distros, Redhat saves the DNS list to some other file from which the tools can update resolv.conf dynamically. Debian uses resolvconf package which makes resolv.conf dynamic link pointing to the active configuration. If we don't have a solution before 11.1, NM will not read yast configuration at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c20 Scott Couston <alpha096@virginbroadband.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qa@suse.de --- Comment #20 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-04 18:18:31 MDT --- I cannot understand why Yast tool cannot write the DNS Servers correctly in a static IP configuration. 1. The World does NOT run on DHCP - sorry if this is big news 2. There is no functional reason to grey out anything in Yast 3. There is no function reason why we need work arounds in any RC or Final Version Can you image how a work around created by this issue effect me with 30 + PC's I have to wait untill everyone has booted their PC and left it on - no internet access at this moment in time. Once all PC's have a OpenSuse KDE session I have to re-start the Modem and then everything works thanks to Modem smarts, however IF I need to use 1 or any more PC's - I have to start that PC with a session, ask everyone else to re-boot and then re-set the Modem. If this problem is still evident in version 11.0 - without any work around - It must be considered as a 'BLOCKER' The Yast network interface in 10.1 was so much better in layout and more useful. If it still writes the Network configuration correctly I would strongly suggest we revert back to it if we cannot get the current Interface to work. I cannot understand why a simple 'IF static IP, then auto tick 'write hosts' AND auto tick resolv.conf and then write the config statement cannot be included in Yast interface OR am I that nieve that its that simple or that easy???????? I am also alos as to why this assumed simple issue attracts #20 entries. Attn: QA Can you please manage this issue and follow through with resolution in bother online update in 10.3 and included in 11.0 Final. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c21 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |alpha096@virginbroadband.com.au --- Comment #21 from Michal Zugec <mzugec@novell.com> 2008-06-05 06:54:16 MDT --- Scott, I'm still not sure if you're writing about the same issue. As I understand, Rodrigo's problem is that resolv.conf is written correctly but NetworkManager uses dhcpcd to rewrite it again. But your report - "Change /etc/resolf.conf manually" not enabled - but from attached screenshot in comment #14 - it's enabled! So I understand your emotions (in case it doesn't work) but this works for me perfetly. So again - can you reproduce it without NetworkManager? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c22 --- Comment #22 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-05 14:56:39 MDT --- Sorry for the confusion - it may be that I have misinterpreted the above. I use all static IP's I also enter DNS servers o.k I can tick write changes in hostnames, but I am unable to write resolv.conf as it is greyed out see image -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c23 --- Comment #23 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-05 14:58:09 MDT --- Created an attachment (id=220553) --> (https://bugzilla.novell.com/attachment.cgi?id=220553) greyed out resolv.conf - cannot write DNS addresses -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c24 Scott Couston <alpha096@virginbroadband.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|alpha096@virginbroadband.com.au | --- Comment #24 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-05 14:58:49 MDT --- image added -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c25 Scott Couston <alpha096@virginbroadband.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #25 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-05 15:06:18 MDT --- image added was after change to ifup - Network Manager and IFUP both negate access to DNS writes to config. I just lost my connection to the defined DNS servers by changing to ifup -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c26 --- Comment #26 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-05 15:43:25 MDT --- Sorry for the SPAM -everyone - Michal I understand you question about my issue of being the same, however I believe it is so closely related that to open a separate bug "cannot write DNS server because of no access to resolv.conf tick window" would be considered a dupe - I also cannot write DNS Servers that are read at time of boot, they just happen to work when I reset the Modem due to the Modems smarts. If you have any difficulty in reproducing this error - I know how it begins to be a problem and can give you a procedure on how to inadvertently create this issue. I would discuss this right now but think this is a very lengthy update that may cause more confusion, but it may be necessary if you cannot reproduce. Thanks for your help Michal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User alpha096@virginbroadband.com.au added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c27 Scott Couston <alpha096@virginbroadband.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|qa@suse.de, alpha096@virginbroadband.com.au | Severity|Major |Normal --- Comment #27 from Scott Couston <alpha096@virginbroadband.com.au> 2008-06-05 23:28:02 MDT --- I have activated DDNS Services on the Modem/Router and overcome all issues as any name servers written via Yast are over-ruled. This is not the same as having authoritative name servers functionality, but does solve the issue for me. I understand this is of little comfort to all other effected users. DDNS services are a small security setback, but one I can easily live with and my LAN is small and there are no spare Ethernet jacks just lying around for anyone to plug into at random and auto receive DNS Services. I have still been able to leave DHCP turned off. Reverting my upgrade of problem Severity back to Normal - apologies to all for the over passionate comment #20- Am still happy to provide info on how to duplicate greyed out resolv.cnf in static IP if needed as a result of not being able to duplicate the same in test environment. Please re-instate CC email address if required. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User rodrigo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c28 --- Comment #28 from Rodrigo Moya <rodrigo@novell.com> 2008-06-10 04:33:48 MDT --- After installing RC2, I've seen this problem, when updating from 10.3 to RC2, the resolv.conf file was empty after I installed and rebooted -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User pacho@condmat1.ciencias.uniovi.es added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c29 Pacho Ramos <pacho@condmat1.ciencias.uniovi.es> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pacho@condmat1.ciencias.uniovi.es --- Comment #29 from Pacho Ramos <pacho@condmat1.ciencias.uniovi.es> 2008-06-21 17:48:43 MDT --- Same problem here after updating from 10.3 to 11.0, seems that NetworkManager drops my dns servers. I also lose them while trying to configure my network using yast after networkmanager is restarted Could this be fixed? Thanks a lot :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c30 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |moisey.g.oysgelt@sprint.com --- Comment #30 from Michal Zugec <mzugec@novell.com> 2008-06-24 05:56:59 MDT --- *** Bug 402325 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=402325 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User jabailo@texeme.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c31 John Bailo <jabailo@texeme.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jabailo@texeme.com --- Comment #31 from John Bailo <jabailo@texeme.com> 2008-07-31 12:08:00 MDT --- I am experiencing this problem with a brand new installation of openSuse 11 so it's not just an upgrade problem. Also, other users are experiencing it as well as documented in this forum thread: http://forums.opensuse.org/install-boot-login/391329-cant-add-nameserver-new... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mzugec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c32 --- Comment #32 from Michal Zugec <mzugec@novell.com> 2008-08-05 00:59:59 MDT --- *** Bug 413683 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=413683 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User s.kage@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c33 Banane Bieger <s.kage@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |s.kage@web.de --- Comment #33 from Banane Bieger <s.kage@web.de> 2008-08-11 10:28:26 MDT --- *** Bug 415481 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=415481 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c34 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkeil@novell.com --- Comment #34 from Tambet Ingo <tambet@novell.com> 2008-08-27 01:13:26 MDT --- *** Bug 398956 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=398956 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c35 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |don.smith@novell.com --- Comment #35 from Tambet Ingo <tambet@novell.com> 2008-08-27 01:31:12 MDT --- *** Bug 204337 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=204337 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c36 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #36 from Tambet Ingo <tambet@novell.com> 2008-11-17 01:42:00 MST --- "Fixed" in 11.1 - NM stops pretending it can read yast configuration and NetworkManager's connection editor (accessible from control center and right-click menu) is the only supported configuration method. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User kaprasad@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c37 Kandepu Prasad <kaprasad@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kaprasad@novell.com --- Comment #37 from Kandepu Prasad <kaprasad@novell.com> 2009-02-12 12:24:46 MST --- Fix being in 11.1 and the bug being closed as fixed in 11.0 does not seem to match. Is there any update provided for 11.0? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c38 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #38 from Marius Tomaschewski <mt@novell.com> 2009-02-13 03:11:25 MST --- (In reply to comment #37)
Fix being in 11.1 and the bug being closed as fixed in 11.0 does not seem to match. Is there any update provided for 11.0?
AFAIK there was no update needed for this issue on 11.0. It is marked FIXED (instead of WONTFIX or WORKSFORME), because we've added "fixes" - complete rewrite - to 11.1 (see comment 36) and NetworkManager does not try to follow any sysconfig settings, what caused problems in DHCLIENT_MODIFY_RESOLV_CONF=no case (comment #8). There is a pending (submitted but AFAIK not released) update for dhclient (used by NM). One of the fixes is related: it allows to override a script option defined in (old) /etc/dhclient.conf with an option provided via command line interface (NM is using own script). Workaround is to comment out the script line in /etc/dhclient.conf. Second one fixing evaluation of the sysconfig policies in the /sbin/dhclient-script [ifup corner cases with non-standard configuration]. The situation on 11.0 with ifup (NETWORKMANAGER=no) is, that yast2 writes the static nameservers directly into the /etc/resolv.conf. Yes, the "Change /etc/resolv.conf manually" is gray, but when you uncheck the "Update DNS data via DHCP" [causes DHCLIENT_MODIFY_RESOLV_CONF=no], you can define the nameservers and they are written to /etc/resolv.conf. => static DNS configuration works with ifup. When you enable "Update DNS data via DHCP" [DHCLIENT_MODIFY_RESOLV_CONF=yes], yast2 does not discard the nameservers that are already in resolv.conf. When you change an interface to use dhcp, modify_resolvconf used by dhcpcd (and pppd as well) makes a backup on connect, writes dynamic resolv.conf settings and and restores the static settings on disconnect. => dhcp DNS configuration update & restore works with ifup. When NetworkManager is enabled, it overwrites the /etc/resolv.conf (written by yast2 or not). When a connection is up and nameservers are provided by dhcp _or_ static dns server are provided, then the NetworkManager writes them into the /etc/resolv.conf. Otherwise it writes an empty resolv.conf. => static and dhcp configuration works with NM. To make the resolv.conf update work, DHCLIENT_MODIFY_RESOLV_CONF=yes needs to be set [reset to the default setting] before NM is enabled (NETWORKMANAGER=yes ; rcnetwork restart). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=388266 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=388266#c39 --- Comment #39 from Marius Tomaschewski <mt@novell.com> 2009-02-13 03:53:36 MST --- (In reply to comment #13)
Ok, so what this means is that suse system configured by yast and static IP does not support:
* DHCP - I doubt your ISP allows DNS queries from a random wifi hotspot you'd like to use your laptop. * Dialup - Same reason as above. * VPN - Many corporate environments (including novell) use their own internal DNS servers that are not public and the host names won't resolve without them.
No. It is a very common mistake people make, thinking that they order of the nameservers in resolv.conf solves this problem. On linux (at least), there is _no_ way to direct local network queries to a local nameserver VPN queries to another one and ISP queries to ISP nameserver just by adding the nameservers to resolv.conf only. Also when you define 3 nameservers (vpn, local, isp) in /etc/resolv.conf, only one (first) at time is used by the resolver, except the request times out where then the resolver trys the next one. There is no "NXDOMAIN" fallback or something like this. See also "man resolv.conf": "[...] If there are multiple servers, the resolver library queries them in the order listed. [...] (The algorithm used is to try a name server, and if the query times out, try the next, until out of name servers, then repeat trying all the name servers until a maximum number of retries are made.) [...] If no nameserver entries are present, the default is to use the name server on the local machine. [...]" Solution for this, is to not to define any nameserver (or only a local one) in /etc/resolv.conf, but to install a local nameserver (bind or dnsmasq) and define forward zones there - bind example: options { forward first; # ask isp first, then try root ns include "/etc/named.d/forwarders.conf"; ### forwarders.conf content is like: # forwarders { isp.isp.isp.isp; }; }; zone "lan.example.com" in { type forward; forward only; # ask only lan ns forwarders { lan.lan.lan.lan; }; }; #zone "<lan-network>.in-addr.arpa" in { ... }; # lan reverse zone "vpn.example.com" in { type forward; forward only; # ask only vpn ns forwarders { vpn.vpn.vpn.vpn; }; }; #zone "<vpn-network>.in-addr.arpa" in { ... }; # vpn reverse On 11.0 there is the MODIFY_NAMED_CONF_DYNAMICALLY on 11.1 the NETCONFIG_DNS_FORWARDER="bind" that should help to update the ISP nameserver to configure a scenario like this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com