LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2008, 02:39 AM   #1
jwals
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
DNS (Non authoritive Issue) - Websites load very slowly


We have an issue with websites load very slowly in a new server (centos) and we recieve an email from the server stating the following:

IMPORTANT: Do not ignore this email.
The hostname (ns.domain.com) resolves to . It should resolve to
xx.xxx.xxx.90. Please be sure to correct /etc/hosts as well as the 'A'
entry in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if
you believe everything else is correct.


You may be able to automaticly correct this problem by using the ' Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager



and when we restart "DNS Server (BIND)" or "named" we get as part of the output the following:

view localhost_resolver: received notify for zone 'domain.com': not authoritative

Please find below the contents of /etc/hosts , /etc/resolv.conf and /etc/sysconfig/network:

/etc/hosts:

::1 localhost6.localdomain6 localhost6
# Do not remove the following line, or various programs
# that require network functionality will fail.
XX.xxx.xxx.90 ns.domain.com ns
127.0.0.1 localhost


/etc/resolv.conf :

#domain domain.com
#search domain.com
#nameserver 127.0.0.1
nameserver xx.xxx.xxx.92
nameserver xx.xxx.xxx.93


/etc/sysconfig/network:

NETWORKING=yes
NETWORKING_IPV6=yes
GATEWAY=xx.xxx.xxx.xx
HOSTNAME=ns.domain.com
DOMAINNAME=domain.com


So what could be wrong with the above settings?
 
Old 01-12-2008, 09:41 AM   #2
jwals
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Anybody?

 
Old 01-12-2008, 10:02 AM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Dear jwals. This forum has autobump feature. By replying to your own post you decrease your chances to get help, this thread will not show up as a zero-reply thread any more.
 
Old 01-12-2008, 10:17 AM   #4
jwals
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Emerson View Post
Dear jwals. This forum has autobump feature. By replying to your own post you decrease your chances to get help, this thread will not show up as a zero-reply thread any more.
Thanks for your advise but what should I do? This is what everybody do in any other forums !!!
 
Old 09-03-2008, 03:00 PM   #5
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 545

Rep: Reputation: 33
Did you ever find out a solution?
I have dns question and stumbled across your thread.
 
Old 09-03-2008, 03:22 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,603
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

Try using or adding additional DNS to your '/etc/resolv.conf'.
You can use third level DNS;

Code:
sample '/etc/resolv.conf';

search 192.168.1.1     

nameserver 207.179.200.2     #ISP DSN
nameserver 207.179.200.25    #ISP DNS
nameserver 207.179.200.10    #ISP DNS
nameserver 4.2.2.1           #Verizon third level DNS
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4
EDIT: If the placement of the third level DNS solve the issue then your original DNS is not setup properly.

Last edited by onebuck; 09-03-2008 at 03:23 PM. Reason: add relpy
 
Old 09-03-2008, 03:33 PM   #7
popowich
Member
 
Registered: Nov 2004
Location: Rochester, New York
Distribution: RHEL5
Posts: 53

Rep: Reputation: 15
Hello,

If you do not edit the information we can better assist.

Please do not change the domain name or IP addresses you are having a problem with.

It's confusing trying to read sanitized information.

-Raymond
 
Old 09-03-2008, 03:39 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by popowich View Post
Hello,

If you do not edit the information we can better assist.

Please do not change the domain name or IP addresses you are having a problem with.

It's confusing trying to read sanitized information.

-Raymond
Very true when DNS or mail servers are involved.
It's hard to spot a DNS configuration error if you can't query the actual data.
 
  


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
Websites load slow, but once they load, any links inside them load fast smurcoch Mandriva 3 02-06-2006 01:47 AM
iptables - cannot load certain websites Booster Linux - Networking 3 01-31-2006 11:52 PM
Programs load very slowly! sdat1333 Mandriva 6 11-24-2004 03:41 PM
New Slackware install: Web pages load slowly and oc igmcdermott Linux - Networking 1 08-06-2004 08:21 AM
iptables causing Gnome 2.2 to load slowly for non-root user SocialParasite Linux - Security 2 07-08-2003 11:10 PM


All times are GMT -5. The time now is 03:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration