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

How to change serial no. format for DNS zone?

Discussion in 'Plesk for Linux - 8.x and Older' started by Nicksput, Feb 8, 2008.

  1. Nicksput

    Nicksput Guest

    0
     
    Hi there,
    I am trying to change the format of the serial no. in DNS zones in Plesk 8.3. I want the format to be YYYYMMDDnn. Could someone please assist?
    Thanks
    nicksput
     
  2. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    Plesk for Linux uses the number 'seconds since Epoch' as its DNS serial numbers (tinydns format). It's not impossible to write a script that changes all of your zonefiles and have Plesk run that after any changes, but I wonder if it's worth the trouble. Do you really need the other format?
     
  3. Nicksput

    Nicksput Guest

    0
     
    Thanks for your reply. I thought that there'd be a possible mysql insert for the Plesk database to change the format. I found such for Plesk 8.2 but it did not work for me. However I believe your question concerning the requirement of the other format caused me to try out some configurations and in fact I do not need it to get things work. The only thing that confused me has been a tool on denic.de to check the nameservers and that it complained about different formats in the zone files. I do not really get rid of the feeling that this stuff will be a closed book to me forever.
     
  4. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    There's just two formats, and although some RFC may prefer the YYYYMMDDnn format it really shouldn't cause any problems to use the other format. The only real requirement is that the serial number increases every time you update your records. This is the case with both formats. The tinydns format was coined because the YYYYMMDDnn format allows for 'only' 100 changes a day and they thought that was a needless limitation. The other format allows you to change your records every second if you wish.

    I believe Plesk for Windows can use either format by changing a setting in the psa database, but I don't believe it works in the Linux version. I haven't tried it yet (also because I don't have the need).
     
  5. Nicksput

    Nicksput Guest

    0
     
    Thanks for the information, I did not know why the tinydns format was coined. I use now tinydns format and it works. I tried to change this setting in the psa database and it didn't work in the Linux version.
     
Loading...