Im install bind9.8 cache recursion in ubuntu16.04 whet i dig @ google.com it answer quickly

;; Query time: 0 msec
;; WHEN: Sun Oct 08 23:06:50 IRST 2017
;; MSG SIZE  rcvd: 191

when query over network its very slow

dig @ google.com
;; Query time: 3597 msec
;; WHEN: Sun Oct 08 23:08:42 IRST 2017
;; MSG SIZE  rcvd: 191

How can i troublshooting this delay

1 Answer 1


First you do not compare two equivalent things, in first case you query nameserver and in second case it is

You should have a look at your log files, examine the forward directives you have in your bind configuration, and if not sufficient you will need to sniff your network to see what happens with your DNS packets.

  • my problem is load over network and i don no howto resolve and toubleshoot. Service is ok and response fast locally but over network is too slow. Oct 13, 2017 at 3:07
  • Please read my answer for troubleshooting tips. Oct 13, 2017 at 3:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.