Solved

DNS bind, adding sub-netted reverse look up zones

Posted on 2014-04-23
10
608 Views
Last Modified: 2014-08-23
Hi,

Could any one tell me how to add a single reverse look up zone in Red hat for a /19 network

I know you can add multiple /24 class-full subnets. but I also know you can add variable length subnets.

so could any one point me in the direction of the correct syntax for RedHAT?

Cheers
0
Comment
Question by:Aaron Street
  • 6
  • 4
10 Comments
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 40017630
http://www.indelible.org/ink/classless/

This should show you how to configure bind for VLSM.
0
 
LVL 16

Author Comment

by:Aaron Street
ID: 40017638
I have tried the standard

zone "0/19.x.x.x.in-addr.arpa" {
type master;
file "zone.0-19.x.x.x.in-addr.arpa";
allow quesy { any; };
};

and it loads OK but does not seem to catch any thing.
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 40017703

zone "0/19.x.x.x.in-addr.arpa" {
type master;
file "zone.0-19.x.x.x.in-addr.arpa";
allow quesy { any; };
};

One problem I see with the above is in bold.

Should be like...

allow-query { 127.0.0.1; net; };
0
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
LVL 16

Author Comment

by:Aaron Street
ID: 40017733
that "any" works fine for our other reverse zones
0
 
LVL 6

Assisted Solution

by:Jordan Medlen
Jordan Medlen earned 500 total points
ID: 40017744
The "any" isn't just what I was referring to. If you're configuration is "allow quesy {..." from a copy/paste, it is typo'd, and therefore wont do anything for you. Should be "allow-query {..." in your bind configuration.
0
 
LVL 16

Author Comment

by:Aaron Street
ID: 40017769
sorry missed that, that was a typo in to the forum though :)

allow-query {.....

is on the server
0
 
LVL 16

Author Comment

by:Aaron Street
ID: 40018438
Dispit trying a few different syntaxes I just can't get it to work.
0
 
LVL 6

Expert Comment

by:Jordan Medlen
ID: 40019950
I have looked around at other sites to see if I can find anything different, and all signs point to this working. I will keep looking.
0
 
LVL 16

Accepted Solution

by:
Aaron Street earned 0 total points
ID: 40021420
I came across some thing that says it only work for /24 - /30. ie subnets of a class C.

for larger sub-nets the ISP has to delegate a subset of a class B say, and then the customer advertise the entire class B back up.

In this was the ISP will only forward request that you own for your section of the class B.

Now I checked with our ISP and they will only forward these request to us so I can get away with using

18.172.addr-in.arpa

for example, with out worring about affecting any one upstream by answering some thing that does not belong to me.

Seems strange but this was the only documentation i could find about a /19 reverse lookup zone.
0
 
LVL 16

Author Closing Comment

by:Aaron Street
ID: 40280311
Thank you for all the help, but reserching further and it does seem you can only use the subnet mask on subsets of a class C network, no swhere have I found any thing to show examples of class B or above
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS.exe on Azure 2 35
Windows Server Essentials 2016 Dropping Mapped Drives 10 39
Exchange Cross-Forest Migation 6 29
Exchange Server Send connector and DNS Round Robin ? 6 38
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question