Re: bind-users Digest, Vol 3393, Issue 1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: bind-users Digest, Vol 3393, Issue 1

ShubhamGoyal
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 [hidden email] wrote:
> Send bind-users mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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 <[hidden email]>
> To: [hidden email]
> Subject: how can we restart bind-9.14.11
> Message-ID:
> <[hidden email]>
> 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 <[hidden email]>
> To: [hidden email]
> Subject: Re: how can we restart bind-9.14.11
> Message-ID: <[hidden email]>
> 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@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 <[hidden email]>
> To: [hidden email]
> Subject: Re: how can we restart bind-9.14.11
> Message-ID: <[hidden email]>
> 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@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 <[hidden email]>
> To: [hidden email]
> Subject: Re: how can we restart bind-9.14.11
> Message-ID: <[hidden email]>
> 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, [hidden email] ; 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
> [hidden email]
> 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

150th Anniversary Mahatma Gandhi

------------------------------------------------------------------------------------------------------------
[ 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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users
Reply | Threaded
Open this post in threaded view
|

Re: bind-users Digest, Vol 3393, Issue 1

Ondřej Surý
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 <[hidden email]> 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 [hidden email] wrote:

> Send bind-users mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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 <[hidden email]>
> To: [hidden email]
> Subject: how can we restart bind-9.14.11
> Message-ID:
> <[hidden email]>
> 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 <[hidden email]>
> To: [hidden email]
> Subject: Re: how can we restart bind-9.14.11
> Message-ID: <[hidden email]>
> 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@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 <[hidden email]>
> To: [hidden email]
> Subject: Re: how can we restart bind-9.14.11
> Message-ID: <[hidden email]>
> 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@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 <[hidden email]>
> To: [hidden email]
> Subject: Re: how can we restart bind-9.14.11
> Message-ID: <[hidden email]>
> 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, [hidden email] ; 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
> [hidden email]
> 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
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/bind-users