LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09: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, 11:40 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,201
Blog Entries: 1

Rep: Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058Reputation: 2058
Hi,

You can add the option you want in /etc/sysconfig/named:
Code:
OPTIONS="-4"
Regards
 
Old 01-11-2010, 12: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 01: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 07:49 PM
ffmpeg enable options rocksniffer Linux - Software 2 01-22-2006 04:32 PM
enable xfce actions menu options TheOneAndOnlySM Slackware 1 07-12-2005 12:08 PM
auto and bind options in fstab kaplan71 Linux - Networking 1 05-18-2005 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:16 AM.

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
Open Source Consulting | Domain Registration