Namecheap Dynamic DNS

ke4ahr

Cadet
Joined
Jun 13, 2022
Messages
2
This is based off of Truenas Core 12.0-U8. If you're running -U5, upgrade. It's not worth the trouble to try and figure out a way to setup the cert store.

Select Services, set Dynamic DNS to start automatically, then click on the pencil icon to configure the settings.

Under Provider, select Custom Provider.

Click the button to put a check in the SSL box.

Under Custom Server, type in the following server name:
Code:
dynamicdns.park-your-domain.com


Under Custom Path, copy and paste the following string:
Code:
/update?host=myshortservername&password=mydynamicdnspassword&domain=myfinedomainname.com&junk=


myshortservername is the left-most portion of the FQDN, e.g.: www if the FQDN is www.truenas.com.

mydynamicdnspassword is the Dynamic DNS password from NameCheap. You can find this by logging into NameCheap, selecting Dashboard or Domains on the left-hand side of the screen, then clicking on the Manage button to the right of the domain you want the password for, then clicking the Advanced DNS column, then scrolling down.

myfinedomainname.com is your domain name, e.g.: truenas.com if the FQDN is www.truenas.com.

Under Domain Name, enter your domain name. This will not matter because it is not being used, but there must be something in this field. It should look like a valid domain.

Under Update Period, enter something useful, e.g.: 300 for 300 seconds.

Under Username, enter the username of the account at NameCheap.

Under Password, enter the Dynamic DNS password captured from the Advanced DNS page at NameCheap.

Under Confirm Password, enter the Dynamic DNS password captured from the Advanced DNS page at NameCheap again.

Click Save. Truenas will restart the inadyn Dynamic DNS daemon.


Note that all of the necessary account information for Namecheap is passed on the Custom Path URL line. NameCheap will determine the IP address based on the requesting client IP.
 

Attachments

  • Screenshot-NameCheap-DynamicDNS.jpg
    Screenshot-NameCheap-DynamicDNS.jpg
    34.5 KB · Views: 342

ke4ahr

Cadet
Joined
Jun 13, 2022
Messages
2
If you want to use the whole domain instead of a subdomain record, change myshortservername to the @ symbol alone.

Code:
/update?host=@&password=mydynamicdnspassword&domain=myfinedomainname.com&junk=
 
Top