LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-21-2005, 07:32 AM   #1
norus
LQ Newbie
 
Registered: Feb 2005
Location: Internet
Posts: 25

Rep: Reputation: 15
Problems with resolving my website. Need help with BIND


Howdy.
I have a server running both BIND and Apache. The server is connected to a d-link router (di-514) which is then connected to a adsl-modem.

There is a domain (cersus.net (83.108.144.60). It does not resolve unless I set my server in DMZ. But to expose it like this is extremely stupid. So... When the server is in DMZ, then www.cersus.net is working. When I remove the server from DMZ and open only needed ports: 53 and 80, the site becomes inaccessible. It works if I try http://83.108.144.60 but not if www.cersus.net

Here is some output:
-------------------------------------
/etc/named.conf
-------------------------------------
options {
directory "/etc";

};

zone "." {
type hint;
file "/var/named/named.ca";
};

zone "cersus.net" {
type master;
file "/var/named/cersus.net";
};


-------------------------------------
nmap cersus.net
-------------------------------------
PORT STATE SERVICE
22/tcp open ssh
25/tcp closed smtp
53/tcp open domain
80/tcp open http
88/tcp open kerberos-sec
-------------------------------------

So, I guess, the problem is in BIND confg. Please, help.
 
Old 10-21-2005, 09:05 AM   #2
norus
LQ Newbie
 
Registered: Feb 2005
Location: Internet
Posts: 25

Original Poster
Rep: Reputation: 15
No one knows?
 
Old 10-21-2005, 09:12 AM   #3
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,607

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Mind that bind uses both tcp/udp port 53 so you have to open both
 
Old 10-21-2005, 09:19 AM   #4
norus
LQ Newbie
 
Registered: Feb 2005
Location: Internet
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bathory
Mind that bind uses both tcp/udp port 53 so you have to open both
It worked! Thank you very much.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
more resolving host problems rmindell Mandriva 0 03-13-2005 01:24 PM
Bind not resolving .org domains ggandy Linux - Networking 0 11-23-2004 05:16 PM
DNS Resolving Problems Rouier Linux - General 1 06-21-2004 10:22 AM
DNS Resolving Problems Rouier Linux - Wireless Networking 0 06-21-2004 09:49 AM
BIND only resolving domain if no "www." noisybastard Linux - Networking 2 11-04-2003 08:19 AM


All times are GMT -5. The time now is 02:42 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration