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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-29-2008, 09:47 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2008
Posts: 2
Rep:
|
"no servers could be reached" - on my dns setup (fedora)
Greetings to everybody. Its my first time to post. Im having problem configuring my dns. I used "dig" (i used another machine) to test my dns server, I just always get this message "no servers could be reached".
I would really appreciate any help. Im struggling on dns. Thanks.
|
|
|
|
07-29-2008, 03:05 PM
|
#2
|
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,671
|
Need more info (and then I'm not sure I can help): - Are you trying to run BIND as your DNS server (this is probably a mistake, but we'll go with it for the minute)?
- Is bind (or whatever) running
- Any error messages when you tried to run it in a shell? Anything in logs?
- I'm guessing that you are only using it to resolve external (internaet) hostnames. Is this correct? If not, what are you trying to cache.
You might also want to say why you think this is a good idea (i.e., what are you trying to achieve). Is this on a Red Hat box? Two network interfaces and no DMZ?
|
|
|
|
07-29-2008, 10:39 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2008
Posts: 2
Original Poster
Rep:
|
Im am using BIND8, running on Fedora5. My bind is running good (based on my tests) on my dns server itself (server ip 192.168.1.100). "dig" and "nslookup" are giving the right answers - within the dns server itself. But when i use my other redhat box (connected locally with ip 192.168.1.2), i get "no servers could be reached".
Here are portions of my bind configuration. The info might help...
-------------------------
file: /etc/named.conf
-------------------------
options {
directory "/var/named";
query-source address * port 53;
forward first;
forwarders {
202.138.128.54; // the primary dns of my isp
202.138.128.50 // secondary dns of isp
};
allow-query { 192.168.1.7; localhost; };
allow-recursion { 192.168.1.7; localhost;};
};
controls {
inet 127.0.0.1 allow {localhost;} keys {rndckey;};
};
zone "localhost" IN{
type master;
file "localhost.zone";
allow-update {none;};
};
zone "bagabaglinux.com" {
type master;
notify no;
file "bagabaglinux.com";
};
Note: i excluded reverse dns for zone "0.0.127.in-addr.arpa" and the likes for brevity.
------------------------------------------------
file: /var/named/chroot/var/named/named.local
------------------------------------------------
$TTL 3D
@ IN SOA ns.bagabaglinux.com hostmaster.bagabaglinux.com. (
1 ; serial
....
NS ns.bagabaglinux.com.
1 PTR localhost.
-------------------------------------------------
file: /var/named/chroot/var/named/bagabaglinux.com
-------------------------------------------------
; zone file for bagabaglinux.com
$TTL 3D
@ IN SOA ns.bagabaglinux.com. hostmaster.bagabaglinux.com (
2008071614; serial
...
NS ns; Inet address of name server
MX 10 mail ; primary mail exchanger
localhost A 127.0.0.1
gw A 192.168.1.1
ns A 192.168.1.100
MX 10 mail
www CNAME ns
mail A 192.168.1.100
MX 10 mail
herb A 192.168.1.2
-----------------------------------------------------
These are my configurations. I used my other linux box "herb" with ip 192.168.1.2, and issued dig to check my dns server. There the message goes "no servers could be reached".
Im planin to use this name server to resolve local and external (internet) queries.
I would appreciate any help... Thanks...
|
|
|
|
07-30-2008, 12:49 AM
|
#4
|
|
Member
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252
Rep:
|
make sure your pc client connected on the network is using the private DNS. in linux it is located on /etc/resolv.conf.
digitelone is from philipine right?
|
|
|
|
07-30-2008, 10:12 AM
|
#5
|
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,671
|
Quote:
|
Im am using BIND8, running on Fedora5.
|
Bind 8??? Isn't that rather long in the tooth? Fedora is currently on 9.5.1 and the oldest I can find reference to on the distrowatch Fedora page is 9.2.2-P3. Remember that a substantial number of those minor version bumps will have been for things that could cause a security issue (maybe there weren't exploits for each of those at the time, but with something as old as Bind 8 that's hardly an issue)...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:40 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|