Unbound: Caching DNS Resolver
When FreeBSD 10 removed Bind from the base, a certain level of uneasiness and relief was felt in the FreeBSD Community. Always fond of Bind, it was time to move on to an alternate without all the complexity, security issues, licensing and feature bloat of Bind. For these and other reasons, Unbound was chosen as a caching DNS server and NSD for an authoritative DNS Server for local zones. Additionally, redundancy is required since this is a production environment which requires uninterruptible DNS resolution. Our environment will consist of two physical servers both configured as follows: Continue reading “Unbound Caching and NSD Local Authoritative Master Slave DNS Server – Part I”
In the past, the built-in ntpd server in Freebsd served me well. Since ntpd binds to all addresses on port 123, ntpd complained incessantly in jailed environments because jails expect to have exclusive access to the jail address. Although it did not cause my server or jails to crash, it’s always better to be safe than sorry and fix the problem now rather than wait for a problem to manifest itself.
In search for a solution, openntpd can be utilized without binding to any address or addresses. This makes it attractive for jailed environments. Continue reading “Finding the right time with Openntpd”
How many times have you ssh into your server, only to have your connection interrupted and your terminal session abruptly closed? This can be problematic especially if processes are running in the background or you are compiling large programs with many dependencies. The solution – use tmux, the terminal multiplexer. Continue reading “Tmux – the Terminalator”
Panic mail is a great utility to capture kernel panics and report them to the FreeBSD developer community. Although I rarely receive a kernel panic running standard release installations of FreeBSD, it is installed on all my production servers. We owe many thanks to Colin Percival for this utility. Continue reading “Panic Mail”
Just the other day, the following message appeared on my FreeBSD 10 virtual machine when first booted up:
root@bsd:~ # sMay 5 07:47:24 bsd ntpd: time correction of 18001 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time. Continue reading “Manually adjust date and time in FreeBSD”
Ever installed a port from the ports collection only to find out it pulled-in an unwanted version of a dependency?
Make.conf is used to provide flexibility in the process of compiling sources, documentation and applications. It provides the user a means to override the default values or variables. Continue reading “My make.conf”
Ever found yourself making mistakes/changes in rc.conf or other configuration files then only to find the server boots up and the file system is read-only with the following message: Continue reading “I rebooted and now the file system is read-only, now what?”
Just as in Shakespeare’s Hamlet, “To be or not to be, that is the question – Whether ’tis Nobler in the mind to suffer“, do you suffer whether or not to include src, docs, and ports when performing a fresh install of FreeBSD 10? Continue reading “To src or not to src, docs and ports are the question!”
When installing FreeBSD there are several items to configure manually during the install process. One of the first items to manually configure is the disk partition layout in FreeBSD. Since this configurations will be utilized on production servers, the partition scheme is laid out in a specific fashion. Continue reading “Manually Create Partitions on FreeBSD”