| [Status] [Support] | [Webmail] [New Webmail] | [Mail Management] [DNS Management] |
Dynamic DNS
Dynamic updating of the DNS is possible from a remote machine using the nsupdate utility that comes with [url=http://www.isc.org/sw/bind/]BIND[/url]. To do this you will need to find out the DNS keyname and secret for your domain which can be found in /opt/virtual/<domainname>/dns/key. For example:

[code]key "example.com.key" {
algorithm hmac-md5;
secret "hrCDCUNBtlY3sgF8NPnJrg==";

Here the keyname is example.com.key and the secret is hrCDCUNBtlY3sgF8NPnJrg==. To update the DNS for myhost.example.com to point to IP with a TTL of 1 day using nsupdate under *nix you would do the following:

> key example.com.key hrCDCUNBtlY3sgF8NPnJrg==
> server ns0.dnshell.com
> zone example.com
> update delete myhost.example.com
> update add myhost.example.com 86400 IN A
> send[/code]

The Windows nsupdate.exe operates in a similar manner.

Make sure you keep the secret safe to avoid other people changing your DNS records.

FTP Servers
Mail Servers
MX Records
Name Servers
User Account information
Copyright © dnshell.com 2004-2019