1. Please take a little time for this simple survey! Thank you for participating!
    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

    0
     
    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

    0
     
    Hacking Plesk 7.5

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

    1) Modify the database to support SRV records:
    Code:
    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:

    Code:
    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:

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

    http://www.dnsstuff.com/tools/lookup.ch?name=_jabber._tcp.domain.com&type=SRV




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

    amitkb Guest

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