Next: , Previous: , Up: Running Knot DNS   [Contents][Index]


5.2 Running a master server

If you want to just check the zone files first before starting, you can use knotc checkzone action.

$ knotc -c master.conf checkzone example.com

For an approximate estimate of server’s memory consumption, you can use the knotc memstats action. This action prints count of resource records, percentage of signed records and finally estimation of memory consumption for each zone, unless specified otherwise. Please note that estimated values might differ from the actual consumption. Also, for slave servers with incoming transfers enabled, be aware that the actual memory consumption might be double or more during transfers.

$ knotc -c master.conf memstats example.com

Starting and stopping the daemon is the same as with the slave server in the previous section.