LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-29-2011, 11:18 AM   #1
dthims
Member
 
Registered: Mar 2003
Posts: 50

Rep: Reputation: 1
dns causes web pages to open slowly - 10 to 15sec delay


the web page will eventually open up or if i hit refresh

2.6.35.11-83.fc14.i686
bind version 9.7.3

i have disabled ipv6. using ie for browser.

etc/resolv.conf

nameserver 127.0.0.1
nameserver 1.2.3.4 - my isp
nameserver 2.3.4.5 - my isp
options single-request
options timeout:1

zone "." IN {
type hint;
file "named.ca";};

zone "2.168.192.in-addr.arpa." IN {
type master;
file "192.168.2.db";
allow-update { key "rndc-key"; };
notify yes;};

zone "aaa.com." IN {
type master;
file "aaa.db";
allow-update { key "rndc-key"; };
notify yes;
};


options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; localnets;};
recursion yes;

dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;

any help would be appreciated.
 
Old 03-30-2011, 08:18 AM   #2
savona
Member
 
Registered: Mar 2011
Location: Bellmawr, NJ
Distribution: Red Hat / Fedora
Posts: 215

Rep: Reputation: 66
You have all that in your /etc/resolv.conf file?

I would suggest changing your resolv.conf file to read ONLY:

nameserver 1.2.3.4
nameserver 2.3.4.4
 
Old 03-30-2011, 05:08 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
No, that isn't, or shouldn't be resolv.conf. Looks like a config for BIND. Of course, if you did out that in resolv.conf almost anything might happen, as some of it is bound to be syntax errors of various types.

When you have that sorted out, what does 'dig' say?
 
Old 03-30-2011, 08:28 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,440

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
If you want to disable ipv6 properly, remove this line as well
Quote:
listen-on-v6 port 53 { ::1; };
 
1 members found this post helpful.
Old 03-30-2011, 09:14 PM   #5
dthims
Member
 
Registered: Mar 2003
Posts: 50

Original Poster
Rep: Reputation: 1
i tried a lot of combinations before i posted here and commenting out the ipv6 didn't make a difference. i'll keep at it.
 
1 members found this post helpful.
Old 03-30-2011, 09:37 PM   #6
savona
Member
 
Registered: Mar 2011
Location: Bellmawr, NJ
Distribution: Red Hat / Fedora
Posts: 215

Rep: Reputation: 66
Quote:
Originally Posted by dthims View Post
i tried a lot of combinations before i posted here and commenting out the ipv6 didn't make a difference. i'll keep at it.
Did you try my suggestion in post 2?
 
  


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
I cant open internet web pages. tirengarfio Linux - Networking 2 08-01-2009 09:48 AM
MS Publisher html pages for new web pages do not open in firefox, any suggestions?? Bwebman Linux - Newbie 3 06-13-2009 10:35 AM
open php web pages dyool Ubuntu 3 08-19-2006 06:59 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
New Slackware install: Web pages load slowly and oc igmcdermott Linux - Networking 1 08-06-2004 07:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:27 AM.

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