LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-30-2005, 08:34 AM   #1
atomicx
Member
 
Registered: Oct 2003
Posts: 48

Rep: Reputation: 15
Reverse DNS Problems/Setup


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

Last edited by atomicx; 06-30-2005 at 10:43 AM.
 
Old 06-30-2005, 12:19 PM   #2
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
I just completely said somethin stupid...
Never mind, i will look in to it for you...

Last edited by Satriani; 06-30-2005 at 12:22 PM.
 
Old 07-01-2005, 08:42 AM   #3
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Can you get any record whatsoever from your DNS server?
 
Old 07-01-2005, 09:06 AM   #4
atomicx
Member
 
Registered: Oct 2003
Posts: 48

Original Poster
Rep: Reputation: 15
I looks like I can get everything but the reverse DNS.

Is there anything specific you want me to try?
 
Old 07-01-2005, 01:32 PM   #5
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 30
atomicx

I assume cox.net are your ISP ?

I'm afraid they control the reverse zone of your IP

Code:
server2 root # dig -x 68.226.73.177 ptr

; <<>> DiG 9.2.5 <<>> -x 68.226.73.177 ptr
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15400
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;177.73.226.68.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:
177.73.226.68.in-addr.arpa. 86400 IN    PTR     wsip-68-226-73-177.om.om.cox.net.

;; AUTHORITY SECTION:
73.226.68.in-addr.arpa. 86400   IN      NS      ns1.coxmail.com.
73.226.68.in-addr.arpa. 86400   IN      NS      ns2.coxmail.com.

;; ADDITIONAL SECTION:
ns1.coxmail.com.        172800  IN      A       68.99.120.55
ns2.coxmail.com.        172800  IN      A       68.99.122.62

;; Query time: 896 msec
;; SERVER: 192.168.0.11#53(192.168.0.11)
;; WHEN: Fri Jul  1 19:25:55 2005
;; MSG SIZE  rcvd: 169
Pete
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
No reverse DNS??? DragonM15 Linux - Networking 5 11-22-2005 12:06 AM
Reverse DNS Webbie Linux - Networking 4 10-10-2005 07:49 PM
DNS setup problems Maintech Mandriva 5 12-20-2004 11:46 AM
Reverse DNS Pyro2k4 Linux - Networking 8 09-06-2004 04:59 PM
DNS reverse lookup problems... pdmackenzie Linux - Networking 2 09-19-2003 05:00 PM


All times are GMT -5. The time now is 02:08 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration