| Free Software at Schools: Installing and Maintaining a Skolelinux/Debian-edu Network; Based on Debian Sarge, prerelease pr05 | ||
|---|---|---|
| Prev | Chapter 9. Services Out-of-the-Box in Skolelinux/Debian-edu | Next |
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:
// 193.156.192.40;
// 193.156.192.50;
// Dept. of Education in Oslo end of block
// 0.0.0.0;
// };
change it to
forward only;
forwarders {
//substitue the address 10.0.2.1 with whatever is appropriate.
10.0.2.1;
};
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:
| [1] | This is actually a symbolic link to /etc/bind/debian-edu/named-bind9.conf |