Guest User!

You are not Sophos Staff.

[9.195-6][notaBUG] DynDNS only allows onedomain name

Using Namecheap, it is not possible to configure more than one DynDNS instance with the same hostname. While trying to save the configuration, it returns the error: 
The DynDNS mapping object with the name '@' already exists.
Something needs to be put in for a hostname. @ acts as a wildcard, but can only be used once because of this issue.
  • Hi RC,

    We saw the first post, you didnt have to open a new one [:P]
    We are not able to reproduce ure issue. The @ implementation in the hostname is not documented and therefor not supported. We tested with multiple hostnames using Alias and that worked successfully.

    Best regards,
    Bianca
  • Sorry if my post was a repeat. I assumed it was being ignored because of lack of tags in the subject.

    Using a fresh install of the latest beta, I can reproduce this easily:

    Configure one DynDNS instance. To reproduce this, you don't need to have Namecheap. Use 'test' as the Hostname. For Username, use 'Mydomain.com. Password can be anything. Save. Now, clone it, but change Username to 'Anotherdomain.com'. Save. You will get the error.
  • Hi RC,

    I see what you mean now,  but really sorry, you simply cannot use the same hostname with 2 different DynDNS instances, this must be unique per each instance.
    BR,
    Bianca
  • I don't know why not. Is this an undocumented limitation of ddclient? This SEVERELY limits the ability to use multiple domain names. Something needs to be in the hostname. If I have 20 domain names, and I want all of them to be changed, how can this be done? The only way I can see is that www.onedomain.com can be configured, but then I would have to use www2.seconddomain.com, and www3.thirddomain.com. How could I configure www on the first, second, and third domain? This gets more difficult when you have a configuration where you want most domain names to one IP address, and a specific one, like 'office', to a second IP address. I don't think calling this bug a 'feature' is a solution.
  • Who says you have to use the same hostname? Why not use different hostnames??
  • Who says you have to use different hostnames? Why can't you use the same hostname?
  • Because of a ddclient limitation.

    Why would a human being try to update the same hostname twice at once anyway?

    Just change your configuration. You can do what you try to achive, just do it properly [:)]

    Anyway: Why not use wildcard?
  • Well, perhaps this brings up another limitation. I gave up, and tried to work around this bug myself. I added junk.onedomain.com, junk2.seconddomain.com, junk3.thirddomain.com, etc... to my domains at Namecheap. Then I configured my DynDNS with hostnames junk1, junk2, junk3, etc.. with their matching hostanmes. Then I add an alias 'office' to each DynDNS config. 

    Only the first configured 'office' works. Subsequent ones do not update. The junk1, junk2, etc, all update fine. I deleted the ddclient.cache file just to make sure it wasn't causing a problem.

    As to why not use a wildcard? I have two locations. I would like *.mydomain.com to go to one location, and office.mydomain.com to go to another. It doesn't sound like good practice to have the *.mydomain.com configuration change the 'office' to the wrong IP address, and then have the other location change 'office' back to it's proper IP, changing the office IP from one location to another in an endless loop, or leaving it on the wrong IP address.
  • I think it might be time to update the ddclient that the UTM uses. There was a patch for this issue released over 6 years ago.
    ddclient / Discussion / Help:Namecheap and duplicate hostnames not working
  • I think it might be time to update the ddclient that the UTM uses. There was a patch for this issue released over 6 years ago.
    ddclient / Discussion / Help:Namecheap and duplicate hostnames not working
    The ddclient on UTM is kind of recent. If the patch has been accepted by the ddclient maintainer, it's already in.

    As to why not use a wildcard? I have two locations. I would like *.mydomain.com to go to one location, and office.mydomain.com to go to another. It doesn't sound like good practice to have the *.mydomain.com configuration change the 'office' to the wrong IP address, and then have the other location change 'office' back to it's proper IP, changing the office IP from one location to another in an endless loop, or leaving it on the wrong IP address.


    That's nonsense.

    Aliases are nothing else but (additional) hostnames.

    So:
    * Create one DynDNS object that updates 'mydomain.com' and enable wildcard (*.mydomain.com).
    * Create another DynDNS object (probably on UTM of remote location?) that updates 'office.mydomain.com'.

    The wildcard will *not* override the 'office' alias because it only updates the '*' (wildcard) alias, not all aliases of the domain. '*' applies only to unspecified aliases (catchall). In fact '*' is an alias as well.