LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-17-2012, 07:29 AM   #1
nekopa
LQ Newbie
 
Registered: Nov 2005
Location: Near Prague, Czech Republic
Distribution: Slackware 14
Posts: 4

Rep: Reputation: 0
Slack64 14 Can't connect to website sub domains (intermittent problem)


Hi all,
I am having a strange problem which crops up now and then. I am connected to the internet, and can reach websites ok, but sometimes I can't get through to subdomains. For example, if I browse the NY Times site, I get all the info on the main page (nytimes.com) but with no formatting because the css for it is on a subdomain (css.nyt.com). Other sites which have content on subdomains come up "Server not found" (e.g. safaribooksonline.com is fine, but I can't access my.safaribooksonline.com)

Sometimes if I open a terminal window and ping the site or do an nslookup on it, it works, and then if I try to browse the site again it will work. But at other times ping can't find the site, and nslookup returns this error:

nslookup css.nyt.com
;; Truncated, retrying in TCP mode.
;; Connection to 192.168.1.1#53(192.168.1.1) for css.nyt.com failed: connection refused.

I have tried various browsers (firefox, opera, konqueror, lynx) and I am fairly sure it is not my wifi router and other computers in the house work fine (iPad, windows machine, and this laptop when I boot into windows)

So where should I start looking to find out what is going on?

(my laptop is an Acer 5542g, 4GB ram, 500GB HDD, ati mobile radeon graphics card, dual-booting win7 and slackware64 14 using lilo and EasyBCD)

Cheers for any ideas
 
Old 11-17-2012, 08:49 AM   #2
freelinuxtutorials
Member
 
Registered: Oct 2009
Posts: 68

Rep: Reputation: 21
seems like a DNS config?what's your /etc/resolv.conf ?
 
Old 11-17-2012, 11:17 AM   #3
nekopa
LQ Newbie
 
Registered: Nov 2005
Location: Near Prague, Czech Republic
Distribution: Slackware 14
Posts: 4

Original Poster
Rep: Reputation: 0
Here it is:

# Generated by NetworkManager
nameserver 192.168.1.1


Why would this make the problem come and go?

Just to add more info: The problem comes and goes even without a reboot. When I started this thread, I couldn't get through to any subdomains, now they are working again.

Last edited by nekopa; 11-17-2012 at 11:31 AM. Reason: Added more info about the problem
 
Old 12-09-2012, 12:51 PM   #4
nekopa
LQ Newbie
 
Registered: Nov 2005
Location: Near Prague, Czech Republic
Distribution: Slackware 14
Posts: 4

Original Poster
Rep: Reputation: 0
I found that appending this to the end of resolve.conf fixed the problem:

nameserver 208.67.222.222
nameserver 208.67.220.220

These are the domain servers from the openDNS free dns servers.

Apparently the problem was that if the UDP packets are too large, the system tries to switch over to TCP, but my router doesn't have DNS over TCP setup. The reason windows is fine with the situation is that it ignores the fact that UDP packets are too large and tries to go with the info it has received anyway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Squid 3.1.12 to connect to multiple domains. prashantbs Linux - Server 1 05-23-2011 10:12 PM
My ssh isn't working for some domains (VPN), but Virtualbox can connect Bjorne Linux - Networking 3 01-07-2011 10:35 AM
ssh connect to systems using hostname which are exist in different domains nagendrar Linux - Newbie 8 12-08-2009 07:01 AM
[SOLVED] Slack64 -current, KDE4, and intermittent DNS outages Crashbox Slackware 9 08-21-2009 08:53 PM
intermittent failure winPC connect internet thru ipmasq linux gateway takahaya Linux - Networking 0 05-13-2005 07:35 PM


All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration