Various people have a bunch of unrelated problems with name resolution in Ubuntu 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| network-manager (Ubuntu) |
Medium
|
Unassigned |
Bug Description
I just updated to Ubuntu 12.04.
After the update I cannot resolve hostnames reliably:
I use Konsole in Unity. There sometimes the DNS resolving works fine and suddenly after two commands or so it fails for the same address.
E.g. I ping a machine without DNS-Suffix (the suffix is shown in my network config correctly aside 3 valid nameserver IPs) and everything works fine. Then I try to log into the machine with the same address via ssh and I get a "Name or service not known".
Trying again, it works with a fully qualified name containing the suffix. I also had cases, when the IP wasn't resolved although I put in the fully qualified name. When I am more lucky, it starts working again with machine names only (without suffix, which is configured and worked perfectly up to now)
Is there probably a bug in the new Ubuntu Version?
---
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
DistroRelease: Ubuntu 12.04
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
IpRoute:
default via 192.168.1.1 dev wlan0 proto static
169.254.0.0/16 dev wlan0 scope link metric 1000
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.2 metric 2
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
NonfreeKernelMo
Package: network-manager 0.9.4.0-0ubuntu4
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Tags: precise
Uname: Linux 3.2.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo
mtime.conffile.
nmcli-con:
NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
Wired connection 1 a76f352c-
Ladner Computer Repair L.N.A 47560d22-
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
wlan0 802-11-wireless connected /org/freedeskto
eth0 802-3-ethernet unavailable /org/freedeskto
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running 0.9.4.0 connected enabled enabled enabled enabled disabled
sladner84 (sladner84) wrote : | #1 |
Launchpad Janitor (janitor) wrote : | #2 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in gnome-nettool (Ubuntu): | |
status: | New → Confirmed |
sladner84 (sladner84) wrote : | #3 |
I also have noticed that it only happens when I use my 5G connection.. I have switched to my 2.4G and so far so good...just thought it was worth letting you know
summary: |
- DNS Resolve Problems in Ubuntu 12.4 + DNS Resolve Problems in Ubuntu 12.04 |
affects: | gnome-nettool (Ubuntu) → network-manager (Ubuntu) |
This also happens on my upgraded Kubuntu from 11.10 to 12.04
jedix (howlett) wrote : | #5 |
I noticed that my /etc/resolv.conf only has 127.0.0.1 in it. I believe this is a bug in the new resolvconf package OR the way that the network cards are handled which does not interact as they should with the new resolvconf package.
My work around is to hammer a real dns into /etc/resolv.conf, if this daemon overwrites it I will cron something to keep overwriting it until someone fixes this or I have time to look into the issue further.
This "work around" did not worked for me...
after adding "nameserver 8.8.8.8" to /etc/resolv.conf and removing all other nameservers, im still unable to resolve IPs.
also tried "resolvconf -d eth1 -a 8.8.8.8" without success.
pinging google for example will give me 192.168.1.251 back. Im still not able to figure out, where this 192.168.1.251 comes from.
pinging an IP directly works without issues
tomx (tom-xitio) wrote : | #7 |
I had to restore values of our company network that i entered when on 11.10:
in /etc/resolv.conf:
domain int.snakeoil.com
search int.snakeoil.com ext.snakeoil.com com
nameserver 192.168.25.1
nameserver 192.168.2.1
Nguyễn Đăng Minh (nguyendangminh) wrote : | #8 |
I have the same problem.
Charles Peters II (cp) wrote : | #9 |
My old laptop also has this problem with 12.04 lubuntu.
I have the same issue in Xubuntu 12.04
Kitsab (kitsab) wrote : | #11 |
Hi,
I found a workaround that works for me, theres a description adding this line "dns-nameservers [IP address(es) of your DNS]" to the /etc/network/
Description found [link url="http://
sladner84 (sladner84) wrote : | #12 |
ok I read that.. now what about people who dont use a static IP address like for example those of us who just use a Ubuntu on a desktop home computer..
tom king (carlbarfarm2) wrote : | #13 |
Same problem with me. I'm one of the 99% ers. Web access to news with 12.04 is horrendous. So many dnsresolv addresses and many timeouts. Fox, msnbc, cnn is rare that the page completes without something missing. There is no difference whether wireless connected or eth connected on my dv6000 and same symptoms whether using firefox or opera. In the interim to a fix, I'm forced to use Vista!
sladner84 (sladner84) wrote : | #14 |
hey Tom,
have you tried using Ubuntu 11.10?...
tom king (carlbarfarm2) wrote : | #15 |
I had been using 11.10 and opted to the released 12.04. Actually I been using Ubuntu since 10. I routinely install the updates and haven't had any issues until 12. I'm just a regular user and prefer to stay out of the internals of ux. I'm sure the people in the know will get it resolved, so once a day I boot up to see if an update may download and fix the problem.
cirrus (andreas-kahl) wrote : | #16 |
Here you can find a documentation of the changes to the DNS-configuration of the new Ubuntu release 12.04:
http://
Ccampora (ccampora) wrote : | #17 |
A workaround that worked for me
edit /etc/NetworkMan
tom king (carlbarfarm2) wrote : | #18 |
cirrus and Ccampora,
I read the doc and applied the comment and restart as Ccampora did and my web access is fine now both on wlan and eth. Thanks for your help - twk
Ccampora and Sladner84,
I am staying at an university and I use a static IP just like you do. After following Ccampora's workaround, I am able to access the internet fine. Hope it works for you too!
sladner84 (sladner84) wrote : | #20 |
But I dont use a static IP... anyways this is getting on my nerve's someone just fix it already lol so we can download the patch/fix or whatever.. I am tired of always having to disconnect and reconnet to my wireless to get it to work when it quits!!! its a real pain to search for updates when I am always having to reset my wireless connection :( which is about every 5 min's or so
Wolf Rogner (war-rsb) wrote : | #21 |
Same symptoms
Connection to my mail server with Thunderbird fail regularly.
Ccamporas workaround did not work though.
resolvconf -u updates the file /run/resolvconf
Ccampora (ccampora) wrote : | #22 |
if u follow the doc about the changes in how ubuntu now resolves DNS request u should figure out that there is a change in dns resolver which now points to 127.0.0.1 as you can see in /etc/resolv.conf . The workaround that i posted change that to the "old" behavior wich writes dns servers given by dhcp system . Make sure u dont have 127.0.0.1 in your /etc/resolv.conf , having that means u haven't made the change to the conf properly.
Fabio Porcedda (fabio-porcedda) wrote : | #23 |
Thanks Ccampora, your workaround fixed the issue for me too.
sladner84 (sladner84) wrote : | #24 |
Ccampora. I tried that work around.. and my /etc/resolv.conf. it doesnt show 127.0.0.1....it shows 192.168.1.1 but the problem still exists... I am at a loss here.. Here are the contants of my resolv.conf file..
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
Let me know if there is anything more I can provide that might help... and just for a FYI My wireless card is a Linsys WMP600N and it looks to be running the RT2800PCI driver
Patrick Fratczak (patfrat) wrote : | #25 |
Thank you Ccamparo ... this bug affects me too and your solution works for me
edit /etc/NetworkMan
then do a “sudo service network-manager restart”.
Ccampora (ccampora) wrote : | #26 |
sladner84 it seems to me that u have an additional problema. Try the next
$ telnet 192.168.1.1 53 // to see if u have a running dns server there
if u have a conection then try
$ host www.google.com 192.168.1.1 and see what resolvs for
if it doesnt resolve then u probably have a problem in your router box , or my second guess is that the wireless driver is having some issue , if that the case i dont see another solution than submitting another bug report regarding only to your specific network card.
Hope this helps.
sladner84 (sladner84) wrote : | #27 |
Ccamopora... what is the command for the telnet check that u suggested. I copied and pasted "$ telnet 192.168.1.1 53 // " and it said command not found"
Remove the leading dollar
sladner84 <email address hidden> schrieb:
>Ccamopora... what is the command for the telnet check that u suggested.
>I copied and pasted "$ telnet 192.168.1.1 53 // " and it said command
>not found"
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https:/
>
>Title:
> DNS Resolve Problems in Ubuntu 12.04
>
>Status in “network-manager” package in Ubuntu:
> Confirmed
>
>Bug description:
> I just updated to Ubuntu 12.04.
> After the update I cannot resolve hostnames reliably:
> I use Konsole in Unity. There sometimes the DNS resolving works fine and suddenly after two commands or so it fails for the same address.
>
> E.g. I ping a machine without DNS-Suffix (the suffix is shown in my network config correctly aside 3 valid nameserver IPs) and everything works fine. Then I try to log into the machine with the same address via ssh and I get a "Name or service not known".
> Trying again, it works with a fully qualified name containing the suffix. I also had cases, when the IP wasn't resolved although I put in the fully qualified name. When I am more lucky, it starts working again with machine names only (without suffix, which is configured and worked perfectly up to now)
>
> Is there probably a bug in the new Ubuntu Version?
>
>To manage notifications about this bug go to:
>https:/
I had the same problem. In /etc/nsswitch.conf I put dns as the first entry of the hosts line and it resolved my issue.
nixolas (crgrill) wrote : | #30 |
Actually you probably want to put that as the second entry so opening files isn't slow.
sladner84 (sladner84) wrote : | #31 |
telnet> telnet 192.168.1.1 53 //
?Invalid command
telnet> telnet 192.168.1.1 53
?Invalid command
Lisa Nelson (lisa50469) wrote : | #32 |
This issue is BAD! I've got Ubuntu 11.10 LDAP clients that I can't replace with 12.04 clients do to the instability of that resolver crap and gsettings locking up... Worst release so far....
sladner84 (sladner84) wrote : | #33 |
Lisa I dont know about your situation but I was able to get it working.. what worked for me was the last thing I would of even thought to check out.. I had to manually change the channel that my wireless networks used and drop my router speed from 300 mbs to 54mb.. and to my surprise it freaking worked.. I was so frustrated wtih the whole thing.. so kudos to the troubleshooters here on Launchpad!
There are too many different issues being listed here -- and far too little information to be able to debug any of them.
Please, if you're running into an issue with DNS resolution; file your own bugs. We'll get to each of them separately and fix them separately -- or I'll mark them duplicate where necessary. Please also make sure you use the 'ubuntu-bug network-manager' command to report your bugs, it adds important useful information.
sladner84: if you're still having issues, please make sure you run the 'apport-collect 989900' command in a terminal to attach more information to this bug report; you should also attach /run/nm-
Marking Incomplete for now awaiting for more information; if this is actually fixed for you, then let's close this bug report and look at the others that the other people commenting on this bug will file.
Changed in network-manager (Ubuntu): | |
status: | Confirmed → Incomplete |
sladner84 (sladner84) wrote : CRDA.txt | #35 |
apport information
tags: | added: apport-collected precise |
description: | updated |
sladner84 (sladner84) wrote : Dependencies.txt | #36 |
apport information
sladner84 (sladner84) wrote : IpAddr.txt | #37 |
apport information
sladner84 (sladner84) wrote : IwConfig.txt | #38 |
apport information
apport information
sladner84 (sladner84) wrote : NetDevice.lo.txt | #40 |
apport information
apport information
apport information
sladner84 (sladner84) wrote : PciNetwork.txt | #43 |
apport information
sladner84 (sladner84) wrote : WifiSyslog.txt | #44 |
apport information
apport information
I think it is a bug cause I cant use my full wireless speed with 12.04 where I could with 11.10
sladner84 (sladner84) wrote : | #47 |
I have to set my router at 54mb instead of the normal 300mbs that I can use or else my wifi will cut out and I have to disconnect and then reconnect and then it only works for a few moments... another troubleshooter here by the name of mark Rijckenberg he made the suggestion to make the changes to my router
Changed in network-manager (Ubuntu): | |
status: | Incomplete → Confirmed |
sto (f4eru) wrote : | #48 |
hello
same problem here.
workaround with "dns=dnsmasq" did not work.
It is not serious for a LTS to have a fully broken DNS and no fix available. Will go to linux mint.
sladner84 (sladner84) wrote : | #49 |
Linux Mint is based on Ubuntu so if your gonna be using Linux mint 12 RC it has the same problems.. I have tried that distro on my computer as well.. Mint was my first linux experince and I have loved Linux since.. but if you go with Linux mint 12 it is based on Ubuntu 11.10 :)
sladner84 (sladner84) wrote : | #50 |
Opps my back I ment to say Linux Mint 13 RC sorry
Ryan Farmer (ryanfarmer-t) wrote : | #51 |
Having Network Manager set to use dnsmasq doesn't get along very well with Comcast, using the suggestion of commenting out the dnsmasq line from /etc/NetworkMan
As usual, the rolling list of crap I have to edit by hand to work around Ubuntu's bugs that they can't or won't fix or claim is not a bug continues to grow.
Changing the problem to "Incomplete" instead of attempting to figure out what got you to the point where you have broken internet access for millions of Comcast users and hoping the problem fades off into the sunset with not another word spoken about it exemplifies everything I've come to expect from Ubuntu developers.
How about reverting it to the way it was in 11.10, which wasn't broken, and letting the few users who actually NEED dnsmasq turn it on themselves. Radical concept?
Michael Cook (michaelcook-mjc) wrote : | #52 |
U12.04 introduced local dnsmasq in Network Manager. This is "ok" when all networking is managed by Network Manager. As soon as I update my network interfaces file, all hell breaks loose. Wifi configuration applet sometimes appears, wlan0 seems completely unpredictable whether it will appear. resolv.conf is completely useless with only 127.0.0.1 and I usually have to manually edit it.
While it seems 12.04 intentionally put local dnsmasq in to save routing all traffic over a VPN (a worthy use-case) the rest of Network Manager (which generally acts like a piece of crap and gets confused) seems to completely toast all network connectivity.
I'm constantly having to edit /etc/resolv.conf everytime I startup my computer and change network topology (wifi vs lan).
(Can someone in the interwebz re-write Network Manager, Sound and Graphics support for Linux... I have wasted so much of my life on these three basic necessities of a computer-user.)
Ryan: please file a *separate* bug about the issues you're seeing, preferably attaching /etc/resolv.conf, /run/resolvconf
Michael: this is expected behavior. Interfaces configured manually in /etc/network/
sladner84: if you were able to fix your issues by changing the channel or wifi speeds or whatnot; then this has nothing to do with dns resolution by itself. It's a kernel bug. Please confirm what's going on, there's no indication of anything wrong in the syslog excerpt that is now attached on this bug report. Thanks!
Changed in network-manager (Ubuntu): | |
status: | Confirmed → Incomplete |
importance: | Undecided → Medium |
Roman Novikow (rrl-software) wrote : | #54 |
The file /etc/resolv.conf is the symbolic link to /run/resolvconf
Thomas Hood (jdthood) wrote : | #55 |
jedix in #5:
> I noticed that my /etc/resolv.conf only has 127.0.0.1 in it. I believe this is a bug in the new resolvconf package
It's not a bug. It's correct.
Marcus in #6:
> after adding "nameserver 8.8.8.8" to /etc/resolv.conf
Don't do that. If you must temporarily add static entries to /etc/resolv.conf, put them in /etc/resolvconf
Michael in #52:
> I'm constantly having to edit /etc/resolv.conf everytime I startup my computer and change network topology (wifi vs lan).
/etc/resolv.conf should be a symlink to ../run/
Most name resolution problems in 12.04 can be solved by commenting out the "dns=dnsmasq" line in /etc/NetworkMan
If that does not suffice then you can add temporary static nameserver addresses to /etc/resolv.conf via the files /etc/resolvconf
Please read resolvconf(8) to gain an understanding of how resolvconf works.
Thomas Hood (jdthood) wrote : | #56 |
@sladner84: Do you think your problem is the same as the one reported in bug #998712?
Thomas Hood (jdthood) wrote : | #57 |
Michael in #52:
> As soon as I update my network interfaces file, all hell breaks loose. Wifi configuration applet sometimes appears, wlan0 seems completely unpredictable whether it will appear.
Sounds like bug #391040. Please submit the information you have about that issue to that bug report.
Rick Gutknecht (gutknechtr) wrote : | #58 |
I am running Linux Mint 13 and am having the same issue. I thought at first it was a broadcom issue, but my pings to ips are fine but dns resolution keeps dropping out. I did not find a /etc/resolv.conf, /run/resolvconf
server=
server=
server=192.168.1.1
server=
This is the correct DNS servers provided by DHCP from my CISCOrouter.
Thomas Hood (jdthood) wrote : | #59 |
@Rick: Purge and reinstall both resolvconf and network-manager and see if you then have /etc/resolv.conf (dynamically generated by resolvconf). If the default settings don't work, comment out "dns=dnsmasq" in /etc/NetworkMan
Thomas Hood (jdthood) wrote : | #60 |
I should mention that after purging and reinstalling resolvconf and network-manager you should reboot.
Rick: you're using IPv6. Please attach /var/log/syslog; it's possible that resolution is dropping because dnsmasq gets restarted due to changes in IPv6 addresses and routes.
Lagos Marodel (seqtui) wrote : | #62 |
@ Roman:
The file /etc/resolv.conf is the symbolic link to /run/resolvconf
Thank you, thank you, thank you.
THIS is the solution. I hope, Canonical will stay on this road, because I need no further problems.
Greetings
summary: |
- DNS Resolve Problems in Ubuntu 12.04 + Various people have a bunch of unrelated problems with name resolution + in Ubuntu 12.04 |
Changed in network-manager (Ubuntu): | |
status: | Incomplete → Invalid |
Thomas Hood (jdthood) wrote : | #63 |
The original report by sladner84 seems to be related to a faulty router and/or faulty hardware drivers in Ubuntu. Beyond that this report contains random unrelated reports of name resolution problems in Ubuntu 12.04 and quite a bit of misinformation. The contributors are invited to contribute their information to relevant bug reports or to open new bug reports each containing a good description of one reproducible problem and lots of information that will be useful in diagnosing and solving the problem.
@sladner84: If you can isolate the problem you are having, please open a new bug report too.
JW (arch0njw) wrote : | #64 |
I had the same problem as tomx (https:/
Without revealing sensitive information, the file had the following in it
domain {home domain value}
search {home search value}
nameserver {home nameserver value 1}
nameserver {home nameserver value 2}
nameserver {home nameserver value 3}
This was an appropriate configuration for connecting from my home network.
However, for my office network it needed to be this:
nameserver 127.0.0.1
search {office search value}
Only after changing that by hand was I able to connect to the network.
Whatever is supposed to be updating that file is not doing so.
Rick Gutknecht (gutknechtr) wrote : | #65 |
@Thomas Thanks for the help.. I purged resolvconf and netowrk-manager... not thinking.... Now I cannot resolve DNS to install from the repositories. System totally broke now....
Rick Gutknecht (gutknechtr) wrote : | #66 |
I'm no linux espert, far from it, but after bricking my system, I booted to a live CD and through the magic of chroot I was able to reinstall resolvconf and network-manager. So far so good. I now have a resolv.conf file. I have a second computer that had the same issue. I wanted to change the way my HD was partitioned so I reinstalled Linux Mint 13. But it still is having DNS issues and no resolv.conf is created. I will chroot it later and purge and reinstall resolvconf and network-manager. But I guess this isn't a bug?
Thomas Hood (jdthood) wrote : | #67 |
@Rick: I am happy to hear that you managed to get resolvconf and network-manager reinstalled and your system unbricked.
Although it is usually the case that resolvconf and network-manager get installed and operate properly, it is possible that there is some bug that bites only in special circumstances which happen to obtain for you. The fact that you have *two* systems with the same problem suggests that there is some such bug.
The problem is, there is not much we can do with that statement. What exactly is wrong with the systems and how did they get that way, and what caused them to be that way?
In order to answer these questions we need your help. We will need you to reinstall Ubuntu 12.04 on at least one of the systems, carefully recording all the steps you take. And we will need you to tell us exactly what is wrong with the resulting installed system. And then we will need you to investigate the system and send us syslogs and such. If you are willing to do all this then please open a fresh new bug report. :)
joshyg6 (josheg) wrote : | #68 |
Seems to be related to this kernel bug maybe? https:/
joshyg6 (josheg) wrote : | #69 |
Did anyone have a successful workaround/fix yet? That actually worked?
Thomas Hood (jdthood) wrote : | #70 |
@joshyg6: Please browse through the hundreds of network-manager bug reports for one that looks more like the problem you are having.
joshyg6 (josheg) wrote : Re: [Bug 989900] Re: Various people have a bunch of unrelated problems with name resolution in Ubuntu 12.04 | #71 |
I haven't rebooted yet, but so far this situation is much better with 8..8 and 8..4 dns servers.. From within edit connection.
Sent from my iPhone
On Jul 19, 2012, at 4:35 AM, Thomas Hood <email address hidden> wrote:
> @joshyg6: Please browse through the hundreds of network-manager bug
> reports for one that looks more like the problem you are having.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Various people have a bunch of unrelated problems with name resolution
> in Ubuntu 12.04
>
> Status in “network-manager” package in Ubuntu:
> Invalid
>
> Bug description:
> I just updated to Ubuntu 12.04.
> After the update I cannot resolve hostnames reliably:
> I use Konsole in Unity. There sometimes the DNS resolving works fine and suddenly after two commands or so it fails for the same address.
>
> E.g. I ping a machine without DNS-Suffix (the suffix is shown in my network config correctly aside 3 valid nameserver IPs) and everything works fine. Then I try to log into the machine with the same address via ssh and I get a "Name or service not known".
> Trying again, it works with a fully qualified name containing the suffix. I also had cases, when the IP wasn't resolved although I put in the fully qualified name. When I am more lucky, it starts working again with machine names only (without suffix, which is configured and worked perfectly up to now)
>
> Is there probably a bug in the new Ubuntu Version?
> ---
> ApportVersion: 2.0.1-0ubuntu7
> Architecture: amd64
> DistroRelease: Ubuntu 12.04
> IfupdownConfig:
> auto lo
> iface lo inet loopback
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
> IpRoute:
> default via 192.168.1.1 dev wlan0 proto static
> 169.254.0.0/16 dev wlan0 scope link metric 1000
> 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.2 metric 2
> NetworkManager.
> [main]
> NetworkingEnabl
> WirelessEnabled
> WWANEnabled=true
> WimaxEnabled=true
> NonfreeKernelMo
> Package: network-manager 0.9.4.0-0ubuntu4
> PackageArchitec
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSign
> RfKill:
> 0: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: no
> Tags: precise
> Uname: Linux 3.2.0-24-generic x86_64
> UpgradeStatus: No upgrade log present (probably fresh install)
> UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo
> mtime.conffile.
> nmcli-con:
> NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
> Wired connection 1 a76f352c-
> Ladner Computer Repair L...
jonathan (enlinea777) wrote : | #72 |
MI solucion.
He visto que si agregas los dns-nameserver en interfaces esta no toma los server de resolucion de nombres
Gracias a la ayuda encontrada en esta pagina he resuelto el problema.
http://
Para hacer que resolv.conf no cambie cuando la editamos manualmente hacemos esto en la terminal:
sudo resolvconf --disable-updates
despues:
sudo resolvconf -a eth0 # o tu interfas de red
luego editamos manualmente /run/resolvconf
agregando un maximo de 2 DNS servers.
saludos
P.D. no olvidar reiniciar:
sudo /etc/init.
English translation
my solution.
I noticed that if you add the dns-nameserver in interfaces that do not take the name resolution server
Thanks to the help found here have solved the problem.
http://
To make resolv.conf not change when we edit manually do this in the terminal:
sudo resolvconf --disable-updates
after:
sudo resolvconf -a eth0 # or your network Interfas
then manually edit /run/resolvconf
adding a maximum of two DNS servers.
thanks
P.S. not forget to restart:
sudo /etc/init.
Thomas Hood (jdthood) wrote : | #73 |
> I noticed that if you add the dns-nameserver in interfaces that do not take the name resolution server
You have to use the option keyword "dns-nameservers", not "dns-nameserver".
> To make resolv.conf not change
The way you propose to make resolv.conf not change is not a good one. You can run "resolvconf --disable-updates" but updates will be re-enabled after reboot.
To make resolvconf completely static you should replace /etc/resolv.conf with a static file. Normally it is a symbolic link to /run/resolvconf
It isn't optimal to have a completely static resolv.conf. Perhaps what you should do is add
nameserver 1.2.3.4
to the /etc/resolvconf
PTR (peter-golitz) wrote : | #74 |
How the problem appears to me:
I am installing the Ubuntu server 12.04 (32 bit) in a clean machine.
First I gave it a fix IP address, installed SSL and a standard LAMP server from the disk. Afterwards made some updates. Everything went well.
Then I unplugged all peripherals and let it stand alone, connected in the local net. I was accessing the server from a win machine means PuTTY, accessing the server via OpenSSL. I tipped the server name in the terminal and logged me in without problems.
But AFTER installing DNS manually (via apt-get) the TTY terminal does not found the server by the machine's name anymore. By the other way, if I tip the IP address directly, everything works well. For me it seems to be a problem in the name resolution within my home network, possibly within the DNS.
Changed in network-manager (Ubuntu): | |
status: | Invalid → New |
status: | New → Incomplete |
status: | Incomplete → Opinion |
status: | Opinion → Invalid |
status: | Invalid → Confirmed |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
Thomas Hood (jdthood) wrote : | #76 |
Can someone please set the status back to "incomplete"?
I have the same problem as well.. but mine seem to happen when checking for updates or anything Internet Intensive..I hope there is a fix to this soon..
Steven