Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • yes, i was testing now i set the recursion to yes, when i add 8.8.8.8 in resolv.conf everything starts working, But administrator is saying it should not use 8.8.8.8 Commented Mar 22, 2020 at 13:24
  • resolv.conf is what your system consults to decide what DNS server to use. When you add 8.8.8.8 to that it means you're using google's open DNS server rather than your own. This is why I said to use dig rather than ping to diagnose DNS server issues. Commented Mar 22, 2020 at 13:25
  • Ok i will replace 8.8.8.8 with the dns server's ip in resolv.conf which in this case is localhost where bind is configured Commented Mar 22, 2020 at 13:31
  • When you do, run the dig command like I demonstrated, and add the output to the question. Commented Mar 22, 2020 at 13:32
  • i removed "8.8.8.8" and added "nameserver 127.0.0.1 and nameserver 192.168.161.1" but it didnt resolve it, i added output at end of question Commented Mar 22, 2020 at 13:50