[CentOS] Bind on Centos4

Wed May 11 21:53:10 UTC 2005
Tony Wicks <tonyw at tonyw.com>

Hi all, I have an issue with bind on Centos 4, I recently migrated one 
of my dns servers to a Centos 4 machine from a Centos 3 machine. The 
Centos 4 machine is running chroot, apart from that the configs were 
identical (both have caching-nameserver removed). The Centos 4 machine 
is very slow at initial lookups -

[root at host3 ~]# dig hotmail.com

; <<>> DiG 9.2.4 <<>> hotmail.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32011
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 5

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

;; ANSWER SECTION:
hotmail.com.            3600    IN      A       64.4.33.7
hotmail.com.            3600    IN      A       64.4.32.7

;; AUTHORITY SECTION:
hotmail.com.            172795  IN      NS      ns4.msft.net.
hotmail.com.            172795  IN      NS      ns5.msft.net.
hotmail.com.            172795  IN      NS      ns1.msft.net.
hotmail.com.            172795  IN      NS      ns2.msft.net.
hotmail.com.            172795  IN      NS      ns3.msft.net.

;; ADDITIONAL SECTION:
ns1.msft.net.           172800  IN      A       207.46.245.230
ns2.msft.net.           172800  IN      A       64.4.25.30
ns3.msft.net.           172800  IN      A       213.199.144.151
ns4.msft.net.           172800  IN      A       207.46.66.75
ns5.msft.net.           172800  IN      A       207.46.138.20

;; Query time: 3789 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 12 09:48:07 2005
;; MSG SIZE  rcvd: 239

[root at host3 ~]#

whereas a Centos 3.4 machine on the same subnet is running fine -

[root at host12 named]# dig hotmail.com

; <<>> DiG 9.2.4 <<>> hotmail.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60042
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 0

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

;; ANSWER SECTION:
hotmail.com.            3600    IN      A       64.4.33.7
hotmail.com.            3600    IN      A       64.4.32.7

;; AUTHORITY SECTION:
hotmail.com.            99323   IN      NS      ns1.msft.net.
hotmail.com.            99323   IN      NS      ns2.msft.net.
hotmail.com.            99323   IN      NS      ns3.msft.net.
hotmail.com.            99323   IN      NS      ns4.msft.net.
hotmail.com.            99323   IN      NS      ns5.msft.net.

;; Query time: 169 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 12 09:51:39 2005
;; MSG SIZE  rcvd: 159

[root at host12 named]#

Has anyone got any ideas ?

thanks