Make the CLI configurable #1
@ -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{}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user