Hey guys,
I'm having a problem setting up Reverse DNS on my DNS server. I'm a bit confused on how to do it.
Here are my config files.
/################################
named.conf
/################################
options {
allow-query { 68.226.73.177; localhost; };
allow-recursion { 68.226.73.177; localhost; };
//Remember, this is already CHROOTed. /var/named IS correct
directory "/var/named";
//Do NOT have the server listening on localhost or the internal interface
listen-on port 53 {
68.226.73.177;
};
listen-on port 53 {
192.168.0.112;
};
listen-on port 53 {
127.0.0.1;
};
};
// Controls
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndckey"; };
};
// RNDCKEY setup
key "rndckey" {
algorithm hmac-md5;
secret "c6JlAQv+G0gYqXB4TzEhWw==";
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "pz/127.0.0";
};
// Reverse Zone Setup
zone "73.226.68.in-addr.arpa" IN {
allow-query { any; };
type master;
notify no;
file "pz/68-226-73";
};
logging {
// leave current logging channels here
channel query_info {
file "named_query.log" versions 3 size 40m;
severity debug;
print-category yes;
print-time yes;
};
category queries { query_info; };
category resolver { query_info; };
//category queries { null; };
} ;
// end of logging stanza
include "forward.conf";
/################################
pz/68-226-73
/################################
$TTL 3D
@ IN SOA ns1.techovations.com. postmaster.techovations.com. (
199802151 ; Serial, todays date + todays serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D) ; Minimum TTL
NS ns1.techovations.com.
177 PTR ns1.techovations.com.
177 PTR
www.atomicxterra.com.
177 PTR mail.atomicxterra.com.
/################################
forward.conf
/################################
// Forward Zone Setup for atomicxterra.com
zone "atomicxterra.com" IN {
type master;
notify no;
allow-query { any; };
file "atomicxterra.zone";
};
/################################
atomicxterra.zone
/################################
;
; Zone file for atomicxterra.com
;
; The full zone file
;
$ttl 38400
atomicxterra.com. IN SOA ns1.techovations.com. postmaster.techovations.com. (
1120081750 ; serial number
7200 ; refresh, seconds
3600 ; retry, seconds
604800 ; expire, seconds
38400 ) ; minimum, seconds
;
NS ns1.techovations.com.
MX 10 atomicxterra.com.
atomicxterra.com. A 68.226.73.177
www A 68.226.73.177
football A 68.226.73.177
xterra A 68.226.73.177
mail A 68.226.73.177
When I run the the dnsreport at dnsreport.com I get these 2 errors.
MX FAIL Reverse DNS entries for MX records ERROR: None of your mail server(s) seem to have reverse DNS (PTR) entries (I didn't get any responses for them). RFC1912 2.1 says you should have a reverse DNS for all your mail servers. It is strongly urged that you have them, as many mailservers will not accept mail from mailservers with no reverse DNS entry. You can double-check using the 'Reverse DNS Lookup' tool at the DNSstuff site (it contacts your servers in real time; the reverse DNS lookups in the DNS report use our local caching DNS server).
Mail FAIL Connect to mail servers ERROR: I could not complete a connection to any of your mailservers!
atomicxterra.com: Could not connect without glue or A record.
If this is a timeout problem, note that the DNS report only waits about 30 seconds for responses, so your mail may work fine in this case but you will need to use testing tools specifically designed for such situations.
You can see the actual errors if you click this link.
http://www.dnsreport.com/tools/dnsreport.ch?domain=www.atomicxterra.com
I have a couple domains that all point to the same name server and ip.
I'm using FC2 with chroot named service.
Thanks
Troy