9.10. DNS

Some ISP's require that you use their dns-servers directly, not the one in Skolelinux/Debian-edu.

You can setup forwarding as described in Coyote Linux , I'll repeat it here.

You can either edit the correct file directly, or use Webmin.

In the file /etc/bind/named.conf change the following stanza[1] :

// forwarders {
// By special request from the good people inside the Dept of Education in
// Oslo:
// Dept. of Education in Oslo  end of block
// };

change it to

forward only;
forwarders {
//substitue the address with whatever is appropriate.;

That means removing the comment-slashes in front of "forwarders".

After you have made this change in /etc/bind/named.conf you must restart bind, with

/etc/init.d/bind9 restart


If you use Webmin to do these changes, must must remember to restart bind by using the button labeld "Apply Changes", you find that on the first page of the bind-webminmodule. You can of course also use

/etc/init.d/bind9 restart

You can also do this using Webmin, go to Webmin->Servers->BIND DNS Server->Forwarding and Transfers, or use the url https://tjener.intern:10000/bind/. There you enter your ip-addresses as in the screendump below:

Figure 9-31. Bind forwarder



This is actually a symbolic link to /etc/bind/debian-edu/named-bind9.conf