Slow dns resolutions. Slow initial connection

Hey guys..
First time poster, first time problem.. lol.

I have a problem where the initial connect to my servers usually takes around 4 seconds. Once the dns is stored locally, it works fine and loads fast. But that first connect is always the problem.

I'm running Linux Redhat Enterprise 3.o
Bind etc.
Setup my own dns.. Can't figure it out.

dig example:
root@panicker [/var/named]# dig @ns2.theplanet.com instagator.com

; <<>> DiG 9.2.4 <<>> @ns2.theplanet.com instagator.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50328
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;instagator.com. IN A

;; ANSWER SECTION:
instagator.com. 14400 IN A 69.93.194.213

;; AUTHORITY SECTION:
instagator.com. 14400 IN NS ns1.instagator.com.
instagator.com. 14400 IN NS ns2.instagator.com.

;; Query time: 4482 msec <<<<<<<<<<<<<<<<<<<<<<<<<<
;; SERVER: 12.96.160.115#53(ns2.theplanet.com)
;; WHEN: Wed Nov 30 03:27:44 2005
;; MSG SIZE rcvd: 84

See that.. 4.4 seconds.. now once it does go through, it drops to 30ms... which doesn't make sense.. I can't figure out what is wrong with the dns on my server.

Any help would be appreciated

 

 

 

 

Top