SRV issue with OVH provider
See original GitHub issueHello,
Well i’m back with a SRV issue … octodns validation was ok but doit did an error from OVH side.
Here my setting:
_srv._tcp:
ttl: 300
type: SRV
value:
port: 1234
priority: 1
target: mysrv.mydomain.tld.
weight: 1
and here the octodns output:
********************************************************************************
* ovh (OvhProvider)
* Create <SrvRecord SRV 300, _srv._tcp.mydomain.tld., [''1 1 1234 mysrv.mydomain.tld.'']> (config)
* Summary: Creates=1, Updates=0, Deletes=0, Existing Records=36
* digitalocean (DigitalOceanProvider)
* Create <SrvRecord SRV 300, _srv._tcp.mydomain.tld., [''1 1 1234 mysrv.mydomain.tld.'']> (config)
* Summary: Creates=1, Updates=0, Deletes=0, Existing Records=36
********************************************************************************
2018-02-06T15:35:22 [139966085606184] INFO OvhProvider[ovh] apply: making changes
2018-02-06T15:35:22 [139966085606184] INFO OvhProvider[ovh] _apply: zone=mydomain.tld., len(changes)=1
Traceback (most recent call last):
File "/usr/local/bin/octodns-sync", line 11, in <module>
load_entry_point('octodns==0.8.8', 'console_scripts', 'octodns-sync')()
File "/usr/local/lib/python2.7/site-packages/octodns/cmds/sync.py", line 39, in main
dry_run=not args.doit, force=args.force)
File "/usr/local/lib/python2.7/site-packages/octodns/manager.py", line 311, in sync
total_changes += target.apply(plan)
File "/usr/local/lib/python2.7/site-packages/octodns/provider/base.py", line 86, in apply
self._apply(plan)
File "/usr/local/lib/python2.7/site-packages/octodns/provider/ovh.py", line 90, in _apply
change)
File "/usr/local/lib/python2.7/site-packages/octodns/provider/ovh.py", line 99, in _apply_create
self.create_record(zone_name, params)
File "/usr/local/lib/python2.7/site-packages/octodns/provider/ovh.py", line 391, in create_record
**params)
File "/usr/local/lib/python2.7/site-packages/ovh/client.py", line 376, in post
return self.call('POST', _target, kwargs, _need_auth)
File "/usr/local/lib/python2.7/site-packages/ovh/client.py", line 445, in call
response=result)
ovh.exceptions.BadParametersError: Invalid domain name: 1 1 1234 mysrv.mydomain.tld
OVH-Query-ID: FR.ws-1.5a79cb3a.3573.7811
ERROR: Job failed: exit code 1
I also see that i’ve one DNS updated after the failing doit … So, do you have a way to prevent any change when a record issue from provider side appears? It’s not critical i think cause we will remove it with editing the config to push but just wanted to notify your about this if you were not aware.
Thank you, have a good day 😃 !
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
SRV issue with OVH provider #189
Hello, Well i'm back with a SRV issue ... octodns validation was ok but doit did an error from OVH side. Here my...
Read more >What do I do if my website is down? | OVH Guides
If your site is not hosted on the OVHcloud infrastructure or is managed by another provider, please contact the concerned support service. If ......
Read more >Setup SRV DNS records for mail server
I am setting up my DNS zone to build a complete server on a VPS. My actual issue is about setting up the...
Read more >How to Setup an SRV Record (a custom domain/IP) - Server.pro
https://server.proThis tutorial shows you how to setup an SRV record within Cloudflare so that you can use your own domain to connect to ......
Read more >Trouble with SRV record - DNS & Network
hello, We are trying to add a SRV record for our exchnage server with OVH, but everytime i add the SRV record it...
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
@o-be-one I have made a Pull Request => https://github.com/github/octodns/pull/192 Hope it will be fine !
Have a nice end of day !
Just tried your merged PR, worked like a charm. Thanks ross and trnsnt!