1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Help needed to configure DNS Zone file!

Discussion in 'Plesk for Linux - 8.x and Older' started by jaylee, Mar 21, 2005.

  1. jaylee

    jaylee Guest

    I have been trying to add SRV records to my existing DNS Zone generated by Plesk 7.5 Reloaded. Since SRV type is not listed in the Plesk control panel menu, I just tried to edit the Zone file directly. However, it seems to me that simply editing a Zone file is not enough. When I edit the Zone file, record types other than A, PTR, MX, NS, CNAME, and TXT are not effective.

    Can anybody guide me how to manually add record types not listed in the Plesk menu?

    Thank you,
  2. vamosb

    vamosb Guest

    Hacking Plesk 7.5

    I did the following (Plesk version 7.5 Reloaded for Linux):

    1) Modify the database to support SRV records:
    mysql -u admin -p psa
    mysql> alter table dns_recs modify column type enum('NS','A','CNAME','MX','PTR','TXT','SRV','none') default 'A' not null;
    2) Insert some new SRV records into the database:

    mysql> insert into dns_recs (dom_id, type, host, val, opt, time_stamp) values (1, 'SRV', '_jabber._tcp.domain.com.', 'xmpp-server4.l.google.com.', '20 0 5269', '20061214010101');
    3) In command line add and delete a dummy A record to refresh zone file:

    /usr/local/psa/bin/dns.sh --add "domain.com" -a "dummy" -ip
    /usr/local/psa/bin/dns.sh --del "domain.com" -a "dummy" -ip
    4) Checked the new record on dnsstuff.com:


    *** Note that domain name is a fake one. ***
  3. amitkb

    amitkb Guest

    Is there any way to run query (modify dns zone template records) in Windows Version. I have Plesk 8.6.