add info on pdns command for adding dns record

This commit is contained in:
Matthew Saunders Brown 2022-07-21 12:41:11 -07:00
parent ba12dbd3ed
commit 519012e57a

View File

@ -49,7 +49,13 @@ echo `cat $domain.selector`._domainkey.$domain. 3600 IN TXT \""k=rsa; p=`cat $
chown Debian-exim:ssl-cert $domain.* chown Debian-exim:ssl-cert $domain.*
echo echo
echo create this dns record: echo Create this dns record:
echo echo
cat $domain.dns cat $domain.dns
if [[ -f /usr/local/etc/pdns.conf ]]; then
echo echo
echo Looks like you have powerdns-tools enabled, you can simply run this:
echo
echo pdns-rr-rep.sh -z $domain -n `cat $domain.selector`._domainkey.$domain -t TXT -r \'k=rsa\; p=`cat $domain.dkim`\'
echo
fi