Make the CLI configurable #1

Closed
mokhtar wants to merge 11 commits from proper-config into master
Showing only changes of commit 263d5b3a90 - Show all commits

View File

@ -278,7 +278,7 @@ func (xip *Xip) soaRecord(question dns.Question) *dns.SOA {
}
soa.Ns = xip.nameServers[0]
soa.Mbox = emailToRname(config.Email)
soa.Serial = 2024072200
soa.Serial = 2024072600
soa.Refresh = uint32((time.Minute * 15).Seconds())
soa.Retry = uint32((time.Minute * 15).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}
// 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{}}
}