====== Configuring Managed DNS ====== #intro_start#Managed DNS allows you to provide DNS hosting for your clients. Your clients are able to edit DNS records for their domains in Client CP.#intro_end# ====== Server-side Checklist ====== Internally, EPP-DRS generates and updates plain Bind zone files and named.conf on remote servers.\\ Before you enable Managed DNS in ''Settins » Core Settings'', make sure that the following requirements are met:\\ \\ * You have at least one unix/linux machine with Bind 9 or higher installed and configured. Chrooted Bind has not been tested. You can register a server in ''Settings » Managed DNS » Nameservers » Add''. * You have a system user added on that machine (normally ''named'' or ''bind'') that has access to * Log in via SSH remotely * Write to zones folder (''Path to zone files folder'') * Edit named.conf (''Path to named.conf'') * Execute rndc (''Path to rndc binary'')\\ \\ ====== EPP-DRS Checklist ====== When user edits DNS zones for his/her domain, changes being saved in database. EPP-DRS generates Bind zone files and named.conf periodically in [[epp-drs-installation-and-configuration-guide#set_cron_jobs|DNSPush cronjob]] and saves them on servers. * Default nameservers (''Settings » Core settings » Registry options'') point to same IP adresses as your Managed DNS nameservers. * Appropriate NS records added in ''Settings » Managed DNS » Set default zone records'' for each of your Managed DNS nameservers.\\ \\ ====== Add New Managed DNS Server HOW-TO ====== * Set up a Bind9 package using your package manager or compile it from source. This will also create ''named'' or ''bind'' system user under which Bind 9 is running, * Edit /etc/passwd and set a normal shell for the user (usually ''/bin/sh''), * Set new password for the user, * Try to log is as user via SSH remotely, * Try to create a file in Bind zone files directory (usually /var/named), * Try to modify named.conf, * If all above succeed, Go to ''Settings » Managed DNS » Nameservers » Add'' and add a server, * Go to ''Settings » Managed DNS » Set default zone records'' and add a new NS record "@ 14400 in NS " Where is the hostname of your server. Be carefull, as there is no syntax validation performed on this page, * Edit templates/DNS/zone.tpl if needed, * Go to settings ''Settings » Core settings » Registry options'' and add your server hostname, Now new users, if they leave default nameservers during registration, a new option ''Edit DNS zone'' will appear in option list for delegated domains.