Skip to main content

Set Zone TTL - any way to differentiate SOA ad NS record TTL?

Comments

6 comments

  • cPRex Jurassic Moderator
    Hey there! I don't have a way to differentiate the options within that particular tool. Could you make a feature request and I can run that by the developers?
    0
  • PeteS
    Hey there! I don't have a way to differentiate the options within that particular tool. Could you make a feature request and I can run that by the developers?

    I will do that and post the request back here. I the mean time, how about a cli solution the finds all cases of a certain TTL in SOA and NS records and replaces them with another specified TTL value, either in a single domain.tld.db or *.db depending on the cli argument? I'm about to Google up an awk recipe for that, unless you think that's not a good plan. I figured to run it one server then re-sync the DNS cluster. Seems doable?
    0
  • PeteS
    Could you make a feature request and I can run that by the developers?

    Here you go: Set Zone TTL by record type
    0
  • cPRex Jurassic Moderator
    Just saw it come in and approved it!
    0
  • cPRex Jurassic Moderator
    You totally could - I wouldn't be comfortable posting such a command on the forums just because then I'm going to get blamed when the DNS is messed up. You'd also need to update the serial numbers on all zones you adjust, and there are commands out there for that work. If the serials don't get incremented they won't sync to the cluster.
    0
  • PeteS
    You totally could - I wouldn't be comfortable posting such a command on the forums just because then I'm going to get blamed when the DNS is messed up. You'd also need to update the serial numbers on all zones you adjust, and there are commands out there for that work. If the serials don't get incremented they won't sync to the cluster.

    Oh, I get ya! ;) (I have a test server to play with and mess up...) And thanks, I forgot about the serial number!
    0

Please sign in to leave a comment.