nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Shell Script For Dns BIND Server Configuration

This is a discussion on Shell Script For Dns BIND Server Configuration within the Shell scripting forums, part of the Development/Scripting category; hi, i need a shell script for configuring dns in RHEL-5. I`m not used with shell scripts but i`m used ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Linux answers from nixCraft.


Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-03-2009, 05:17 PM
Junior Member
User
 
Join Date: Mar 2009
OS: RHEL-5
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ramjgn is on a distinguished road
Default Shell Script For Dns BIND Server Configuration

hi, i need a shell script for configuring dns in RHEL-5. I`m not used with shell scripts but i`m used with working under Linux environment. Kindly do post me a shell script that will automate my DNS configuration. I can do it manually but i need a script to automate the process. Kindly post me one. I need for RedHat Enterprise Linux -5.
Thanks in advance
Ramajagan.S
Reply With Quote
  #2 (permalink)  
Old 24-03-2009, 05:24 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Are you talking about zone configuration or named.conf dns server configuration itself?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 24-03-2009, 05:41 PM
Junior Member
User
 
Join Date: Mar 2009
OS: RHEL-5
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ramjgn is on a distinguished road
Default dns shell

the entire confiuration!!! the names in the one files should be prompted for and the copying of named.caching-nameserver.conf to named.conf should be done automatically
Reply With Quote
  #4 (permalink)  
Old 24-03-2009, 05:43 PM
Junior Member
User
 
Join Date: Mar 2009
OS: RHEL-5
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ramjgn is on a distinguished road
Default

i mean the names in zone files should be prompted for!!! entries in the zone file and related entries should be prompted for!!! remaining things should be automated.
Reply With Quote
  #5 (permalink)  
Old 24-03-2009, 06:32 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Okai, try the following script from out shell scripting directory section:
  1. Shell Script To Create BIND Zone Files
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply

Tags
bind , named , rhel5 , shell , shell scripting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Shell Script To Create Network Configuration Murray Shell scripting 4 17-02-2009 05:40 PM
Shell BIND NAMED Zone Creation Script asim.mcp Shell scripting 4 13-02-2009 04:51 PM
Tomcat shell script cron job to restart server kasimani Shell scripting 4 03-05-2008 07:46 PM
Shell script to perform operation on remote server vivekv Shell scripting 3 24-10-2007 12:10 AM
Ubuntu Linux setup and configure a domain name server - BIND tom Getting started tutorials 1 10-08-2006 05:20 PM


All times are GMT +5.5. The time now is 01:05 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38