Nothing happen!!
I already done custom dns_txt.conf
when I using command "echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue"
Nothing happen!!
I want to rewrite dns record anyone can help me!
#cat /usr/local/directadmin/data/templates/custom/dns_txt.conf
_dmarc="v=DMARC1; p=none; sp=none; rua=mailto:postmaster@|DOMAIN|; ruf=mailto:[email protected]; fo=1"
|DOMAIN|.="v=spf1 a mx ip4:|SERVER_IP||EXTRA_SPF| ~all"
# cat /usr/local/directadmin/data/templates/custom/dns_spf.conf
|DOMAIN|.="v=spf1 a mx ip4:|SERVER_IP||EXTRA_SPF| ~all"
date; \
echo "action=rewrite&value=named&domain=mojo.co.at" >> /usr/local/directadmin/data/task.queue ; \
/usr/local/directadmin/dataskq d2000 ; \
grep dmarc /etc/bind/mojo.co.at.db; \
ls -la $_ ;\
date
Fri 29 Jan 2021 01:08:28 AM CET
Debug mode. Level 2000
root priv set: uid:0 gid:0 euid:0 egid:0
pidfile written
starting queue
dataskq: command: action=rewrite&value=named&domain=mojo.co.at
File /etc/bind/mojo.co.at.db.temp.27832 appears ok to named-checkzone
sign_zone(caller=writeDB): /usr/local/directadmin/scripts/dnssec.sh sign 'mojo.co.at' 2>&1
dataskq: command: action=named&type=all&value=reload
get_process_list_from_status: running: /usr/bin/systemctl status mysqld.service 2>&1
done queue
_dmarc 86400 IN TXT "v=DMARC1; p=none; sp=none; rua=mailto:[email protected]"
-rw-r--r-- 1 root bind 1752 Jan 29 01:08 /etc/bind/mojo.co.at.db
Fri 29 Jan 2021 01:08:29 AM CET
somehow data/templates/custom/dns_txt.conf gets ignored
update: this is at least the case for existing domains .. whereas NEW domains are correctly created with the values of custom/dns_txt.conf
to rewrite all domains' dmarc-records i cannot use the rewite task .. i might want to edit binds'-db-files with counting-up the serial..
i wish there would be a better approach :-(
update: it seams that this behaviour is "by design" and there is only an unofficial, CLI-based way to fix this.. so thank you for your support![]()