Skip to content

Commit

Permalink
Bump v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulou committed Sep 29, 2021
1 parent 0b5c736 commit acf50b9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,30 @@ Compared with file-backend records, redis-backend hosts support multiple A entri
redis > hset godns:hosts www.test.com 1.1.1.1,2.2.2.2
```

__Zone configuration__

Specific configuration if you want your godns instance to only respond to one DNS Zone

```
zone = 'example.test.'
zone-ns = "ns-cloud-b1.googledomains.com."
zone-mbox = "cloud-dns-hostmaster.google.com."
zone-serial = 1
zone-refresh = 21600
zone-retry = 3600
zone-expire = 259200
zone-negcache-ttl = 30
zone-soa-ttl = 3600
```

If `zone` is set, all the other parameters should be set. These parameters are
used when one domain is not found in the hosts (file or redis), we return a
"NODATA" dns response. According to the RFC, it should contain the SOA entry
in order to be cached correctly by other DNS servers.

If another domain than `zone` is queried, GoDNS will respond with rcode `REFUSED`
since only the specified zone will be responded to.


## Benchmark

Expand Down

0 comments on commit acf50b9

Please sign in to comment.