Slow DNS Help?

brendanb

Verified User
Joined
Jun 29, 2009
Messages
23
Hi,

Im developing a new site and ive been using firebug to checkout a few things. One thing i noticed that to me it looks like dns is very slow.

If you look at the attached image, you can see it takes over 1 sec to resolve file.

Im not sure if thats how it should be, but i would have though that since the server is a dedicated box the dns lookup would be well under 1 second.

Any suggestions woudl be great

thank yo
 

Attachments

  • dns-lookup-slow-a.jpg
    dns-lookup-slow-a.jpg
    252.5 KB · Views: 274
Hi,

Just another thought.

It looks to me i dont have a reverse dns for our main site. If i undertstand correctly i need to contact my ISP/Hosting company and ask to add this? Is this correct?

Code:
IP Information - 122.201.100.204
IP address:                     122.201.100.204
Reverse DNS:                    [No reverse DNS entry per dns30.turboservers.com.au.]
Reverse DNS authenticity:       [Unknown]
ASN:                            9512
ASN Name:                       NETLOGISTICS-AU-AP (Net Logistics Pty. Ltd.)
IP range connectivity:          3
Registrar (per ASN):            APNIC
Country (per IP registrar):     AU [Australia]
Country Currency:               AUD [Australia Dollars]
Country IP Range:               122.201.64.0 to 122.201.127.255
Country fraud profile:          Normal
City (per outside source):      Sydney, New South Wales
Country (per outside source):   AU [Australia]
Private (internal) IP?          No
IP address registrar:           whois.arin.net
Known Proxy?                    No
Link for WHOIS:                 122.201.100.204
 
hey floyd,

sorry. wrong domain i posted above. its getstuff.com.au

thanks for your post
 
365 msec. Looks like the problem is with your own network or isp.

Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> getstuff.com.au
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57895
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;getstuff.com.au.               IN      A

;; ANSWER SECTION:
getstuff.com.au.        14400   IN      A       122.201.100.204

;; Query time: 365 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Aug 22 08:37:00 2010
;; MSG SIZE  rcvd: 49

But you do need to contact your host about the PTR record.

Code:
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> -x 122.201.100.204
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5031
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;204.100.201.122.in-addr.arpa.  IN      PTR

;; AUTHORITY SECTION:
100.201.122.in-addr.arpa. 86400 IN      SOA     dns30.turboservers.com.au. karthick.netlogistics.com.au. 2006112632 86400 6800 3600000 86400

;; Query time: 206 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Aug 22 08:38:02 2010
;; MSG SIZE  rcvd: 129
 
thanks floyd,

I can deal with the second part, reverse lookup, but ive done some readon on using dig, but i dont undertsna what the issue is with your first point. I dont see anything incorrect. Or maybee im not reading the information correctly.

Im in need of some help on trying to work out why my dns lookups are slow.

ta
 
I don't know what program you're using, or on which machine your DNS lookups are slow.

Do you mean from your desktop? Or from your server? If your desktop, you're on your own, but you may need to check to make sure you're using the best local resolving nameservers. If you mean from your server, then check your upstream network provider to make sure you've got the right resolving nameservers in your resolv.conf file.

Jeff
 
thanks floyd,

I can deal with the second part, reverse lookup, but ive done some readon on using dig, but i dont undertsna what the issue is with your first point. I dont see anything incorrect. Or maybee im not reading the information correctly.

Im in need of some help on trying to work out why my dns lookups are slow.

ta

Code:
;; Query time: 365 msec

It only took 365 msec for me to query your dns server for getstuff.com.au. Your server dns is not slow.
 
Even more an indicator that DNS is not slow is when I do a dig directly on your nameserver I get almost exactly the same time as when I ping your server.

There's nothing wrong with your DNS server.

Jeff
 
As you can see I use Google's resolvers. But I don't think brendanb cares anymore.
 
Back
Top