put-dns command not found

In this troubleshooting guide we learn how to fix put-dns command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

put-dns: command not found

or when using sudo you get the following error message

sudo: put-dns: command not found

Solutions to put-dns: command not found

How To Fix put-dns: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu put-dns is provided by put-dns package.

put-dns is:

put-dns provides a simple cli interface to create external DNS records on various external providers, hiding the details of the access. Aimed at allowing packages a simple interface, based on the RFC1034 record format, to create the DNS entries required for them to operate as expected. The default ’none’ provider simply accumulates the pending DNS records in a file for manual creation. The ‘mythicbeasts’ provider is native to put-dns. The following providers require the ’lexicon’ package:

To fix this problem, we can install more using the command below.

sudo apt-get -y install put-dns

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install put-dns.

sudo apt -y install put-dns

Or if you have aptitude installed you can use the following command.

sudo aptitude install put-dns

Summary

In this tutorial we learn how to fix put-dns command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.