OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • ddclient invalid reply talking to Namecheap
« previous next »
  • Print
Pages: [1]

Author Topic: ddclient invalid reply talking to Namecheap  (Read 1366 times)

neek

  • Newbie
  • *
  • Posts: 19
  • Karma: 2
    • View Profile
ddclient invalid reply talking to Namecheap
« on: June 07, 2022, 06:34:31 am »
I'm setting up OPNsense to update dynamic DNS at provider Namecheap. In this case, the dynamic address is assigned to my base domain (e.g. example.com), so at Namecheap I have that configured as "@". In ddclient on OPNsense, I have configured the base domain (example.com).

In my logs I'm seeing that the domain is not found. I'm unable to set "@.example.com" in ddclient so I'm guessing that the base domain name is correct. My logs show the following errors. Can anyone tell me what I'm doing wrong?

Code: [Select]
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 63477 - [meta sequenceId="78"] FAILED: updating EXAMPLE.com: Invalid reply.
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="77"] WARNING: </interface-response>
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="76"] WARNING: <debug><![CDATA[]]></debug>
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="75"] WARNING: <Done>true</Done>
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="74"] WARNING: </responses>
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="73"] WARNING: </response>
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="72"] WARNING: <ResponseString>Validation error; not found; domain name(s)</ResponseString>
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="71"] WARNING: <ResponseNumber>316153</ResponseNumber>
2022-06-06T21:28:26-07:00 Notice ddclient[50858] 62791 - [meta sequenceId="70"] WARNING: <Description>Domain name not found</Description>
Logged

CGrisamore

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: ddclient invalid reply talking to Namecheap
« Reply #1 on: June 07, 2022, 01:38:33 pm »
I had to edit ddclient.conf file directly as  OPNsense web interface does not allow entry of ampersand character in some fields and my own provider uses a token which includes an ampersand.  Also the sample ddclient configuration file reveals some provider specific options in entry (protocol) which are not available from the dropdown list in the web interface.  ddclient has run flawlessly for me since I edited ddclient.conf directly using the provider specific settings.

Below is a copy of my ddclient.conf file but I have replaced my provider info with the template Namecheap info.  Tailor that to your specific circumstances, ssh into your firewall and copy the file to /usr/local/etc/ddclient.conf

 
daemon=600
syslog=yes
pid=/var/run/ddclient.pid
ssl=yes
verbose=yes
use=if, if=igb0
use=web, web=freemyip.com/checkip

## NameCheap (namecheap.com)
##
# protocol=namecheap,                     \
# server=dynamicdns.park-your-domain.com,   \
# login=example.com,                      \
# password=example.com-password           \
# subdomain.example.com
« Last Edit: June 07, 2022, 02:19:00 pm by CGrisamore »
Logged

neek

  • Newbie
  • *
  • Posts: 19
  • Karma: 2
    • View Profile
Re: ddclient invalid reply talking to Namecheap
« Reply #2 on: June 07, 2022, 07:15:50 pm »
Thanks for sharing that config. It's similar enough to mine that it unfortunately didn't help. I'm now working with support at Namecheap to figure out what I'm supposed to enter as the domain to update. My wild guess is I'd have to make something like e.g. 'dd.EXAMPLE.COM' and then make a CNAME that aliases that, rather than just using EXAMPLE.COM as the dynamic host.
Logged

bedub1

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Re: ddclient invalid reply talking to Namecheap
« Reply #3 on: July 05, 2022, 07:37:24 pm »
Is there any update on this?  I'm stuck in the same problem.

os-dyndns works great.
os-ddclient doesn't work.

I've replicated the config from dyndns, to ddclient.  I'm trying to dynamically register subdomain.domain.net. 

I see the request in the logs:
76692 - [meta sequenceId="1"] WARNING: SENT: https://dynamicdns.park-your-domain.com/update?host=subdomain.domain.net&domain=user&password=myuniquepassword&ip=55.55.55.55

I eventually get a response back:
78126 - [meta sequenceId="22"] WARNING: <Err1>Domain name not found</Err1>
Logged

bedub1

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Re: ddclient invalid reply talking to Namecheap
« Reply #4 on: July 05, 2022, 07:50:36 pm »
Searching the internet for ddclient and namecheap lead me here, which worked:

https://www.namecheap.com/support/knowledgebase/article.aspx/583/11/how-do-i-configure-ddclient/
Logged

ohne

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: ddclient invalid reply talking to Namecheap
« Reply #5 on: August 24, 2022, 09:53:10 pm »
Just had to add my domain (not including the subdomain into the username field - than updates are working).
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • ddclient invalid reply talking to Namecheap
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2