Skip to content

Commit

Permalink
add target for zone.sql load
Browse files Browse the repository at this point in the history
  • Loading branch information
LeKovr committed Nov 27, 2021
1 parent a3eccbe commit b97334e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/powerdns/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ powerdns-apply: docker-wait
-vACME_DOMAIN=$$ACME_DOMAIN -vACME_NS=$$ACME_NS -vNS_ADMIN=$$ACME_ADMIN_EMAIL \
|| true ; \
fi

# load powerdns zone from zone.sql
powerdns-load-zone: zone.sql docker-wait
cat zone.sql | docker exec -i $$PG_CONTAINER psql -U $$PDNS_DB_TAG -d $$PDNS_DB_TAG

0 comments on commit b97334e

Please sign in to comment.