Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -21,10 +21,10 @@ type Resolver interface {
|
| 21 | 21 |
// Stop stops the name server for the container. Stopped resolver |
| 22 | 22 |
// can be reused after running the SetupFunc again. |
| 23 | 23 |
Stop() |
| 24 |
- // SetupFunc() provides the setup function that should be run |
|
| 24 |
+ // SetupFunc provides the setup function that should be run |
|
| 25 | 25 |
// in the container's network namespace. |
| 26 | 26 |
SetupFunc(int) func() |
| 27 |
- // NameServer() returns the IP of the DNS resolver for the |
|
| 27 |
+ // NameServer returns the IP of the DNS resolver for the |
|
| 28 | 28 |
// containers. |
| 29 | 29 |
NameServer() string |
| 30 | 30 |
// SetExtServers configures the external nameservers the resolver |
| ... | ... |
@@ -52,7 +52,7 @@ type DNSBackend interface {
|
| 52 | 52 |
// ExecFunc allows a function to be executed in the context of the backend |
| 53 | 53 |
// on behalf of the resolver. |
| 54 | 54 |
ExecFunc(f func()) error |
| 55 |
- //NdotsSet queries the backends ndots dns option settings |
|
| 55 |
+ // NdotsSet queries the backends ndots dns option settings |
|
| 56 | 56 |
NdotsSet() bool |
| 57 | 57 |
// HandleQueryResp passes the name & IP from a response to the backend. backend |
| 58 | 58 |
// can use it to maintain any required state about the resolution |