lexicon
lexicon copied to clipboard
[Godaddy] unable to add NS record
$ lexicon --version
lexicon 2.7.0
When I try to add NS record for GODADDY provider,
admin@MACbook-Pro $ lexicon godaddy create domain.xyz NS --name 'test-1' --content 'ns-763.awsdns-31.net' --log_level DEBUG --output QUIET
Arguments: Namespace(action='create', auth_key=None, auth_secret=None, content='ns-763.awsdns-31.net', delegated=None, domain='domain.xyz', log_level='DEBUG', name='test-1', output='QUIET', priority=None, provider_name='godaddy', ttl=None, type='NS')
Starting new HTTPS connection (1): api.godaddy.com:443
https://api.godaddy.com:443 "GET /v1/domains/domain.xyz HTTP/1.1" 200 508
Starting new HTTPS connection (1): api.godaddy.com:443
https://api.godaddy.com:443 "GET /v1/domains/domain.xyz/records HTTP/1.1" 200 130
Starting new HTTPS connection (1): api.godaddy.com:443
https://api.godaddy.com:443 "PUT /v1/domains/domain.xyz/records HTTP/1.1" 200 0
create_record: NS test-1 ns-763.awsdns-31.net
It returns success but its not added
$ lexicon godaddy list domain.xyz NS
ID TYPE NAME CONTENT TTL
------- ---- ------------------ ---------------------- ----
8b5e0d0 NS @.domain.xyz ns27.domaincontrol.com 3600
9dbfcd1 NS @.domain.xyz ns28.domaincontrol.com 3600
@AnalogJ
Hey @ravichandra22
Is this issue still occurring for you? Can you try creating the record and waiting a couple minutes before listing the records?
Some providers have a significant delay between creating a record and having it available on their DNS.
Yes, thank you. It took some experimentation but that does work. However, after some more thought, I decided to use a dedicated VPS for creating certs and export them to where they are needed. The GETSSL script makes this easy to do. Thanks again, sorry for not getting back about it.
This can be closed.