Unix Technical Forum

network cutoff

This is a discussion on network cutoff within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Mr.Jason <jaakkochanREMOVETHIS@surfeu.fi> wrote: > Ping said "unknown host" when I tried to ping the server. From server I > ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-20-2008, 09:02 AM
Cichlidiot
 
Posts: n/a
Default Re: network cutoff

Mr.Jason <jaakkochanREMOVETHIS@surfeu.fi> wrote:
> Ping said "unknown host" when I tried to ping the server. From server I
> didnt try to ping outside yet.


Why were you trying to use ping with the domain name when you knew you
were having network problems? Always use the IP address when investigating
networking issues. For example, my ISP gateway router tends to go down on
occasion. When my connection dies, I don't try to "ping gateway.blah", I
try to "ping -n x.x.x.x", where x.x.x.x is the gateway's IP address.

I'm beginning to wonder if this is all about DNS problems and the server
itself was fine all along. Also, as for tcpdump and the like, make sure to
use the -n option (no DNS lookup) or you're just going to be waiting
forever for it to try to reverse resolve IP address if the problem is a
DNS one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-20-2008, 09:03 AM
Grant Coady
 
Posts: n/a
Default Re: network cutoff

On Fri, 3 Jun 2005 20:16:51 +0000 (UTC), Cichlidiot <fishlover@nospam.invalid> wrote:

> Mr.Jason <jaakkochanREMOVETHIS@surfeu.fi> wrote:
> > Ping said "unknown host" when I tried to ping the server. From server I
> > didnt try to ping outside yet.

.. . .
> I'm beginning to wonder if this is all about DNS problems and the server
> itself was fine all along. Also, as for tcpdump and the like, make sure to
> use the -n option (no DNS lookup) or you're just going to be waiting
> forever for it to try to reverse resolve IP address if the problem is a
> DNS one.


Agree, I had much DNS problems switching to ADSL last year and then
putting modem into bridge (transparent) mode for full firewall control,
now it 'just works' except for the odd lookup retry needed during busy
times when nameservers overloaded.

I run dnsmasq now, improves things much. Tried adding more nameservers,
not worth the effort.

One thing that did improve nameserver access was to tell dnsmasq use
specific outgoing port for DNS queries, this fools iptables into seeing
UDP query traffic as single port data stream, thus 'pretend' connection
timer extended from 30 to 180 (I think) seconds so delayed replies from
busy nameservers get back in as ESTABLISHED,RELATED traffic.

--Grant.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com