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 12-10-2010, 01:20 PM   #1
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Rep: Reputation: 21
BIND dns wont work


i just installed bind on my fedora 14 machine.and it work perfectly on the local-host, but my others machines can't use it.

any suggestions?

by the way,I've already opened the port 53 .
 
Old 12-10-2010, 01:21 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Any error messages?

Kind regards
 
Old 12-10-2010, 01:26 PM   #3
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
no error messages!!
 
Old 12-10-2010, 01:28 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
what happens if you do
Code:
nslookup google.com
in a terminal from the clients?

Did you allowed your network to use the nameserver?
Edit or add the following in /etc/bind/named.conf
Code:
allow-query { SomeIP ; 127.0.0.1; };
127.0.0.1 allows queries from your localhost. By adding 192.168.0.0/24, you will allow other machines on your local netwerk to use your local DNS-server.

restart bind

Kind regards

Last edited by repo; 12-10-2010 at 01:35 PM.
 
Old 12-10-2010, 01:39 PM   #5
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
You need a zone file for your internal network. Right now bind is only running on loopback.
 
Old 12-10-2010, 01:42 PM   #6
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
from another machine,nslookup gives me:

Query refused.
 
Old 12-10-2010, 02:24 PM   #7
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Original Poster
Rep: Reputation: 21
Perfect,I added 192.168.1.0/24 to allow-query,and it Works just fine

thx guys a lot.
 
Old 12-11-2010, 05:04 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Originally Posted by ilvista View Post
Perfect,I added 192.168.1.0/24 to allow-query,and it Works just fine

thx guys a lot.
You can mark the thread solved using the thread tools.

Kind regards
 
  


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
Bind.DNS Help needed on Split DNS server manya Linux - Server 3 10-28-2010 09:39 AM
How to get Windows Clients to be served DNS from a Linux BIND-DNS Server texmansru47 Linux - Networking 12 07-10-2008 08:06 PM
LXer: DNS: The Bind Leading the Bind LXer Syndicated Linux News 0 06-15-2006 11:33 PM
Fedora Core 4 DHCPD and BIND, cannot get Dynamic DNS to work trainpic Linux - Networking 2 02-25-2006 05:27 PM
dns wont work dilberim82 Linux - Networking 11 12-27-2001 11:29 AM


All times are GMT -5. The time now is 03:59 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