This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Namecheap DynDyns Username

Has anyone tried to use the Namecheap type under DynDns? I'm trying to use it, but there is something a bit perplexing about it. According to Namecheap's official support page, you do not need a username in order to update the IP address for your domain name. All you need is the hostname, domain name, the domain password, and the IP address.

https://www.namecheap.com/support/knowledgebase/article.aspx/29/11/how-to-use-the-browser-to-dynamically-update-hosts-ip

https://www.namecheap.com/support/knowledgebase/article.aspx/596/11/using-dynamic-dns-client-version-001


So what perplexes me is that in Sophos UTM 9, when I select the namecheap option from Network Services > DNS > DynDns, it asks me to enter a username. Does anyone know what username I'm supposed to put there?

I've tried using my namecheap username and have tried both my normal namecheap password as well as my domain password for the dynamic dns feature and all I get is a message in the "DynDNS status is:" section saying "The last update attempt failed."

In my opinion, Sophos should NOT be asking for a username for namecheap DNS - please correct me if I'm wrong. If I'm correct, this is a bug and should be fixed.

Thanks,
Jonathan


This thread was automatically locked due to age.
  • try leaving the username blank.


    Thanks for the idea but Sophos has the username flagged as a required field and returns the following error message when I try to save the details without filling that in:

    The DynDNS mapping object requires text data for the user attribute.
  • Hi, you could edit the config file by hand (make a backup), to see if it works when setting the login to ''.

    The file is probably in /etc/ddclient

    Barry
  • 1. Select "NameCheap" as the type.
    2. Enter a hostname that you already have in Namecheap's DNS.
    3. Enter the domain name as the username.  Ex. abc.com
    4. Enter the password provided by namecheap.

    I started out with a dummy "A" record set to "127.0.0.1" in namecheap's dns to verify it was working.
  • Thanks for the info.

    I've found that the @ record can be updated by setting '@' as the hostname. (mydomain.com is not acceptable)
    Also, the 'aliases' setting in the UTM does work, as long as there are 'A' records already created in NameCheap.

    Barry
  • Figured I'd add to this-

    The password is NOT your website login password.  Go in through Namecheap and set up Dynamic DNS.  They give you a fairly lengthy string to use as a password.
  • After reading this post and then talking to namecheap support I confirm that this works. 

    They also said to NOT include the domain in your A(@,CNAME, ect) list of  hostnames. host.example.com would just be host. The password is generated by them under the dynDNS section of the management.

    1. Select "NameCheap" as the type.
    2. Enter a hostname that you already have in Namecheap's DNS.
    3. Enter the domain name as the username.  Ex. abc.com
    4. Enter the password provided by namecheap.

    I started out with a dummy "A" record set to "127.0.0.1" in namecheap's dns to verify it was working.


    Thanks for the info.

    I've found that the @ record can be updated by setting '@' as the hostname. (mydomain.com is not acceptable)
    Also, the 'aliases' setting in the UTM does work, as long as there are 'A' records already created in NameCheap.

    Barry
  • Sorry to post in a thread nearly a year old but I thought I would add something because I too had this working, went to setup an entirely different domain on the same host and it wasn't updating for me. Searched google and this was the first result for "sophos namecheap"

    So everything in this thread by TheGish and BarryG is correct, make sure if you are having problems even after entering the information seemingly correctly that you check the password you are using from namecheap is correct. 

    When I copied and pasted I didn't realize I was getting a trailing space on the end of the password since the sophos gui only displays dots back to you.

    When I went into the /etc/ddclient/ddclient.conf file I saw the space inbetween the single quotes. As soon as I fixed that my next update was successful (it won't show in the gui as successful until the ddclient.cache file has a successful update recorded. But if you watch the live system messages log you will see it:


         2015:05:14-13:51:01 utm9fw /usr/sbin/cron[6581]: (root) CMD (/sbin/audld.plx --nosys --trigger) 
         2015:05:14-13:54:50 utm9fw ddclient[6680]: WARNING: file /var/cache/ddclient/ddclient.cache, line 6: Invalid Value for keyword 'ip' = '' 
         2015:05:14-13:55:01 utm9fw /usr/sbin/cron[6717]: (root) CMD (/usr/duckdns/duck.sh >/dev/null 2>&1) 
         2015:05:14-13:55:01 utm9fw /usr/sbin/cron[6718]: (root) CMD ( /usr/local/bin/reporter/system-reporter.pl) 
         2015:05:14-13:55:19 utm9fw ddclient[6805]: WARNING: skipping update of vps60 from  to x.x.x.x. 
         2015:05:14-13:55:19 utm9fw ddclient[6805]: WARNING: last updated  but last attempt on Thu May 14 13:53:02 2015 failed. 
         2015:05:14-13:55:19 utm9fw ddclient[6805]: WARNING: Wait at least 5 minutes between update attempts. 
    ---> 2015:05:14-13:55:20 utm9fw ddclient[6805]: SUCCESS: updating test: good: IP address set to x.x.x.x  2015:05:14-14:00:20 utm9fw ddclient[6805]: SUCCESS: updating vps60: good: IP address set to x.x.x.x /dev/null 2>&1) 
         2015:05:14-14:05:01 utm9fw /usr/sbin/cron[7121]: (root) CMD ( /usr/local/bin/reporter/system-reporter.pl) 
  • To summarise the NameCheap setup info in this thread; this is the format which is required for the update of a domain's @ & 'mail' records:

    Note that the password here is not your NameCheap web account login, but the domain update password as allocated on the NameCheap site for domain record update purposes.