Networking Forums

Networking Forums > Computer Networking > Linux Networking > save my FQDN (redhat 8.0)

Reply
Thread Tools Display Modes

save my FQDN (redhat 8.0)

 
 
Wenjie
Guest
Posts: n/a

 
      08-31-2003, 03:30 AM
Hello,


Recently I experienced a slowing startup of KDE applications.
Even worse, my friends cannot ping my public IP or access the
www.mywebsite.com.

I checked the validity of my router, adsl modem and
they are OK. For my NIC, I suspect it is not good but I have
no data supporting my judgement, the browsing of some website
is not slow, and I can access my website quickly from within
the LAN. So I would think that my FQDN is bad.

Owing to the configuration of a dynamic DNS for my website,
maybe I unnecessarily did some bad thing(s):

/etc/hosts:
127.0.0.1 localhost.localdomain localhost
61.170.245.55 www.mywebsite.com mywebsite.com

/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=www.mywebsite.com

/etc/resolv.conf:
domain mywebsite.com
search mywebsite.com
nameserver IP_OF_ISP_NAME_SERVER
nameserver NAME_OF_DYNAMIC_DNS_PROVIDER_NAME_SERVER

/etc/host.conf
order hosts,bind
multi on

I have also made changes to my sendmail configurations
related to domain, but that shouldn't impact the problems
here, I think.


Your input are highly appreciated!
Wenjie
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      08-31-2003, 06:24 AM
In comp.os.linux.misc Wenjie <(E-Mail Removed)> wrote:
> So I would think that my FQDN is bad.


Did you changed it?

> Your input are highly appreciated!


What ifconfig returns?

Davide
 
Reply With Quote
 
Wenjie
Guest
Posts: n/a

 
      08-31-2003, 12:10 PM
Davide Bianchi <(E-Mail Removed)> wrote in message news:<bis4ac$c98cf$(E-Mail Removed)>...
> In comp.os.linux.misc Wenjie <(E-Mail Removed)> wrote:
> > So I would think that my FQDN is bad.

>
> Did you changed it?


Yes. There are some improvement. I believe I did something wrong
with my configurations. My ISP also contribute to the disaster.
BTW, if I change something in /etc/hosts, should I restart apache
or the network interface?

>
> > Your input are highly appreciated!

>
> What ifconfig returns?


eth0 Link encap:Ethernet HWaddr 00:05:5D:6D:60:BB
inet addr:192.168.123.1 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9149 errors:0 dropped:0 overruns:0 frame:0
TX packets:10475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3721704 (3.5 Mb) TX bytes:4723843 (4.5 Mb)
Interrupt:5 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:180 errors:0 dropped:0 overruns:0 frame:0
TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:120478 (117.6 Kb) TX bytes:120478 (117.6 Kb)


>
> Davide


Thanks,
Wenjie
 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      08-31-2003, 01:06 PM
In comp.os.linux.misc Wenjie <(E-Mail Removed)> wrote:
> BTW, if I change something in /etc/hosts, should I restart apache
> or the network interface?


No.
BTW, If 61.170.245.55 is your external IP, it works. I just checked and
it can be reached from outside. So, if you have a problem is in the
DNS resolution.

Davide
 
Reply With Quote
 
Wenjie
Guest
Posts: n/a

 
      08-31-2003, 01:21 PM
>So, this is the IP of your machine, you should have NAT enabled to
>translate this address into your fixed IP, and somewhere a DNS to
>translate www.yourdomain.com into the same fixed IP.


Now gethostbyname() and gethostbyaddr() works fine. Does it mean
my NAT is OK (Or probably I should understand NAT firstly)? I do
set the forwarding rule for 80 port in my router.

>
>It looks like your NAT doesn't work correctly or the DNS
>conversion isn't working.


Today some of my friends can access the website. My only modification
signicant is add my_public_ip www.mywebsitename.com entry in the
/etc/hosts? Does it really matter to the outside?

>
>First check if the NAT works, then the DNS. After all, check if
>your ISP block your port 80 or something.
>

How to check NAT? BTW, I got a long traceroute output for my website.
What could it imply?


>Davide
>
>No.
>BTW, If 61.170.245.55 is your external IP, it works. I just checked and
>it can be reached from outside. So, if you have a problem is in the
>DNS resolution.


Cool. How could you get that? my website is www.dayspot.com, it had
ever been hacked by somebody (web authentication: viking input password).

I have some ethereal records and it seems my ISP's name server has
problems to query my website name (to the dynamic DNS server).

>
>Davide
>

~

Thank You Davide. I have another thing not understood, my route output
is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.123.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.123.254 0.0.0.0 UG 0 0 0 eth0

Why it is not 192.168.123.1 which is my private IP configured? Is there
any problem?


Best regards,
Wenjie
 
Reply With Quote
 
Ed Murphy
Guest
Posts: n/a

 
      08-31-2003, 04:22 PM
On Sun, 31 Aug 2003 06:21:43 -0700, Wenjie wrote:

>>BTW, If 61.170.245.55 is your external IP, it works. I just checked and
>>it can be reached from outside. So, if you have a problem is in the
>>DNS resolution.

>
> Cool. How could you get that? my website is www.dayspot.com, it had
> ever been hacked by somebody (web authentication: viking input password).


By going to http://61.170.245.55/

> Thank You Davide. I have another thing not understood, my route output
> is:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.123.0 * 255.255.255.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default 192.168.123.254 0.0.0.0 UG 0 0 0 eth0
>
> Why it is not 192.168.123.1 which is my private IP configured? Is there
> any problem?


