Skip to content

Commit

Permalink
Fix dns port
Browse files Browse the repository at this point in the history
  • Loading branch information
juliens authored Jun 21, 2024
1 parent 9d7e894 commit c53d429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func main() {
Timeout: time.Millisecond * time.Duration(3000), //nolint:mnd
}

return d.DialContext(ctx, "udp", "1.1.1.1")
return d.DialContext(ctx, "udp", "1.1.1.1:53")
},
}

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ The following declaration (given here in YAML) defines a plugin:
experimental:
plugins:
example:
moduleName: github.com/traefik/plugindemowasm
version: v0.0.1
moduleName: github.com/traefik/plugindemowasm-http-call
version: v0.0.2
```
Here is an example of a file provider dynamic configuration (given here in YAML), where the interesting part is the `http.middlewares` section:
Expand Down

0 comments on commit c53d429

Please sign in to comment.