---
name: "knot1to2"
section: "1"
platform: "linux"
package: "knot"
version: "2.4.0-3+deb9u1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/knot1to2"
---

# knot1to2(1)

Knot DNS configuration conversion utility

## NAME

knot1to2 - Knot DNS configuration conversion utility

## SYNOPSIS

**knot1to2** \[*options*\] -i *file* -o *file*

## DESCRIPTION

This utility generates Knot DNS configuration file version 2.x from configuration file version 1.x.

### Parameters

- **-i**, **--in** *file*

  Input configuration file (Knot version 1.x).

- **-o**, **--out** *file*

  Output configuration file (Knot version 2.x).

### Options

- **-r**, **--raw**

  Raw output, do not reformat via **knotc**.

- **-p**, **--path** *directory*

  Path to **knotc** utility.

- **-h**, **--help**

  Print the program help.

- **-V**, **--version**

  Print the program version.

## SEE ALSO

**[knotc(8)](/knotc/8.md)**, **[knotd(8)](/knotd/8.md)**, **[knot.conf(5)](/knot.conf/5.md)**.

## AUTHOR

CZ.NIC Labs \<http://www.knot-dns.cz\>

## COPYRIGHT

Copyright 2010–2017, CZ.NIC, z.s.p.o.
