You will only really need this if you have some local servers, computers or other devices that need to be accessed. If you need help installing the DNS package do not even try this tutorial you are not ready yet. Learn to swim before jumping into the middle of the river! This is where you configure the lookups, where you know the hostname and want to find the IP address. Note: I use a serial format of the date yyyymmddnn where the last two digits ‘nn’ are just a sequential number for changes I made by hand on a particular day. We also need one A type record for each server or device in our domain. we will need to setup mailserver and the media server running mythtv called mythtvserver.
Once installed and running you will find the DNS icon in the main menu. This serial number is used if you have a backup or slave DNS systems. The NS type record was created already when we created the forward zone. Use the example below to create the others as well.
The log file for this script will over time get rather large filling up the system partition on your diskstation.
As this is not Windows but running Linux we can sort that out by configuring a job that will compress and rotate the log files each week keeping the last four weeks.
I found this rather useful script to Update Synology DNS records from DHCP IP address reservation. Be careful with this if your Synology NAS is accessible via the internet then this may be a security problem.
There is an install script which does some simple checks before copying files to the correct place. With the script /usr/local/etc/rc.d/S99poll you can start, stop, restart or see the status of the service. I expect you can do the rest it is quite straight forward. With that running start up a device or PC that uses DHCP and you should see entries appearing in the file you redirected the out to.
It is a little tricky the first time you do this especially if you have not come across bind or bind9 before.
It seems a little over the top or just plain weird. To configure the zone we need one NS type record that points to the name server.
Edit the settings file with the details for your system.
We will use the following: That is all you should need to change.