---
name: "nsd-patch"
section: "8"
platform: "linux"
package: "nsd3"
version: "3.2.12-3+deb7u1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/nsd-patch"
---

# nsd-patch(8)

NSD zone patcher version 3.2.12.

## NAME

**nsd-patch** - NSD zone patcher version 3.2.12.

## SYNOPSIS

**nsd-patch** \[**-c** *configfile*\] \[**-f**\] \[**-h**\] \[**-l**\] \[**-o** *dbfile*\] \[**-s**\] \[**-x** *difffile*\]

## DESCRIPTION

**Nsd-patch** is the zone patcher for [nsd(8)](/nsd/8.md). It reads in the nsd database  (nsd.db) and difffile (ixfr.db), and overwrites the zone text files  if they have been updated. Running this regularly ensures that the  difffile does not grow infinitely.

## OPTIONS

- **-c *configfile***

  Read specified configfile instead of the default */etc/nsd3/nsd.conf*.

- **-f**

  Forces writing zone files. Also zones that have not changed are written back to their zone files.

- **-h**

  Print usage help information and exit.

- **-l**

  List the journal entries from the difffile. Does not write to zone files.

- **-o *dbfile***

  Store the output directly to dbfile.

- **-s**

  Skip writing zone files. No zones are written back to their zone files.

- **-x *difffile***

  Read specified difffile. Overrides the config file setting.

## FILES

- /var/lib/nsd3/nsd.db

  default **NSD** database

- /etc/nsd3/nsd.conf

  default **NSD** configuration file

## SEE ALSO

[nsd(8)](/nsd/8.md), [nsdc(8)](/nsdc/8.md), [nsd.conf(5)](/nsd.conf/5.md), [nsd-checkconf(8)](/nsd-checkconf/8.md), [nsd-notify(8)](/nsd-notify/8.md),  [nsd-xfer(8)](/nsd-xfer/8.md), [zonec(8)](/zonec/8.md)

## AUTHORS

**NSD** was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details.
