LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 01: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, 08:41 AM   #2
jwals
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Anybody?

 
Old 01-12-2008, 09:02 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,513

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, 09: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, 02:00 PM   #5
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
Did you ever find out a solution?
I have dns question and stumbled across your thread.
 
Old 09-03-2008, 02:22 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,862
Blog Entries: 41

Rep: Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041Reputation: 3041
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 02:23 PM. Reason: add relpy
 
Old 09-03-2008, 02:33 PM   #7
popowich
Member
 
Registered: Nov 2004
Location: Rochester, New York
Distribution: RHEL7
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, 02:39 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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 12:47 AM
iptables - cannot load certain websites Booster Linux - Networking 3 01-31-2006 10:52 PM
Programs load very slowly! sdat1333 Mandriva 6 11-24-2004 02:41 PM
New Slackware install: Web pages load slowly and oc igmcdermott Linux - Networking 1 08-06-2004 07:21 AM
iptables causing Gnome 2.2 to load slowly for non-root user SocialParasite Linux - Security 2 07-08-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 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
Open Source Consulting | Domain Registration