LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   dns causes web pages to open slowly - 10 to 15sec delay (https://www.linuxquestions.org/questions/linux-server-73/dns-causes-web-pages-to-open-slowly-10-to-15sec-delay-871745/)

dthims 03-29-2011 11:18 AM

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.

savona 03-30-2011 08:18 AM

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

salasi 03-30-2011 05:08 PM

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?

chrism01 03-30-2011 08:28 PM

If you want to disable ipv6 properly, remove this line as well
Quote:

listen-on-v6 port 53 { ::1; };

dthims 03-30-2011 09:14 PM

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.

savona 03-30-2011 09:37 PM

Quote:

Originally Posted by dthims (Post 4309107)
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?


All times are GMT -5. The time now is 07:23 PM.