Comments (1)
As the API of Godaddy is not too complex - see doc, we could also using curl or similar tool to create/delete/get a DNS record
YOUR_IP_ADDRESS=10.0.215.34
YOUR_DOMAIN_NAME="snowdrop.dev"
YOUR_NAME="console2-openshift-console.apps.ocp"
TYPE="A"
payload="
[{
\"data\": \"$YOUR_IP_ADDRESS\",
\"ttl\": 600
}]"
curl -X DELETE -H "Authorization: sso-key ${YOUR_API_KEY}:${YOUR_API_SECRET}" \
-H "Content-Type: application/json" \
"https://api.godaddy.com/v1/domains/${YOUR_DOMAIN_NAME}/records/${TYPE}/${YOUR_NAME}"
curl -X PUT -H "Authorization: sso-key ${YOUR_API_KEY}:${YOUR_API_SECRET}" \
-H "Content-Type: application/json" \
-d "$payload" \
"https://api.godaddy.com/v1/domains/${YOUR_DOMAIN_NAME}/records/${TYPE}/${YOUR_NAME}"
curl -X GET -H "Authorization: sso-key ${YOUR_API_KEY}:${YOUR_API_SECRET}" \
-H "Content-Type: application/json" \
"https://api.godaddy.com/v1/domains/${YOUR_DOMAIN_NAME}/records/${TYPE}/${YOUR_NAME}"
from k8s-infra.
Related Issues (20)
- Wrong command logged to delete a VM from inventory HOT 3
- Some parameters should become optional when we create a new VM on RHOS HOT 3
- Failed to connect to the host via ssh: no such identity: /Users/cmoullia/.ssh/id_rsa_snowdrop_openstack: No such file or directory HOT 3
- Remove information from the hosts file HOT 1
- Should we move the cloud_infra Ansible collection to it's own repository HOT 5
- kind.sh - invalid portMapping: port mapping with same listen address, port and protocol already configured: 0.0.0.0:0/TCP
- Support to patch/provide another kind config HOT 2
- Improper commands showed !
- Rename the RHOS test-adm-key
- Replace the Calico Operator based installation with the kubernetes manifests HOT 1
- Add support for floating_ip in the Ansible Inventory
- Check if community.hrobot ansible collection is required
- OCP installation
- ERROR! the role 'passstore/ansible_inventory' was not found HOT 3
- Support the parameter clusterOSImage for ocp openstack installation
- VM with Fedora-38-latest doesn't allow ssh
- Improve docs for OCP installation
- $HOME/.pyvirt/bin/python3.11: No such file or directory ... The following modules failed to execute: ansible.legacy.setup HOT 4
- Find a way to grab the new certificate generated by Lets'encrypt to update our cluster (or a cluster)
- Remove sudo when kind script to create a kind cluster runs on macos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s-infra.