Hi,
I am trying to update a dns (A-Host) entry manually.
This is my script.
I can see in the plesk panel that the DB was updated correctly.
But it seems that the dns update is not working correctly, if I ping the host I still get the old IP.
I was trying to change the SOA values because I have a secondary DNS server and here I recognized
that after saving the SOA values the IP is updated. It doesn´t matter what values I enter it gets updated
after pressing the save button. If I ping the host after pressing save I get the new IP.
So it seems that after pressing save something is update which is not updated when I try to enter the DNS
entry manually.
Can anyone help me?
I am trying to update a dns (A-Host) entry manually.
This is my script.
Code:
/usr/bin/mysql "myupdatequery"
/opt/psa/admin/bin/dnsmng --update domain.com.
I can see in the plesk panel that the DB was updated correctly.
But it seems that the dns update is not working correctly, if I ping the host I still get the old IP.
I was trying to change the SOA values because I have a secondary DNS server and here I recognized
that after saving the SOA values the IP is updated. It doesn´t matter what values I enter it gets updated
after pressing the save button. If I ping the host after pressing save I get the new IP.
So it seems that after pressing save something is update which is not updated when I try to enter the DNS
entry manually.
Can anyone help me?