Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Fedora Core 8 DNS Error?
PostPosted: Sun Nov 18, 2007 4:13 pm 
Offline
Senior Newbie

Joined: Thu Aug 16, 2007 10:58 pm
Posts: 10
Hello all, I recently noticed the lovely new Fedora C8 in the 'Deploy a Linux Distro' feature. However, I believe to have found an error. I installed, configured, and started up bind-chroot, and it works... locally. The ports are open, and the service is running. But, when I try to connect remotely, the ports 53/953 show up as closed, even according to nmap. I even tried deploying DNS as a stand-a-lone on a fresh drive; same error. I know this doesn't have to do with iptables, because they're set to completely disable the firewall.

Any concepts on what's happening?


Top
   
 Post subject:
PostPosted: Sun Nov 18, 2007 7:01 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
Are you sure you configured the DNS server to listen on the external address? I think by default bind is configured as a local caching-only server.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Sun Nov 18, 2007 7:57 pm 
Offline
Senior Newbie

Joined: Thu Aug 16, 2007 10:58 pm
Posts: 10
Thanks for the response, and well, I configured DNS/Named as a fc8 document stated. A similar process was used on fc6, and worked just fine. I might just end up installing Bind8 over Bind9, and see what happens.

[edit] On second thought, I have a feeling that this might be due to linode's fc8's network settings, and not Bind. Because, even if DNS was not allowing remote connections, the port should still be open, remotely. Unless network settings were blocking it, no?


Top
   
 Post subject: re FC8 + bind
PostPosted: Mon Nov 19, 2007 9:09 am 
Offline
Junior Member

Joined: Thu Nov 08, 2007 12:40 am
Posts: 34
I have it running OK. Make sure your iptables allows bind. The default setup for iptables blocks many ports. Also if you enabled selinux you might have a problem there too.

fb


Top
   
 Post subject:
PostPosted: Mon Nov 19, 2007 4:46 pm 
Offline
Senior Newbie

Joined: Thu Aug 16, 2007 10:58 pm
Posts: 10
Ah, thanks, that's encouraging to hear. Well, I thought I had iptables allowing everything. If you don't mind, could you pass your setup? I can't seem to get this working. :?


Top
   
 Post subject: re setup
PostPosted: Mon Nov 19, 2007 5:29 pm 
Offline
Junior Member

Joined: Thu Nov 08, 2007 12:40 am
Posts: 34
Mine is kind of complicated as it is a secondary slave nameserver to my dedicated.

Just do 'service iptables stop' or iptables -F and try it. I am not actually using Fedora 8 on the linode right now. I have two images..Centos 5 and Fedora 8 both configured the same. I am running a Fedoral 8 desktop here at home with bind running also. If you are not getting errors with bind, then it must be working. The if you look at /var/log/messages just after you restart bind you should get some real good clues if there is a problem.

Try dig @localhost google.com and see the result.

If you need details, tell me what you need.

Fred B.


Top
   
 Post subject:
PostPosted: Mon Nov 19, 2007 5:57 pm 
Offline
Senior Newbie

Joined: Thu Aug 16, 2007 10:58 pm
Posts: 10
Awesome, man! After checking out the /var/log/messages, it said it was only listening on specific addresses, so after I checked out /etc/named.conf, it turns out my previous copy didn't write over... well partly. Bad Copy&Paste? Heh. Well sorry for the disturbances, everything is just peachy now, thanks people! =D


Top
   
 Post subject: re FC8 + bind
PostPosted: Mon Nov 19, 2007 6:38 pm 
Offline
Junior Member

Joined: Thu Nov 08, 2007 12:40 am
Posts: 34
Great..BTW. If your running bind-chroot, /etc/named.conf is usually a ln from /var/named/chroot/etc. or at least it should be.

Fred B.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group