---
name: "gnunet-dht-put"
section: "1"
platform: "linux"
package: "gnunet"
version: "0.20.0-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gnunet-dht-put"
---

# gnunet-dht-put(1)

Issue a PUT request to the DHT to insert DATA under KEY.

## NAME

**gnunet-dht-put** – Issue a PUT request to the DHT to insert *DATA* under *KEY*.

## SYNOPSIS

**gnunet-dht-put** \[**-c** *FILENAME* \| **--config=***FILENAME*\] \[**-d** *DATA* \| **--data=***DATA*\] \[**-e** *EXPIRATION* \| **--expiration=***EXPIRATION*\] \[**-h** \| **--help**\] \[**-k** *KEY* \| **--key=***KEY*\] \[**-L** *LOGLEVEL* \| **--loglevel=***LOGLEVEL*\] \[**-l** *LOGFILE* \| **--logfile=***LOGFILE*\] \[**-R** \| **--record**\] \[**-r** *LEVEL* \| **--replication=***LEVEL*\] \[**-t** *TYPE* \| **--type=***TYPE*\] \[**-V** \| **--verbose**\] \[**-v** \| **--version**\] \[**-x** \| **--demultiplex**\]

## DESCRIPTION

**gnunet-dht-put** is a command line tool to issue PUT requests to the DHT.

## OPTIONS

- **-c** *FILENAME* \| **--config=***FILENAME*

  Use the configuration file *FILENAME*.

- **-d** *DATA* \| **--data=***DATA*

  the data to insert under *KEY*.

- **-e** *EXPIRATION* \| **--expiration=***EXPIRATION*

  how long to store this entry in the DHT (in seconds)

- **-h** \| **--help**

  Print short help on options.

- **-k** *KEY* \| **--key=***KEY*

  use the query key *KEY*.

- **-L** *LOGLEVEL* \| **--loglevel=***LOGLEVEL*

  Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.

- **-l** *LOGFILE* \| **--logfile=***LOGFILE*

  Configure logging to write logs to *LOGFILE*.

- **-R** \| **--record**

  Set DHT's record route option for the request.

- **-r** *LEVEL* \| *-replication-level=**LEVEL*

  Use the DHT replication level *LEVEL*.

- **-t** *TYPE* \| *-type=**TYPE*

  the block type of *DATA*.

- **-V** \| **--verbose**

  be verbose.

- **-v** \| **--version**

  Print GNUnet version number.

- **-x** \| **--demultiplex**

  Set DHT's demultiplex everywhere option.

## SEE ALSO

The full documentation for gnunet is maintained as a Texinfo manual. If the [info(1)](/info/1.md) and gnunet programs are properly installed at your site, the command

```
info gnunet
```

## BUGS

Report bugs by using **https://bugs.gnunet.org** or by sending electronic mail to ⟨*gnunet-developers@gnu.org*⟩.
