Ubuntu Networking :: Slow DNS Lookup Times In 11.04?
Jun 4, 2011
I just installed Ubuntu 11.04 in a dual boot environment on a spare laptop( Dell Inspiron 6000 ) I have other machines using older distro's of Ubuntu but do not have them all on line... utility costs are ridiculous here..anyway.... I found some optimization tips for Firefox and those have been done and I did find earlier information about this or a very similar problem but all the suggestions mentioned there are already in place here network wide.. Basically what is happening is this: When a web site is opened from the browser in the lower left hand of the screen it displays "Looking up www.google.com" or what ever url was entered.
I know Win is not a good comparison and I haven't gotten any additional Ubuntu boxes on line yet but Win seem unaffected by this.
Any recommendations as to what I should try next?? I have DNS server information stored in the router using Google Public DNS and Open DNS as a backup and uPNP is disabled. Seems like the program (Ubuntu) is plenty fast even on this Celeron based machine but the time taken to look up DNS data is a lot slower than anticipated.
For a while now I've got a problem when surfing the internet. Everythings fine for let's say 15 minutes and then all of a sudden it takes about 1 minute to load a -random- page, once it has loaded, everthing's fine again. Transmission does not seem to have this problem. I'll double check this. Looking thru the forum I found the following "solutions". None of which has worked for me up to now:
- disable ipv6 in firefox - set method under network manager to "Automatic (DHCP) addresses only" and use google or OpenDNS dns servers - change resolv.conf (comparable to the second one I guess)
I've been comparing the current Slackware 32 bit versus 64 bit, and I've noticed that the 64 bit version is as slow as dialup for domain name lookup.
The 32 bit version is very fast to find websites after a mouse click, whereas the 64 bit version takes forever looking up URLs. (using Firefox)
All the other 64 bit Linuxes seem to be the same way, not just Slackware.
The /etc/resolve.conf file is the same for 32 or 64 bit Slackware, but something is not right. The 32 bit version has a /etc/dhcpc directory, but not the 64 bit version.
Could this be causing the extreme slowdown?
It's really very irritating when the rest of the system is blazing fast.
AMD Phenom II X4 955 Asus M4A88TD-V 8 GB Corsair XM33 ram
I've been cracking on with getting a new Slackware 13 x64 installation going. I've got a problem with browsing the net which I can't put my finger on.
When I try to access a site my machine spends a long time with the "Looking up www.website.com" message at the bottom. It can take 7-12 seconds before the site is found. Normally I would blame this on my ISP or connection but Mint, Debian and Windows XP aren't having this problem, they just zip straight to the site whether I've been to it before or not.
Is anybody aware of where the problem might be? It's not in the browser either because Opera, Seamonkey and Firefox all have the same problem issue.
Why would this iptables cause this mail delivery error? I think it's to do with dns lookups not being routed properly... if remove the last rule, mail works fine.
ssh is also very slow to connect when the last rule is enabled.
postfix mail error:
Code: Jan 24 11:32:18 xxxx postfix/smtp[15065]: 9F2162C519: to=<xxxxx@hotmail.com>, relay=none, delay=1005, delays=965/0.01/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) iptables
I'm running 10.10 on an IBM Thinkpad R60 with 3GB RAM. I did a clean install of 9.10 and 10.04, and recently upgraded to 10.10. With all three, I'm noticing mething rather strange; after passing the PC's BIOS screen, I get a flashing cursor for about 20-30 seconds before Ubuntu starts booting. When I did the clean installs, I completely erased the hard drive, so I'm not sure what's causing it. The hard drive activity light is on when this happens, as well. It's very strange, as I have an old Dell Dimension 4550 with a slower hard drive and less RAM than the Thinkpad...yet it boots up faster, with no flashing cursor.
Just re-installed Bodhi. Ran update, dist-update, set up connection and connection still slow or timing out and reporting errors in 'iwconfig'. This is 3rd re-install of this version. Have also tried 3.0 kernel and pae versions of Bodhi. Cannot get this connection up to speed and without errors. Atheros chipset ar9271.
Sorry for weird subject line and opening paragraph. Trying to make it easy to find and browse in case this gets solved and can help someone else. Not being a Linux guru, I can only hope to help others through my mistakes and ignorance.
I followed instructions to update driver listed at Linux Wireless.
In addition to following the directions at Linux Wireless, I also downloaded the GUI Program to install ath9k_htc.
No luck. My connection reports 1M/s and is reporting "invalid misc:" errors in iwconfig.
I'm running Midori browser but apt-get and wget are also downloading slowly.
I'm connecting to a Zyxel 660 series router using WPA/WPA2.
I have a problem in Eclipse for accessing update sites (for plugins). I am behind a NTLM proxy. Strangely, this proxy asks for a password while in Linux but not when in Windows� To get around this annoying password issue, I already setup a working cntlmd proxy. I can use this proxy for mounting a remote DavFS2 share, for example. But the issue I have with Eclipse seems to involve proxy configuration. So I decided a transparent proxy could solve this issue. I installed tinyproxy on top of cntlmd, and added the following rule to the firewall:
Now, I can configure Firefox for direct access to the Internet, and display a web site only if I give this web site's IP instead of its name! I surmise that it's because when configured for direct access, Firefox performs DNS lookups using the local (intranet) DNS, instead of squeezing its lookups through the proxy and accessing a broader DNS (I wonder which). How can I make all DNS lookups go transparently through the transparent proxy?
When I run the host command, it can resolve machines in one.domain.com using both hostname and ipaddress. But when I run the host command for machines in two.domain.com, it only works for hostnames but not ip addresses. The result for ip addresses is:
Host 100.3.2.1.in-addr.arpa not found: 3(NXDOMAIN)
Why doesn't it try the 2nd nameserver in the resolv.conf file when resolving by ip adddress? Reverse pointers are configured for each machine in their respective domain dns servers. O/S is Oracle VM Server 2.2.1 (similar to Red Hat). Kernel is 2.6.18-128.2.1.4.37.el5xen.
I have a CentOS 5.5 desktop at work. I can browse the web (we are behind a proxy of course), I can use Yumex perfectly. In a word, every GUI has DNS working correctly. But, as soon as I use a terminal, either within a X session (xterm, konsole...) or in a tty, any DNS lookup will fail. So for instance, yum does not work as it complains about not being able to find the servers, wget doesn' t work... And if I try a nslookup, I get a NX Domain Fail. I feel like the servers are not doing recursion research when using command line nslookups, even if I "force" the option (adding it even if it is the default). Of course, resolv.conf is OK, host.conf as well...
I know this is a rather too generic thread, but bear with me so I can try to explain it... I use Slackware64-current almost exclusively both at work (95%+ of the time) and at home (all the time! Even the wife has growing tender feelings for Slackware! ).At work, my box is a HP dc5850 microtower (CPU AMD Athlon Dual Core 5200B with 4GiB RAM DDR2). It's a pretty decent work machine. At home, I built from parts an AMD Phenon II X4 965 with 8 GiB RAM DDR3 - it's an awesome machine!
In both computers I have recently installed Slackwarew64-current and have applied the multilib packages from AlienBob (great work, btw!).I'm a Java developer and have created a directoy under /opt for all the software I need for work (JDK, Apache Ant, Apache Tomcat, Apache Maven, etc). All settings are exported in /etc/profile, which is posted here.But, occasionally, I feel the whole system (on either machine) to respond very slowly, like there's some sort of process eating up all resources. Considering what I have "under the hood", that's quite annoying
I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.
Installed 11.04 on my Acer Aspire 5742-6674. It has a Atheros adapter. In my Windows 7 partition, its a AR5B95. But Ubuntu is says its a AR9287. I'm using the ath9k driver, version 2.6.38-8-generic-pae. I tried the following: Code: sudo -s echo "options ath9k nohwcrypt=1" > /etc/modprobe.d/ath9k.conf reboot
Still not working right. My wifi works ok at first...gets slower and slower...and eventually times out on everything. At that point, I have to restart the computer so it can work normally for a short time. Works totally fine when wired. Works totally fine wired or wireless on my Windows 7 partition. Both wired and wireless worked fine when I was using 10.10.
My ADSL router NAT's any computer behind it here at home. I have a PC or two a Sun ultra10 and ultra5 and E450 etc.
The problem is my PC reports via "tcpdump -i eth0" that 22:54:47.035683 IP icute.pelnet.net.50683 > 224.0.0.56.46144: UDP, length 1292 is going on 140 times every second.
How do I prevent this from continuing and why is it happening? If possible I don't want to invoke iptables as my NAT router does a fine firewall job.
I recently started attending University and there is a filesharing hub set up throughout the dorms. I want to connect to it using LinuxDC++ but the connection just continuously times out. I have used DC++ before on Windows and never had any troubles so I am thinking it is something to do with networking in Linux (I have only been using Ubuntu for about a month).
I have my internet connection via a wireless USB adapter and that works fine. Recently I connected my pc (Ubuntu 9.10) through a wired switch to my modified xbox so I can watch my videos in my office. I can share my content with my xbox (except for the items on my external USB HD's - I am working on that and will post that question elsewhere) but when I have my PC's wired connection plugged into the switch I can not surf the web or check email. It gets stuck at resolving host and then times out. If I disconnect the pc from the switch it sometimes connects before it times out. Usually it is quicker if I reboot without the wired intranet connection.
Wrong prefix, its Ubuntu not Lubuntu. Three devices:
Laptop 1: ---Can ssh to any device. ---Accepts any internal ssh.
Desktop 1: ---Can ssh to any device. ---Accepts any internal ssh.
Desktop 2: ---Can ssh to any device. ---Can ssh to itself through localhost or 192.168.1.130. ---Any ssh(and telnet) aimed at this device times out.
All three devices recently had openssh-server installed yet only one seems deviant. I've been trying to ssh into desktop 2 to no avail, yes the machine is reachable, yes sshd is running, yes ufw is disabled, and no there is no external firewall that I know of. Anything else I can try? The router for the LAN being dd-wrt.
I had recently installed Ubuntu 11.04 (64-bit) and I have trouble loading websites. I use a DSL (PPPoE) connection from NetworkManager to connect to the internet. Some sites like this forum site, stack overflow, etc. do not load. Firefox 4 says 'loading...' and then finally times out. I can ping these sites though.
I tried 'wget stackoverflow.com' and Lynx both timed out. wget sends out a request and waits a long time for response before timing out. These sites load perfectly well on my Fedora 14 (64-bit) & Windows XP installations and both these OSes have Firefox 4. From this I assumed that this is not a problem with Firefox (or any other browser for that matter) but it has got something to do with the network configuration.
I faced the same problem with Ubuntu 10.04 too. I use a Dell Inspiron N5010.
I am having a problem with my internet connection. It only works half the time. Usually when i start the computer it doesn't connect until i restart anywhere from 1 - 10 times. I did sudo ifconfig while it was not working here is the output:
When my laptop boots it successfully mounts the NFS NAS and I get an icon "My NAS" on my dekstop that points to the NAS. If I double click on the icon it opens my file browser and I can browse thru my NAS fodlers.
What I see on the left hand side of the file browser is that I have to entries for My NAS. One of it has a button to shows that it is mounted and the other does not.
If I go to Places I also see 2 entries for "My NAS". One of it takes me to browsing the NAS and if I click on the other it says "Unable to mount ... busy or already mounted". Which makes sense.
I have an Ubuntu 11.04 Server set up for my small office whose sole job is to run as a samba file server. The problem is that it randomly hangs. For example, I can connect the clients just fine, however if left idle it tends to take a few moments to work when you try to go back into the shared folder or drive. The client will behave like it is disconnected and is trying to search for the drive only to a few moments later, go right back to normal behavior.
If I ping this server while this is happening my requests will time out for a little while and then just start working. The same thing happens when I try to connect with Putty or through WebMin. One second its unreachable then the next its fine.I have already tried swapping out patch cables (which actually seemed to work for about 2 weeks) and I have patched it to an alternate port on the switch. The only thing I have not done at this time is to change the NIC.All the clients are running Win7 with the exception of two XP machines.Simply put, its like the machine just goes dormant for a while until you ping at it for a while to wake it back up.
My wireless seems to be fast for a good 30secs then bang takes good while to load the next page almost as if it's disconnecting and then reconnecting/scanning reconnecting. Why cant it stay connected. I have WAP PSK security here is my network setting please let me know if I should change any of them:(side not is there a way to fix this problem occuring so frequently it says on the wiki that it should only occur once in a whilce https:[url].....
I'm trying to setup a ssh connection from to my house that way I can learn Linux on a box that won't make my boss the sys admin (Im help desk) grind his teeth. He say that ssh port is allowing connections out of the firewall but not in so I can connect to my house. However If I try to connect to my box I get a message stating that the connection has time out. I have port forwarded the 22 to my box and have even changed the port to see if it is my isp blocking me. I am able to connect via SSH internally but when I try outside my house I am running into trouble. I looked up how to disable my fire wall and as far as I know it is.
I have a WD MyBook World NAS share mounted with the following options (I tried also other options):Code:cifs nouser,atime,auto,rw,nodev,noexec,nosuid,nodfs,nounix,guest,uid=0,gid=0,file_mode=0777,dir_mode=0777The cp -a, touch, etc. commands can change the file time if the root is executing the command (means NAS supports time setting), but as an user I can't change the file time - with an exception of changing the time to the current time. For an illustration see below:
My desktop computer, running 11.04 (fresh install) sometimes can't establish a wired Ethernet connection. Sometimes when I boot, it keeps trying to establish, but with no luck. I keep trying to choose "Auto eth0" from the networking menu, but still, it doesn't succeed. If I reboot, it sometimes works. I can't establish a connection about half the times that I boot.
The computer is connected with a cable to a router ("Belkin Wireless Pre-N router"), and the router is connected with a cable to a cable modem.I've been using Ubuntu for a while, and I've had a problem for the past few versions (since around 10.04)? I thought that it might be some old issue that got resolved, so I did a fresh install of 11.04 today, and still have the same behaviorI'm willing to try things next time I can't get a connection, but don't know what.
I had been manually starting my wireless network with "sudo iwconfig wlan0 essid "my wireless router id". The network would start and work flawlessly for weeks at a time. I can't ask my wife to find the essid in the terminal and then start wireless manually when I'm not here. She hates and fears the terminal. So I downloaded gnome network manager for a point and click interface on gnome panel.The network would start fine but shut down after anywhere from one to six hours. It would then refuse to restart manually or otherwise. I completely uninstalled network manager and tried wicd instead. The same basic problem is happening. The network will restart if I reboot the computer. My system:
Desktop computer acting as proxy server for the internet. Internet connection is by a dial up modem. This computer uses a wireless pci card connected to a dedicated hub. This is for file sharing via nfs. The OS is ubuntu 9.10. My wife's computer sharing the internet using a proxy to my computer. File sharing via nfs and a wireless card. Also running ubuntu 9.10. This same basic system worked flawlessly under Ubuntu Hardy.My desktop was updated recently with new hardware which created the need to move to Ubuntu Karmic. Some hardware was too new for hardy to deal with.
I know questions of the form "wireless not working on <blank>" abound, but here is another! I can't cut and paste since I don't have a connection on the computer I am having trouble with but I will paraphrase the best I can.
iwconfig shows wlan0 up and running, and iwlist scanning shows the router. I used to be able to just run dhcpcd wlan0 and connect, but now I get a
"timed out waiting for a valid DHCP server response"
Same deal running /etc/rc.d/rc.inet1.conf (which might be the new way Slack connects to things).
Not sure if it's important, but I have a little indicator light on my laptop that tells me if wireless is running. Before I try dhcpcd, the light is on. After it times out, the light goes out and I have to redo everything (ifconfig wlan0 up etc....) in order to get the light back on.