Hello. I have a BIND 9.2.3 DNS server on my network that is responding slowly...
as you can see below the queries are taking like 4 seconds. this server has an AT&T public IP routed directly to our AT&T managed cisco that has 3 T1's loadbalanced. of course, once the server does actually perform the lookup, the lookup is cached and the same lookup is instant afterwards. i just don't know why the initial lookup of a new domain is taking so long. i use shorewall firewall and i have turned it off for testing....same results running or not running..slow.
when i SSH into the linux server i can do an nslookup for a domain against the server itselft like, nslookup www.somedomain.gom
12.xx.xxx.xxx //that is my servers ip. so it queries itself but takes several seconds to get the lookup. what could be causing this? anyone have any idea what this could be or any resolution??
my resolv.conf is this:
nameserver 12.xx.xxx.xxx //primary
nameserver 12.xx.xxx.xxx //secondary
here is /etc/hosts:
12.xx.xxx.xxx zeus.xxxx.com zeus
it's odd because my other dns server (a windows box) is not like this...the responses are instant and i hate that a windows box is outperforming my linux box for dns lookups! :)
here is an example DIG:
; <<>> DiG 9.2.3 <<>> @12.xx.xxx.xxx www.mylinks.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14334
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
. IN A
;; ANSWER SECTION:
. 10800 IN A 22.214.171.124
;; AUTHORITY SECTION:
mylinks.com. 10800 IN NS ns2.internetsource.com.
mylinks.com. 10800 IN NS ns1.internetsource.com.
;; Query time: 4106 msec
;; SERVER: 12.xx.xxx.xxx#53(12.xx.xxx
;; WHEN: Thu Jun 1 09:27:58 2006
;; MSG SIZE rcvd: 100