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.