What part are you expecting to be 192.168.123.1? Why are you
expecting that? What do you think would work differently if
it was what you expect?

 
Reply With Quote
 
Wenjie
Guest
Posts: n/a

 
      08-31-2003, 11:31 PM
"Ed Murphy" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)> ...
> On Sun, 31 Aug 2003 06:21:43 -0700, Wenjie wrote:
>
> >>BTW, If 61.170.245.55 is your external IP, it works. I just checked and
> >>it can be reached from outside. So, if you have a problem is in the
> >>DNS resolution.

> >
> > Cool. How could you get that? my website is www.dayspot.com, it had
> > ever been hacked by somebody (web authentication: viking input password).

>
> By going to http://61.170.245.55/


Perhaps I disclosed the IP somewhere. Or you can just get the IP from
my ifconfig output?


>
> > Thank You Davide. I have another thing not understood, my route output
> > is:
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 192.168.123.0 * 255.255.255.0 U 0 0 0 eth0
> > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> > default 192.168.123.254 0.0.0.0 UG 0 0 0 eth0
> >
> > Why it is not 192.168.123.1 which is my private IP configured? Is there
> > any problem?

>
> What part are you expecting to be 192.168.123.1? Why are you
> expecting that? What do you think would work differently if
> it was what you expect?


I don't quite understanding the routing table. I would think
192.168.123.0 is 192.168.123.1, but it seems not reasonable.
You already see my lacking of knowledge, could you explain the
destination section?

Thanks!
Wenjie
 
Reply With Quote
 
Peter T. Breuer
Guest
Posts: n/a

 
      09-01-2003, 07:45 AM
In comp.os.linux.misc Ed Murphy <(E-Mail Removed)> wrote:
> On Sun, 31 Aug 2003 16:31:30 -0700, Wenjie wrote:


>>> > Cool. How could you get that? my website is www.dayspot.com, it had
>>> > ever been hacked by somebody (web authentication: viking input password).
>>>
>>> By going to http://61.170.245.55/

>>
>> Perhaps I disclosed the IP somewhere.


> Yes, when you posted the contents of your /etc/hosts file.


> I believe the canonical basis of /etc/hosts is the following:


> 127.0.0.1 localhost
> 127.0.0.2 foo foo.dayspot.com


That's the wrong way round. It should be

127.0.0.2 foo.dayspot.com foo

(foo.dayspot.com is the canonical name).

I have no other comment!

Peter
 
Reply With Quote
 
Wenjie
Guest
Posts: n/a

 
      09-01-2003, 12:05 PM
(E-Mail Removed) (Wenjie) wrote in message news:<(E-Mail Removed). com>...
> Hello,
>
>
> Recently I experienced a slowing startup of KDE applications.
> Even worse, my friends cannot ping my public IP or access the
> www.mywebsite.com.
>
> I checked the validity of my router, adsl modem and
> they are OK. For my NIC, I suspect it is not good but I have
> no data supporting my judgement, the browsing of some website
> is not slow, and I can access my website quickly from within
> the LAN. So I would think that my FQDN is bad.
>
> Owing to the configuration of a dynamic DNS for my website,
> maybe I unnecessarily did some bad thing(s):
>
> /etc/hosts:
> 127.0.0.1 localhost.localdomain localhost
> 61.170.245.55 www.mywebsite.com mywebsite.com
>
> /etc/sysconfig/network:
> NETWORKING=yes
> HOSTNAME=www.mywebsite.com
>
> /etc/resolv.conf:
> domain mywebsite.com
> search mywebsite.com
> nameserver IP_OF_ISP_NAME_SERVER
> nameserver NAME_OF_DYNAMIC_DNS_PROVIDER_NAME_SERVER
>
> /etc/host.conf
> order hosts,bind
> multi on
>
> I have also made changes to my sendmail configurations
> related to domain, but that shouldn't impact the problems
> here, I think.
>
>
> Your input are highly appreciated!
> Wenjie



Many thanks to all of you.

I summarize what I am doing now on redhat8.0, I have a website
named as www.dayspot.com, registered with dynamic DNS service.
Hopefully it is right and accurate:

/etc/hosts:
127.0.0.1 localhost localhost.localdomain
127.0.0.2 blanche.dayspot.com blanche

/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=blanche

/etc/resolv.conf
domain dayspot.com
search dayspot.com
nameserver IP1_FROM_MY_ISP
nameserver IP2_FROM_MY_ISP

/etc/host.conf
order hosts,bind
multi on


BTW, I still don't understand the following routing table,
but it seems to work:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.123.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.123.254 0.0.0.0 UG 0 0 0 eth0


I would say that my ISP has a slow DNS server now. That's
another part of the problem contributing to some confusing
data.


See you later,
Wenjie
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need for FQDN? Matt Linux Networking 14 09-18-2009 03:28 AM
FQDN Wambat Windows Networking 3 03-05-2007 10:13 PM
Can't get PCI Network Card to Work - Knoppix 4.0.2/Redhat 7.2/Redhat 8.0 deja@chronofish.com Linux Networking 0 11-20-2005 05:02 PM
FQDN Doug Laidlaw Linux Networking 5 11-24-2004 02:26 AM
FQDN's don't, but IP#'s do! Whizzer Windows Networking 2 10-31-2003 12:57 PM



1 2 3 4 5 6 7 8 9 10 11