Fernando K pushed to branch main at Root / Serviços / DNS

Commits:

1 changed file:

Changes:

  • render.go
    ... ... @@ -147,7 +147,7 @@ func batchString(s string, batchSize int) []string {
    147 147
     func renderZonesDb(repositoryRootPath string, records_by_zone map[Zone][]Record) {
    
    148 148
     	var home_zone_records []Record
    
    149 149
     	for zone, records := range records_by_zone {
    
    150
    -		if zone.Name == "home" {
    
    150
    +		if zone.Name == "home" && zone.View.Name == "interna" {
    
    151 151
     			for _, record := range records {
    
    152 152
     				if record.Type != "SOA" {
    
    153 153
     					home_zone_records = append(home_zone_records, record)