September 2008


Hello,

There may come a time when your DNS server is the authoritative DNS for a client or customer that has secured an IP block from a 3rd party, perhaps for T1 or DSL service. They want to use one of the IP addresses for an email server located in their office and have asked you to setup rDNS or Reverse DNS for the IP address specified. Since the IP address did not come from your ISP you cannot ask them to setup the rDNS for you. You must accept IP delegation and configure your DNS server to give an authoritative response.

Here are 3 links that helped me figure this out:
http://www.dnsstuff.com
http://www.faqs.org/rfcs/rfc2317.html
http://www.fdcservers.net/vbulletin/archive/index.php/t-578.html

I’m going to illustrate this using 10.x.x.x IP address ranges. This setup is for Bind DNS servers. You will be creating a zone for x.x.x.x.in-addr.arpa on your DNS server.

The scenario is that the client secured a new T1 line and wanted to use IP 10.0.142.162 for an email server in their office.

On your DNS server, open a terminal window. Then edited /etc/named.conf and added this to the end:

zone “160/28.142.0.10.in-addr.arpa” {
type master;
file “/var/named/142.0.10.in-addr.arpa.db”;
};

That means that it has been added to the external view section of named.conf

I have to admit that I do not fully understand why some delegations may be looking for zone 160/28.142.0.10.in-addr.arpa and others 142.0.10.in-addr.arpa. Both can contain the IP 10.0.142.162. It may have something to do with this delegation being a /28 giving the client 16 IP addresses with 14 usable starting from 10.0.142.160.

Save your changes then create a new zone DB named /var/named/142.0.10.in-addr.arpa.db

You can do this like this:

touch /var/named/142.0.10.in-addr.arpa.db

Then open /var/named/142.0.10.in-addr.arpa.db and add:

; Zone file for 160/28.142.0.10.in-addr.arpa
$TTL 14400
@      86400    IN      SOA     ns1.yournameserver.net. support.example.com. (
2008092801      ; serial, todays date+todays
14400           ; refresh, seconds
7200            ; retry, seconds
1209600         ; expire, seconds
86400 )         ; minimum, seconds
160/28.142.0.10.in-addr.arpa.         IN      84600   NS      ns1.yournameserver.net.
160/28.142.0.10.in-addr.arpa.         IN      84600   NS      ns2.yournameserver.net.

162.142.0.10.in-addr.arpa.           IN      14400   CNAME   162.160/28.142.0.10.in-addr.arpa.
162.160/28.142.0.10.in-addr.arpa.     IN      14400   PTR     mail.example.com.

Save and restart Bind. You can test your results here:
http://www.dnsstuff.com

Sincerely,
Mike

This is a shameless plug for our newly launched managed online backup service for the technically challenged.  Begin Shameless plug.

Hard drives fail. Viruses can destroy data. Having a copy of your work, digital photographs, financial records and other important files is just one step in a thorough backup plan. Our secure online backup solution completes the backup process by placing a copy of your data off-site where it is safe from theft, fire and unauthorized access.

Losing your digital photos and financial information as a result would be devastating. Our secure online backup solution is a reliable and safe way to backup critical and important files. We realize that many businesses don’t backup properly because they may not be sure what needs to be backed up or how to do it reliably.

Our online backup solution is a full service managed solution. This means we do all of the setup, all of the configuring, all of the testing and all of the monitoring. As long as your computer is turned on, awake and connected to the internet our solution will back it up, even when traveling with your laptop.

Follow this link to place your order or for more details: www.JIKOmetrix.net

Special Offer
Tech one Illustration is making a special offer to the next 15 users to sign up who mention this blog when they order. The next 15 sign ups can order business class service for just $15 per month per computer. You will get 5GB of storage per computer as part of the base fee, expandable in 5GB increments. There are no caps your account will increase or decrease based on your usage. Additional storage is just $1 per 1GB per month. Plus we will waive the setup fee for your first 5 computers, up to a $150 value. Limited offer. Restrictions apply. Offer valid through March 1st, 2009.

Call Mike Brandonisio at Tech One Illustration, (630) 759-9283 x1001 to place your order or make an appointment to discuss your business’s backup needs. Mention this posting to receive discount.

It’s an insurance plan for your data, Call Today! (630) 759-9283 x1001