bump SOA serial

This commit is contained in:
m5r 2024-07-26 12:11:44 +02:00
parent 8ee3d3ce75
commit 263d5b3a90
Signed by: mokhtar
GPG Key ID: 1509B54946D08A95

View File

@ -278,7 +278,7 @@ func (xip *Xip) soaRecord(question dns.Question) *dns.SOA {
} }
soa.Ns = xip.nameServers[0] soa.Ns = xip.nameServers[0]
soa.Mbox = emailToRname(config.Email) soa.Mbox = emailToRname(config.Email)
soa.Serial = 2024072200 soa.Serial = 2024072600
soa.Refresh = uint32((time.Minute * 15).Seconds()) soa.Refresh = uint32((time.Minute * 15).Seconds())
soa.Retry = uint32((time.Minute * 15).Seconds()) soa.Retry = uint32((time.Minute * 15).Seconds())
soa.Expire = uint32((time.Minute * 30).Seconds()) soa.Expire = uint32((time.Minute * 30).Seconds())
@ -382,7 +382,7 @@ func (xip *Xip) initHardcodedRecords() {
hardcodedRecords[fmt.Sprintf("%s.", config.Domain)] = hardcodedRecord{A: rootDomainARecords} hardcodedRecords[fmt.Sprintf("%s.", config.Domain)] = hardcodedRecord{A: rootDomainARecords}
// will be filled in later when requesting the wildcard certificate // will be filled in later when requesting certificates
hardcodedRecords[fmt.Sprintf("_acme-challenge.%s.", config.Domain)] = hardcodedRecord{TXT: []string{}} hardcodedRecords[fmt.Sprintf("_acme-challenge.%s.", config.Domain)] = hardcodedRecord{TXT: []string{}}
} }