Skip to content

Commit

Permalink
Merge pull request #93 from Control-D-Inc/release-branch-v1.3.1
Browse files Browse the repository at this point in the history
Release branch v1.3.1
  • Loading branch information
yegors authored Oct 11, 2023
2 parents b175368 + 79076bd commit f1b8d1c
Show file tree
Hide file tree
Showing 40 changed files with 1,449 additions and 386 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $ go install github.com/Control-D-Inc/ctrld/cmd/ctrld@latest
or

```
$ docker build -t controldns/ctrld .
$ docker build -t controldns/ctrld . -f docker/Dockerfile
$ docker run -d --name=ctrld -p 53:53/tcp -p 53:53/udp controldns/ctrld --cd=RESOLVER_ID_GOES_HERE -vv
```

Expand Down Expand Up @@ -188,8 +188,8 @@ See [Configuration Docs](docs/config.md).
[listener]

[listener.0]
ip = "127.0.0.1"
port = 53
ip = ""
port = 0
restricted = false

[network]
Expand Down Expand Up @@ -220,6 +220,8 @@ See [Configuration Docs](docs/config.md).

```

`ctrld` will pick a working config for `listener.0` then writing the default config to disk for the first run.

## Advanced Configuration
The above is the most basic example, which will work out of the box. If you're looking to do advanced configurations using policies, see [Configuration Docs](docs/config.md) for complete documentation of the config file.

Expand Down
1 change: 1 addition & 0 deletions client_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ type ClientInfo struct {
Mac string
IP string
Hostname string
Self bool
}

// LeaseFileFormat specifies the format of DHCP lease file.
Expand Down
Loading

0 comments on commit f1b8d1c

Please sign in to comment.