Commit ae72a556 authored by nanahira's avatar nanahira

fix

parent dab39e64
Pipeline #16021 passed with stages
in 1 minute and 59 seconds
#!/bin/bash
nsAddress=10.198.7.58
ssh-keyscan $nsAddress >> ~/.ssh/known_hosts
ssh -T root@$nsAddress docker compose --project-directory /root/dns exec powerdns pdnsutil list-all-zones | \
sed "s/^/server=\//g;s/\$/\/$nsAddress/g" > ./dnsmasq.d/tld.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment