Home News Solving The Problem With The Reverse Zone File Generator

Solving The Problem With The Reverse Zone File Generator

123
0

 

If you have a backlink zone file generator on your system, we hope this article will help you.

 

 

Compiled by InterServer staff on October 8, 2015

In this example we are using IP block 216.74.109 / 24

Add the following to / etc / named.conf:

Zone “109.74.216.in-addr.arpa” {
Font wizard;
File “/ var / named / 109.74.216.in-addr.arpa”
};

Create the following file:

/ var / named / 109.74.216.in-addr.arpa

Use the following configuration example in this file:

TTL $ 86,400
@ In SOA localhost. root.localhost. (
991079290; Series
28800; update
14400; Repeat
3,600,000; expired
86400; default_ttl
)
EN NS dns.trouble-free.net.
In NS dns2.trouble-free.net.
81 In the PTR my.reverse.dns.domain.com.

Save changes and restart the name with /etc/rc.d/init.d/ named restart

Searching for 216.74.109.81 will return my.reverse.dns.domain.com

Why Did I Do This?

I wanted to run my own mail server. This resulted in “I need to run my own DNS”. quickly follows “I need to delegate my authority DSL provider “, to which the provider replied,” We only do this for / 29 networks and more “.

WELL. I went from one IP address to eight. Then there was my delegation from Authority (here I am responsible for granting DNS lookup responses for .in-addr.arpa records for mine eight a bit on the Internet), and then I had to find out “Great how set up everything? “

bind reverse zone file generator

In 1999, this information simply did not exist and no one there were / 29 home networks. Did I mention anyone? After a lot While experimenting, I set up my DNS configuration with Bind 4.7 and was dumped in less than a day. Thanks, Bind. Upgrade to Bind 8 point by point and he was attacked again, this time less than a minute later. I’m here discovered Dan Bernstein’s Djbdns with his guards Warranty. Bye Bye Bind, and I haven’t touched it since. (bitten twice, three times shy?) Honestly, right now it may be the safest program in the world, but I could never prove it. It’s huge. Large enough for rear doors Front doors, windows (not pretty), verandas and patios, you name it, you name it probably can come up. djbdns is small. He’s actually tiny.

At the moment I am using Dan’s caching server (dnscache) on all of them. machines that need local converters, but for me The servers I’m currently using Knot are pretty small, very fast, use the stylebindings Zone files. This is why this program offers both djbdns and binding style zone files.

  • Mkrdns Does Not Work On My Computer With RedHat 8/9 And / Or Perl 5.8.x!
    It Was Reported That Mkrdns (up To At Least 3.3) Does Not Work By Default On RedHat 8 And 9 Machines. Errors Look Something Like This:
    (warning) No File Specified For Zone “192.in-addr.arpa” In “/ Etc / Named.conf”.
    (fatal) “/”/10.in-addr.arpa” Could Not Be Opened For Reading: No Such File Or Directory Exists In ./mkrdns-3_3, Line 379.

    The Problem Is Related To Unicode “support” In RH / Perl 5.8, Which Breaks A Lot Of Existing Perl Code. For Mkrdns, When Parsing The Named.conf File, A Single Quote Is Generated For The Directory Where The Specified Files Are Located. Via “–debug”:

    (Debug) Directory Named = “

    This Issue May Be Fixed In A Future Version Of Mkrdns, But Before There Are Now Two Simple Solutions:

  1. Before running mkrdns, set the LANG environment variable to ‘C’, for example: “ LANG = C; Export LANG” or “ setenv LANG C”, depending on your shell.
  2. Add “ use bytes;” at the beginning of the mkrdns script.