diff options
Diffstat (limited to 'cmd/resolver/main.go')
| -rw-r--r-- | cmd/resolver/main.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cmd/resolver/main.go b/cmd/resolver/main.go index 7126651..62af801 100644 --- a/cmd/resolver/main.go +++ b/cmd/resolver/main.go @@ -20,6 +20,7 @@ const ( cmdEnv = "env" cmdHostsd = "hosts.d" cmdQuery = "query" + cmdZoned = "zone.d" subCmdAdd = "add" subCmdCreate = "create" @@ -85,6 +86,10 @@ func main() { rsol.doCmdQuery(args) + case cmdZoned: + args = args[1:] + rsol.doCmdZoned(args) + default: log.Printf("resolver: unknown command: %s", rsol.cmd) os.Exit(2) @@ -230,6 +235,17 @@ hosts.d rr delete <name> <domain> Delete record from hosts file "name" by domain name. +=== MANAGING ZONE.D + +zone.d create <name> + + Create new zone file inside the zone.d directory. + +zone.d delete <name> + + Delete zone file inside the zone.d directory. + + == Examples === QUERY |
