LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2010, 10:56 AM   #1
martdj2
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Rep: Reputation: 0
enable startup options on Bind on Fedora


Hi all,
I've just configured a bind server for my home domain on Fedora 12. One thing that's buggering me is that Bind tries to do its lookups first with IPv6, which fails and then falls back to IPv4. This seems to me an unnecessary use of resources, so I'd like to turn this off. This is possible by using the option named -4, but there comes the part where I'm an absolute newbie. the Named start/stop script is defined in the /etc/rc.d/init.d dir, but how can I get Fedora to start this script with the named -4 option?
 
Old 01-11-2010, 12:40 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,602

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
Hi,

You can add the option you want in /etc/sysconfig/named:
Code:
OPTIONS="-4"
Regards
 
Old 01-11-2010, 01:06 PM   #3
martdj2
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Original Poster
Rep: Reputation: 0
That did the trick. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use --enable --disable options in rpm varewoolf Linux - Software 5 06-25-2009 02:02 AM
Bind problem: config files are missing after re-install bind 9.5 on Fedora Core 8 elvisious Linux - Software 1 07-15-2008 08:49 PM
ffmpeg enable options rocksniffer Linux - Software 2 01-22-2006 05:32 PM
enable xfce actions menu options TheOneAndOnlySM Slackware 1 07-12-2005 01:08 PM
auto and bind options in fstab kaplan71 Linux - Networking 1 05-18-2005 09:58 AM


All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration