Bind - Making reverse lookup zone.

Issues related to software problems.
Post Reply
crage222
Posts: 2
Joined: 2014/06/21 23:08:21

Bind - Making reverse lookup zone.

Post by crage222 » 2014/06/21 23:16:54

I am trying to make a proper reverse lookup zone for a class I am taking.
create a reverse lookup zone for the private network 192.168.0.0/24

In the zone file write out

1) 192.168.0.1->router.username.unix.useractive.com
2) 192.168.0.10->m1.username.unix.useractive.com
3) 192.168.0.100->other.username.unix.useractive.com




In the named.conf file I have placed the zone as

zone "0.168.192.in-addr.arpa" IN {
type master;
file "pz/db.some.hostname.com";

This much about it I feel pretty certain about.

Now when editing the db.some.hostname.com

$ORIGIN 0.168.192.in-addr.arpa.
$TTL 30
@ IN SOA @ (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum





1 IN PTR router.username.unix.useractive.com.

10 IN PTR m1.username.unix.useractive.com.

100 IN PTR other.username.unix.useractive.com.



The Issue I am having is I can't seem to find a template to work from that can explain what I am trying to do for my class.

I need to have a 1 10 and 100 ip address that connect to the above addresses. Then, I need it to work with a nslookup command.

If there is anyone that can take me through this and explain how it works via PM I would really appreciate it as I have hit a brick wall with this.

Thanks,

Michael



~
~

scottro
Forum Moderator
Posts: 2425
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Bind - Making reverse lookup zone.

Post by scottro » 2014/06/22 00:46:55

www.philchen.com/2007/04/04/configuring-reverse-dns

Does that help? It gives an example of a reverse zone file.
New users should check the FAQ and Read Me First pages

crage222
Posts: 2
Joined: 2014/06/21 23:08:21

Re: Bind - Making reverse lookup zone.

Post by crage222 » 2014/06/24 17:39:16

Turns out I just needed to change my group to named. It was originally root.


Thank you so much for your help!


Regards,

R.

Post Reply

Return to “CentOS 5 - Software Support”