Hello, i am having a strange problem. I own the domain bellancomputer.com which is managed through GoDaddy. I have CentOS installed on a Dell Precision 530. The machine has two nic's, one for internet and one to serve my network (DHCP). I installed bind at the time of installation as well as caching-nameserver after the fact. I set up named.conf and my zone file and it seems to work when i dig the machine from within the network, it returns answers but when i dig it from a remote machine there is no response. I tried forwarding through my isp's dns servers and i purchased a static ip which opens all ports. If i use the tool at pingabiity.com i get a semi-response. It sees my mx records but none else (such as A records or WWW). Files are below:
zone file:
$ttl 38400
bellancomputer.com. IN SOA ns1.bellancomter.com. admin.bellancomputer.com. (
2007020400 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
bellancomputer.com. IN NS ns1.bellancomputer.com.
bellancomputer.com. IN MX 1 mx.bellancomputer.com.
bellancomputer.com. IN A xxx.xxx.xxx.xxx
ns1.bellancomputer.com. IN A xxx.xxx.xxx.xxx
mx.bellancomputer.com. IN A xxx.xxx.xxx.xxx
mail.bellancomputer.com. IN CNAME mx.bellancomputer.com.
www.bellancomputer.com. IN CNAME bellancomputer.com.
--------------------------------------------------------------------
named.conf:
#/var/named/chroot/etc/named.conf
// we include the rndckey (copy-paste from rndc.key created earlier)
key "rndckey" {
algorithm hmac-md5;
secret "SGsvd1dF+mv+yU4ywCCkkg==";
};
// we assume our server has the IP serving the 255.255.255.0/24 subnet
controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { "rndckey"; };
inet 216.15.121.28 allow { 255.255.255.0/24; } keys { "rndckey"; };
};
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
recursion yes;
allow-recursion {
127.0.0.1;
xxx.xxx.xxx.0/24;
};
// these are the opendns servers (optional)
forwarders {
207.172.3.8;
207.172.3.9;
};
listen-on {
127.0.0.1;
xxx.xxx.xxx.xxx;
};
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
query-source address * port 53;
// so people can't try to guess what version you're running
version "REFUSED";
allow-query {
127.0.0.1;
xxx.xxx.xxx.0/24;
};
};
server 216.15.121.28 {
keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
// we assume we have a slave dns server with the IP 192.168.254.101
zone "bellancomputer.com" IN {
type master;
file "data/test.be.zone";
allow-update { none; };
};