diff --git a/EXAMPLE-SET-GLUE-NS-DNS.sh b/EXAMPLE-SET-GLUE-NS-DNS.sh new file mode 100644 index 0000000..220a6fb --- /dev/null +++ b/EXAMPLE-SET-GLUE-NS-DNS.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +node bin/daplie.js ns:set -n hellabit.com --nameserver ns1.daplie.com,ns2.daplie.domains,ns3.hellabit.com + +# glue setting is rate-limited, or so it would seem +echo "sleeping between setting glue for rate limit" +sleep 5 +node bin/daplie.js glue:set -a 45.55.1.122 -n ns1.daplie.com +sleep 5 +node bin/daplie.js glue:set -a 45.55.1.122 -n ns1.daplie.domains +sleep 5 +node bin/daplie.js glue:set -a 45.55.1.122 -n ns1.daplie.me --tld me +sleep 5 +node bin/daplie.js glue:set -a 45.55.1.122 -n ns1.hellabit.com --tld com +sleep 5 + +node bin/daplie.js devices:attach -d ns1-do -a 45.55.1.122 -n ns1.daplie.com +node bin/daplie.js devices:attach -d ns1-do -a 45.55.1.122 -n ns1.daplie.domains +node bin/daplie.js devices:attach -d ns1-do -a 45.55.1.122 -n ns1.daplie.me --tld me +node bin/daplie.js devices:attach -d ns1-do -a 45.55.1.122 -n ns1.hellabit.com --tld com