Re: network traffic etherealed, need your help on the records (LONG)
From: David Efflandt (efflandt_at_xnet.com)
Date: 08/31/03
- Next message: David Efflandt: "Re: wireless channel bonding"
- Previous message: Derek: "slow name resolution in Mandrake 8.2, any ideas whats wrong?"
- In reply to: Wenjie: "Re: network traffic etherealed, need your help on the records (LONG)"
- Next in thread: Wenjie: "Re: network traffic etherealed, need your help on the records (LONG)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Aug 2003 05:26:57 +0000 (UTC)
On 30 Aug 2003 19:56:40 -0700, Wenjie <gokkog@yahoo.com> wrote:
> My friends told me that they cannot ping or access (my website) with my
> public IP. I understand if they use the website name they will have problems
> owing to the bad DNS queries and also my local settting, but why they
> cannot access the IP? For me it is most important to let me friends to
> access the website ASAP. Do you think a local DNS server will help?
Is your firewall blocking ping? Does your ISP block incoming port 80.
Local DNS is not going to help if they cannot access you by IP.
> In another thread, I got hints that my slowing startup of applications
> under KDE/Redhat8 may be caused by a bad FQDN. Do you think that there
> is a simple way to check the FQDN without a DNS server? (I use dynamic
> DNS service for my website, and I did modified /etc/hosts /etc/sysconfig/network
> to reflect the webiste name--IP mapping).
It is best not to alter the 127.0.0.1 line. Either assign hostname or
aliases to your nic IP, or an extra loopback IP like 127.0.0.2.
To see if your hostname resolves from gethostbyname (instead of just DNS)
try this Perl script (call it gethost, run it as ./gethost your_hostname):
#!/usr/bin/perl -w
use Socket;
use strict;
my ($host,$ip,$rhost);
if ($ARGV[0]) {
$host = shift @ARGV;
} else {
die "Enter host you want to resolve on commandline\n";
}
print "Looking up: $host\n";
$ip = join(".",unpack("C4",scalar gethostbyname($host)));
print "IP: $ip\n";
$rhost = gethostbyaddr(inet_aton($ip), AF_INET);
print "Reverse lookup: $rhost\n";
> I may have a bad NIC, but why could I access some websites quickly and
> also my website with my LAN?!
Your IP has no name so that could cause some DNS delays trying to resolve
your connecting IP. Although, that is not usually a problem for web
servers unless they have access controls based on hostnames.
> In summary, I agree that it is likely I had a bad DNS configured. As my
> first aim is to let my friends see my website ASAP, which concrete means
> should I embark on?
See if they can traceroute to your IP (check firewall logs). Set up
apache on a different port and see if they can access it with that port in
URL.
-- David Efflandt - All spam ignored http://www.de-srv.com/ http://www.autox.chicago.il.us/ http://www.berniesfloral.net/ http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
- Next message: David Efflandt: "Re: wireless channel bonding"
- Previous message: Derek: "slow name resolution in Mandrake 8.2, any ideas whats wrong?"
- In reply to: Wenjie: "Re: network traffic etherealed, need your help on the records (LONG)"
- Next in thread: Wenjie: "Re: network traffic etherealed, need your help on the records (LONG)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|