Closed ronbeltran closed 6 years ago
domain = "www.example.com " record = { # required "Type": "A", "Name": "test1", "Address": "127.0.0.1", } # add A "test1" record pointing to 127.0.0.1 api.domains_dns_addHost(domain, record)
I need to add host record for a subdomain like www.example.com using this method domains_dns_addHost. However this breaks and gives ValueError: too many values to unpack error in this line https://github.com/Bemmu/PyNamecheap/blob/master/namecheap.py#L383. Any avdice on how to fix it?
closing this, It was a mistake in my part.
I need to add host record for a subdomain like www.example.com using this method domains_dns_addHost. However this breaks and gives ValueError: too many values to unpack error in this line https://github.com/Bemmu/PyNamecheap/blob/master/namecheap.py#L383. Any avdice on how to fix it?