943,548 Members | Top Members by Rank

  • Networking Discussion Thread
  • Marked Solved
  • Views: 3102
  • Networking RSS
Aug 7th, 2008
0

hosting reverse dns for partial IP block

Expand Post »
I have a client that I am hosting DNS for and their ISP delegated part of a /24 block to my dns servers for reverse dns. So basically I have a block of x.x.x.64/27 delegated to my dns servers. I'm not sure of the syntax for the zone for a partial block. I did setup a full block for the full /24 block and locally reverse dns works for the IP addresses in question. However, inbound queries seem to fail since various tests (aol in particular) still fail externally. My problem, of course, is that most of the major ISPs will not accept mail from the locally hosted email server because the reverse dns query is failing.

Anyone have the syntax for a CIDR partial block reverse zone?

Thanks,

Craig
Reputation Points: 10
Solved Threads: 0
Newbie Poster
crussell19 is offline Offline
2 posts
since Mar 2008
Aug 9th, 2008
0

Re: hosting reverse dns for partial IP block

Please correct me If I am wrong, do you
mean to say that the ISP service from which you receive internet service doesnot accept mails from the Mail Server in your local network?
Well this could be because your ISP Service
is not recognizing the Mail Server in your local network.

The ISP Service must have the DNS enteries of your Mail Server in its DNS Server.
The forward lookup zone which converts fully qualified domain name into IP address and reverse lookup zone which does the reverse.
Reputation Points: 10
Solved Threads: 14
Posting Whiz in Training
Frank Wallis is offline Offline
217 posts
since Jul 2008
Aug 9th, 2008
0

Re: hosting reverse dns for partial IP block

No, my ISP offers basic service. Basically, my client is buying a T1 from them with a /30 block for our gateway and theirs and a /27 block of static IPs to do with as we please. We are hosting an email server and a web server on that static block. In terms of the ISPs that were not accepting mail, it was every major ISP and they were rejecting us with the message "Reverse dns query failed, we require reverse dns to accept mail". So I called our isp to get that setup and they delegated the /27 to us instead. My question was how do I create that partial in-addr.arpa zone to host that /27.

In case anyone else runs up against this problem here is the solution:

Normally, to host say the 192.168.1.0/24 reverse zone you would create a zone called 1.168.192.in-addr.arpa with PTR records inside for each host like so:

2 PTR somehost.somedomain.com. <------notice the trailing dot, important!!

To host a partial zone say, 192.168.1.64/27 with hosts from 65-78 (network is 64, broadcast is 79) you would create a zone like this 64/27.1.168.192.in-addr.arpa That zone is delegated by the owner of the full block to your dns servers. Inside the zone file you would create entries just like above, ie:

65 PTR email.somedomain.com. <-----again, notice trailing dot


This gave me fits since I have one internal master dns server that the public can't see and two slaves that get automatically updated with new zone via a script. Unfortunately, the name of the zone having a slash in it, broke that script and I ended up having to manually create this zone on my publicly facing IP addresses. Not that big a deal to have one manually configured zone, but I like to keep things standard.

So, everything is now working.

Craig
Reputation Points: 10
Solved Threads: 0
Newbie Poster
crussell19 is offline Offline
2 posts
since Mar 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Networking Forum Timeline: USB Dongle turns Chinese citizens into Olympic reporters
Next Thread in Networking Forum Timeline: apache issue





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC