or Why I love Gentoo
In further attempts to circumvent this lousy Sky branded home router (from Netgear), I’ve now setup a DNS caching server on juniper. It also serves as an authoritative server for the local network.
Installation was fairly painless, and gentoo helped find the bits of config that I didn’t know how to fiddle with. Gentoo provides the tools, and literally shows you how to install new software from scratch. Furthermore, once you have compiled and installed code, it can give you a leg up to configure, run and use the shiny new software.
Step 1/. Get tired of typing ip addresses for common things.
Step 2/. Edit /etc/hosts and C:\Windows\System32\drivers\etc\hosts files to map names to ip addresses.
Step 3/. Get tired of maintaining/synchronizing multiple hosts files all over your network and decide that you really need a DNS server.
eix -c net-dns/*
to find a list of available DNS servers. Settle for BIND.
emerge -av bind
and adjust USE flags as desired.
euse -i [flag] [...]
is your friend.
Step 6/. Sit back and watch 6-cores of multi-threaded awesomeness happen. Unfortunately, this step won’t take too long.
qlist net-dns/bind | grep etc
brings up a list of configuration files. Edit them accordingly.