Error with SOA type for Digital Ocean provider
See original GitHub issueWhen I sync Digital Ocean DNS I get this error
Traceback (most recent call last):
File "/Users/alex/.local/share/virtualenvs/dns-m997HFnd/bin/octodns-dump", line 10, in <module>
sys.exit(main())
File "/Users/alex/.local/share/virtualenvs/dns-m997HFnd/lib/python2.7/site-packages/octodns/cmds/dump.py", line 35, in main
*args.source)
File "/Users/alex/.local/share/virtualenvs/dns-m997HFnd/lib/python2.7/site-packages/octodns/manager.py", line 382, in dump
source.populate(zone, lenient=lenient)
File "/Users/alex/.local/share/virtualenvs/dns-m997HFnd/lib/python2.7/site-packages/octodns/provider/digitalocean.py", line 231, in populate
data_for = getattr(self, '_data_for_{}'.format(_type))
AttributeError: 'DigitalOceanProvider' object has no attribute '_data_for_SOA'
After seeing code I see that it doesn’t support SOA
type but instead of just ignore it, code crash, how can we patch it ?
Adding a check to know if attribute exist here seems to be a good solution is it okay for you ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Error with SOA type for Digital Ocean provider #363 - GitHub
When I sync Digital Ocean DNS I get this error Traceback (most recent call last): ... Error with SOA type for Digital Ocean...
Read more >SOA DNS not valid format? - DigitalOcean
SOA Serial Number Format is Invalid ns1.digitalocean.com reported Serial 1421780039 : Suggested serial format year was 1421 which is before 1970 ...
Read more >I Want the SOA as i had to restore my DNS record after ...
I Want the SOA as i had to restore my DNS record after delegation ... This textbox defaults to using Markdown to format...
Read more >How to Create, Edit, and Delete DNS Records
A DigitalOcean Droplet by typing its name and selecting it from the menu. All Droplets will be displayed on the list, but only...
Read more >Point to DigitalOcean Nameservers From Common Domain ...
Instructions on how to set up DNS records with various registrars.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @ross, I have an article about using OctoDNS with DigitalOcean ready to publish, so I’m just waiting on this bug to be fixed in the Python pip package before I can publish it.
No specific plans to cut a release atm, but I’ll throw it onto the todo list.