<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi <span style="-webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">Shubham,</span><div><span style="-webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="-webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);">I am afraid that bind-users isn’t the right place to teach you the basics of system administration. I would recommend trying reading documentation for your operating system/distribution, using communities like </span><a href="https://serverfault.com/">https://serverfault.com/</a> or self-study - ArchLinux has a very good documentation that generally applies to most Linux distros.<span style="-webkit-text-size-adjust: auto; background-color: rgb(255, 255, 255);"><br></span><br>Ondřej<br><div dir="ltr"><div>--</div>Ondřej Surý — ISC</div><div dir="ltr"><br><blockquote type="cite">On 17 Mar 2020, at 06:15, ShubhamGoyal <shubhamgoyal@cdac.in> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div>
Dear sir,
</div>
<div>
I tried whatever you said
</div>
<div>
but it is not working.
</div>
<div>
please give me more solutions
</div>
<div>
</div>
<div>
</div>
<div>
<br>On March 16, 2020 at 8:55 PM bind-users-request@lists.isc.org wrote:
<br>> Send bind-users mailing list submissions to
<br>> bind-users@lists.isc.org
<br>>
<br>> To subscribe or unsubscribe via the World Wide Web, visit
<br>> https://lists.isc.org/mailman/listinfo/bind-users
<br>> or, via email, send a message with subject or body 'help' to
<br>> bind-users-request@lists.isc.org
<br>>
<br>> You can reach the person managing the list at
<br>> bind-users-owner@lists.isc.org
<br>>
<br>> When replying, please edit your Subject line so it is more specific
<br>> than "Re: Contents of bind-users digest..."
<br>>
<br>>
<br>> Today's Topics:
<br>>
<br>> 1. how can we restart bind-9.14.11 (ShubhamGoyal)
<br>> 2. Re: how can we restart bind-9.14.11 (Reindl Harald)
<br>> 3. Re: how can we restart bind-9.14.11 (Reindl Harald)
<br>> 4. Re: how can we restart bind-9.14.11 (Matus UHLAR - fantomas)
<br>>
<br>>
<br>> ----------------------------------------------------------------------
<br>>
<br>> Message: 1
<br>> Date: Mon, 16 Mar 2020 19:18:39 +0530 (IST)
<br>> From: ShubhamGoyal <shubhamgoyal@cdac.in>
<br>> To: bind-users@lists.isc.org
<br>> Subject: how can we restart bind-9.14.11
<br>> Message-ID:
<br>> <1350384105.17912.1584366519539.JavaMail.open-xchange@webmail.cdac.in>
<br>> Content-Type: text/plain; charset="utf-8"
<br>>
<br>> Dear sir,
<br>> I installed bind version 9.14.11 by tar file . it is
<br>> working okk.
<br>> i tried
<br>> 1. systemctl restart named
<br>> 2. /etc/rc.d/init.d/bind restart
<br>> 3. service named restart
<br>>
<br>> But I do not able to restart service.
<br>> please tell me how can i restart bind 9.14.11
<br>> Best Regards,
<br>> Shubham Goyal
<br>> Cyber Security Group
<br>> Centre for Development of Advanced Computing
<br>> Bangalore
<br>> ------------------------------------------------------------------------------------------------------------
<br>> [ C-DAC is on Social-Media too. Kindly follow us at:
<br>> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
<br>>
<br>> This e-mail is for the sole use of the intended recipient(s) and may
<br>> contain confidential and privileged information. If you are not the
<br>> intended recipient, please contact the sender by reply e-mail and destroy
<br>> all copies and the original message. Any unauthorized review, use,
<br>> disclosure, dissemination, forwarding, printing or copying of this email
<br>> is strictly prohibited and appropriate legal action will be taken.
<br>> ------------------------------------------------------------------------------------------------------------
<br>>
<br>> -------------- next part --------------
<br>> An HTML attachment was scrubbed...
<br>> URL: <https://lists.isc.org/pipermail/bind-users/attachments/20200316/14c4a50d/attachment-0001.htm>
<br>> -------------- next part --------------
<br>> A non-text attachment was scrubbed...
<br>> Name: signature.jpg
<br>> Type: image/jpeg
<br>> Size: 7789 bytes
<br>> Desc: not available
<br>> URL: <https://lists.isc.org/pipermail/bind-users/attachments/20200316/14c4a50d/attachment-0001.jpg>
<br>>
<br>> ------------------------------
<br>>
<br>> Message: 2
<br>> Date: Mon, 16 Mar 2020 14:58:47 +0100
<br>> From: Reindl Harald <h.reindl@thelounge.net>
<br>> To: bind-users@lists.isc.org
<br>> Subject: Re: how can we restart bind-9.14.11
<br>> Message-ID: <cf4d7b55-ed55-e24e-fe5a-44cc274eebce@thelounge.net>
<br>> Content-Type: text/plain; charset=utf-8
<br>>
<br>>
<br>>
<br>> Am 16.03.20 um 14:48 schrieb ShubhamGoyal:
<br>> > ?Dear sir,
<br>> > ?????????????????????????? I installed bind version 9.14.11 by tar file
<br>> > . it is working okk.
<br>> > ??????????????????????????? i tried
<br>> > ??????????????????????????? 1. systemctl restart named
<br>> > ???????????????????????????? 2.? /etc/rc.d/init.d/bind restart
<br>> > ???????????????????????????? 3.? service named restart
<br>> > ?
<br>> > ??????????????????????????? But I do not able to restart service.
<br>> > ????????????????????????????? please tell me how can i restart bind 9.14.11
<br>>
<br>> by write a simple systemd-unit and forget about /etc/rc.d and most
<br>> important: by not start it by hand to begin with because systemd has no
<br>> clue about random processes
<br>>
<br>> [root@srv-rhsoft:~]$ cat /etc/systemd/system/named.service
<br>> [Unit]
<br>> Description=DNS Server
<br>>
<br>> [Service]
<br>> Type=simple
<br>> ExecStart=/usr/sbin/named -4 -f -u named -t /var/named/chroot
<br>> ExecReload=/usr/bin/kill -HUP $MAINPID
<br>> ExecStop=/usr/bin/kill -TERM $MAINPID
<br>> TimeoutSec=25
<br>> Restart=always
<br>> RestartSec=1
<br>>
<br>> PrivateTmp=yes
<br>> ReadOnlyPaths=/etc
<br>> ReadOnlyPaths=/usr
<br>>
<br>>
<br>> [Install]
<br>> WantedBy=multi-user.target
<br>>
<br>>
<br>> ------------------------------
<br>>
<br>> Message: 3
<br>> Date: Mon, 16 Mar 2020 15:04:52 +0100
<br>> From: Reindl Harald <h.reindl@thelounge.net>
<br>> To: bind-users@lists.isc.org
<br>> Subject: Re: how can we restart bind-9.14.11
<br>> Message-ID: <691d134a-ab92-1599-0c7d-83928bd26ca3@thelounge.net>
<br>> Content-Type: text/plain; charset=utf-8
<br>>
<br>>
<br>>
<br>> Am 16.03.20 um 14:58 schrieb Reindl Harald:
<br>> >
<br>> >
<br>> > Am 16.03.20 um 14:48 schrieb ShubhamGoyal:
<br>> >> ?Dear sir,
<br>> >> ?????????????????????????? I installed bind version 9.14.11 by tar file
<br>> >> . it is working okk.
<br>> >> ??????????????????????????? i tried
<br>> >> ??????????????????????????? 1. systemctl restart named
<br>> >> ???????????????????????????? 2.? /etc/rc.d/init.d/bind restart
<br>> >> ???????????????????????????? 3.? service named restart
<br>> >> ?
<br>> >> ??????????????????????????? But I do not able to restart service.
<br>> >> ????????????????????????????? please tell me how can i restart bind 9.14.11
<br>> >
<br>> > by write a simple systemd-unit and forget about /etc/rc.d and most
<br>> > important: by not start it by hand to begin with because systemd has no
<br>> > clue about random processes
<br>> >
<br>> > [root@srv-rhsoft:~]$ cat /etc/systemd/system/named.service
<br>> > [Unit]
<br>> > Description=DNS Server
<br>> >
<br>> > [Service]
<br>> > Type=simple
<br>> > ExecStart=/usr/sbin/named -4 -f -u named -t /var/named/chroot
<br>> > ExecReload=/usr/bin/kill -HUP $MAINPID
<br>> > ExecStop=/usr/bin/kill -TERM $MAINPID
<br>> > TimeoutSec=25
<br>> > Restart=always
<br>> > RestartSec=1
<br>> >
<br>> > PrivateTmp=yes
<br>> > ReadOnlyPaths=/etc
<br>> > ReadOnlyPaths=/usr
<br>> >
<br>> >
<br>> > [Install]
<br>> > WantedBy=multi-user.target
<br>>
<br>> adjust "ExecStart=/usr/sbin/named -4 -f -u named -t /var/named/chroot"
<br>> to match your path and most likely remove the "-t" (chroot) option
<br>> unless you provide ExecStartPre stuff is stripped out by purpose
<br>>
<br>> a simple systemd unit looks like below
<br>>
<br>> -f Run the server in the foreground (i.e. do not daemonize)
<br>>
<br>> foreground is needed for "Type=simple" so that the process don't fork -
<br>> no need to do so unless you have services strictly ordered after
<br>> named.service
<br>>
<br>> --------------------------------------
<br>>
<br>> [Unit]
<br>> Description=DNS Server
<br>>
<br>> [Service]
<br>> Type=simple
<br>> ExecStart=/path/your-binary
<br>>
<br>> [Install]
<br>> WantedBy=multi-user.target
<br>>
<br>> --------------------------------------
<br>>
<br>>
<br>> ------------------------------
<br>>
<br>> Message: 4
<br>> Date: Mon, 16 Mar 2020 16:25:19 +0100
<br>> From: Matus UHLAR - fantomas <uhlar@fantomas.sk>
<br>> To: bind-users@lists.isc.org
<br>> Subject: Re: how can we restart bind-9.14.11
<br>> Message-ID: <20200316152519.GB2597@fantomas.sk>
<br>> Content-Type: text/plain; charset=us-ascii; format=flowed
<br>>
<br>> On 16.03.20 19:18, ShubhamGoyal wrote:
<br>> > I installed bind version 9.14.11 by tar file .
<br>>
<br>> why tar file?
<br>>
<br>> > it is
<br>> >working okk.
<br>>
<br>> > i tried
<br>> > 1. systemctl restart named
<br>> > 2. /etc/rc.d/init.d/bind restart
<br>> > 3. service named restart
<br>> >
<br>> > But I do not able to restart service.
<br>> > please tell me how can i restart bind 9.14.11
<br>>
<br>> maybe your OS distribution provides debian that is maintained by their
<br>> mainrainers.
<br>>
<br>> When you install from tar file, you must maintain it yourself (fix security
<br>> bugs etc).
<br>>
<br>> I recommend installing from distro.
<br>> --
<br>> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
<br>> Warning: I wish NOT to receive e-mail advertising to this address.
<br>> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
<br>> Chernobyl was an Windows 95 beta test site.
<br>>
<br>>
<br>> ------------------------------
<br>>
<br>> Subject: Digest Footer
<br>>
<br>> _______________________________________________
<br>> bind-users mailing list
<br>> bind-users@lists.isc.org
<br>> https://lists.isc.org/mailman/listinfo/bind-users
<br>>
<br>>
<br>> ------------------------------
<br>>
<br>> End of bind-users Digest, Vol 3393, Issue 1
<br>> *******************************************
</div>
<div id="ox-signature">
Best Regards,
<br>Shubham Goyal
<br>Cyber Security Group
<br>Centre for Development of Advanced Computing
<br>Bangalore
</div>
<br>
<div><signature.jpg></div>
<br>
<br>------------------------------------------------------------------------------------------------------------
<br>[ C-DAC is on Social-Media too. Kindly follow us at:
<br>Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
<br>
<br>This e-mail is for the sole use of the intended recipient(s) and may
<br>contain confidential and privileged information. If you are not the
<br>intended recipient, please contact the sender by reply e-mail and destroy
<br>all copies and the original message. Any unauthorized review, use,
<br>disclosure, dissemination, forwarding, printing or copying of this email
<br>is strictly prohibited and appropriate legal action will be taken.
<br>------------------------------------------------------------------------------------------------------------
<span>_______________________________________________</span><br><span>Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list</span><br><span></span><br><span>bind-users mailing list</span><br><span>bind-users@lists.isc.org</span><br><span>https://lists.isc.org/mailman/listinfo/bind-users</span><br></div></blockquote></div></body></html>