no internet connection because of dns bad config

So I tried to setup my dns server using bind. But when I restart the machine it can’t connect to internet! So what’s the problem?

I’m pretty sure it can “connect” but it cannot resolve any addresses. When you connect, try pinging 8.8.8.8, if it works you can ping the Google’s DNS so the network connection is fine.

However, if you configured your own nameserver and pointed your system to it, you must also setup forwarders so it’ll query foreign DNS entries that the server cannot resolve on its own, for example:


forwarders { 8.8.8.8; 8.8.4.4; };

Recommend using YAST to configure your DNS

zypper in yast2-dns-server

TSU

Ok I’ll try it