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