From 4bc65e94583a5b59f22be0bf348477d4237c6225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piyush=20=E0=A4=AE=E0=A4=BF=E0=A4=B6=E0=A5=8D=E0=A4=B0?= Date: Sun, 19 Mar 2023 11:01:56 +0530 Subject: [PATCH] Proper styling for shell commands --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dec9bd1..620f233 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,15 @@ Replace `` with ip address(eg. 10.4.60.1) of your VPS se #### Install bind -```sudo apt install bind9 bind9utils bind9-doc``` +``` +sudo apt install bind9 bind9utils bind9-doc +``` #### Modify `/etc/default/named` -```OPTIONS="-u bind -4"``` +``` +OPTIONS="-u bind -4" +``` #### Configure `/etc/bind/named.conf.options` @@ -139,11 +143,15 @@ __Note:__ To check if dns is working properly or not you may use `dig @ns1. /etc/bind/tsig.key"``` +``` +sudo sh -c "tsig-keygen -a HMAC-SHA512 tsig-key > /etc/bind/tsig.key" +``` #### Create ```/etc/bind/named.conf.certbot```