hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Restart script for named
Reply

Forum Jump

Restart script for named

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-10-2001, 08:42 PM
Racin' Rob Racin' Rob is offline
Junior Guru
 
Join Date: Aug 2000
Location: Saint John, New Brunswick, Canada
Posts: 211
I am a novice when it comes to cron.

I have added the following file to my cron.daily directory. Will it restart named on a daily basis?

#!/bin/sh

/usr/local/plesk/namedb/named restart


TIA,


[Edited by Racin' Rob on 02-10-2001 at 07:47 PM]

__________________
Racin' Rob
http://www.racin.net
640 Kilobytes of computer memory ought to be enough for anybody.
-- Bill Gates, 1981



Sponsored Links
  #2  
Old 02-10-2001, 09:03 PM
cperciva cperciva is offline
Retired Moderator
 
Join Date: Jan 2001
Posts: 2,603
Provided that you have crond running, yes.

And unless you're running an exceptionally bizzare distribution, crond will be running by default.

  #3  
Old 02-20-2001, 02:32 PM
iboxhosting iboxhosting is offline
Newbie
 
Join Date: Jan 2001
Posts: 14
What distro do you have?

Named or BIND 9 is started automatically at boot time which would be much better for you. Because if you start your server at 10:10 AM and cron is set to start it at 3:00 that is some hours DNS services won't be available.

YOu need to have it started in your systems startup scripts so that when you boot the system its up and running.


__________________
iBoxHosting.com - WebHosting for as little as .16 cents per day. Quality and Reliable Services

Sponsored Links
  #4  
Old 02-20-2001, 02:54 PM
Keen Keen is offline
New Member
 
Join Date: Feb 2001
Location: Germany, Frankfurt
Posts: 4
Lightbulb

Quote:
Originally posted by iboxhosting
Named or BIND 9 is started automatically at boot time which would be much better for you. Because if you start your server at 10:10 AM and cron is set to start it at 3:00 that is some hours DNS services won't be available.
YOu need to have it started in your systems startup scripts so that when you boot the system its up and running.
However, he just wants to restart named on a daily basis. There is a need of restarting named after adding/changing entries in order to make them working.
Sure, named it started at boot time automaticaly.
There are linux machines which work for 60 days or even longer without a restart...

  #5  
Old 02-20-2001, 03:27 PM
iboxhosting iboxhosting is offline
Newbie
 
Join Date: Jan 2001
Posts: 14
In that case... the cron would be fine

__________________
iBoxHosting.com - WebHosting for as little as .16 cents per day. Quality and Reliable Services

  #6  
Old 02-21-2001, 12:26 PM
elsmore1 elsmore1 is offline
Junior Guru
 
Join Date: Nov 2000
Location: Moran, Ks
Posts: 186
Rather than restarting named, you might investigate ndc ("Named Daemon Control") with a reload to just reload changed zones or add new ones, especially if you serve a lot of zones. Documentation is pretty scarce, but try "/usr/sbin/ndc reload" to see if that does the trick for ya. You might find that you could run that hourly or every 15 minutes to update your zones, rather than once a day.

  #7  
Old 03-17-2001, 10:12 AM
ckizer ckizer is offline
Aspiring Evangelist
 
Join Date: Mar 2001
Location: The Office
Posts: 352
ahh

Restarting once a day? Bad Bad!

Reply

Related posts from TheWhir.com
Title Type Date Posted
Service Providers Push Updates to Fight OpenSSL Heartbleed Bug Web Hosting News 2014-05-01 08:31:27
Web Hosting Sales and Promos Roundup - December 6, 2013 Web Hosting News 2014-05-23 15:42:37
CyrusOne to Build Second Data Center in San Antonio Web Hosting News 2013-08-08 14:40:08
OpenStack and the AWS API Debate Web Hosting News 2014-05-09 12:40:29
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2014-05-09 12:40:35


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?