Skip to content

dnscontrol stopped working with INWX #3854

@brknkfr

Description

@brknkfr

NOTE: Have a general question? You'll get a better response on the dnscontrol-discuss email list!

Describe the bug
A few days ago, dnscontrol started to act strangely with the INWX provider. This could be maybe because of a change they recently made, although I didn't investigate further. It seems that they have at least a new website.

To Reproduce
Steps to reproduce the behavior:

  1. Create a simple dnsconfig.js like this:
var REG_NONE = NewRegistrar("none");
var REG_INWX = NewRegistrar("inwx");
var DSP_INWX = NewDnsProvider("inwx");

DEFAULTS(
    DefaultTTL("1h"),
    NAMESERVER_TTL("1d")
);

D("domain.tld", REG_INWX, DnsProvider(DSP_INWX, 0),
    NAMESERVER("ns.domrobot.com."),
    NAMESERVER("ns.domrobot.org."),
    NAMESERVER("ns.domrobot.net."),
    A("@","1.2.3.4")
);
  1. Try to run ./dnscontrol preview
  2. There are a lots of errors like this appearing
CONCURRENTLY checking for 0 zone(s)
SERIALLY checking for 1 zone(s)
Serially checking for zone: "domain.tld"
CONCURRENTLY gathering records of 0 zone(s)
SERIALLY gathering records of 1 zone(s)
Serially Gathering: "domain.tld"
******************** Domain: domain.tld
INFO#1: Domain "domain.tld" provider inwx Error: decoding failed due to the following error(s):

'roId' expected type 'int', got unconvertible type 'string'
'record[0].id' expected type 'int', got unconvertible type 'string'
'record[1].id' expected type 'int', got unconvertible type 'string'
'record[2].id' expected type 'int', got unconvertible type 'string'
'record[3].id' expected type 'int', got unconvertible type 'string'
'record[4].id' expected type 'int', got unconvertible type 'string'
'record[5].id' expected type 'int', got unconvertible type 'string'
'record[6].id' expected type 'int', got unconvertible type 'string'
'record[7].id' expected type 'int', got unconvertible type 'string'
'record[8].id' expected type 'int', got unconvertible type 'string'
'record[9].id' expected type 'int', got unconvertible type 'string'

... and so on.

Expected behavior

The domain records should be updated on INWX.

DNS Provider

  • INWX

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions