Providing reverse records for records that map to ISP IP

Posted by thejartender on Server Fault See other posts from Server Fault or by thejartender
Published on 2012-11-17T22:47:36Z Indexed on 2012/11/17 23:04 UTC
Read the original article Hit count: 406

Filed under:
|
|
|

I have been instructed to use my ISP ip (as a temporary fix for mapping my name server and domain records as my router dishes out rfc 1918 adresses to devices in my network where I am running an Ubuntu server, my router and my development laptop andso I have fixed:

$TTL 3H
@ IN SOA ns.thejarbar.org. email. (
 13112012
 28800
 3600
 604800
 38400
);
thejarbar.org.            IN      A         10.0.0.42
@            IN      NS        ns.thejarbar.org.
yuccalaptop  IN      A          10.0.0.19
ns           IN      A                    10.0.0.42
gw           IN      A                    10.0.0.138
www          IN      CNAME                thejarbar.org.

To a temporary version of:

$TTL 3H
@ IN SOA ns.thejarbar.org. email. (
 13112012
 28800
 3600
 604800
 38400
);
thejarbar.org.            IN      A         88.89.190.171
@            IN      NS        ns.thejarbar.org.
yuccalaptop  IN      A          10.0.0.19
ns           IN      A                    88.89.190.171
gw           IN      A                    10.0.0.138
www          IN      CNAME                thejarbar.org.

I am using bind and when using named-checkzone on this file according to my zone configurations, this file has no errors. I then run dig thejarbar.org @88.89.190.171 and get an expected authorative reply.

My issue is creating my reverse DNS SOA zone and I would gratly appreciate assistance and guidance. I am stuck on how to represent the reverse records correctly for the eddresses that map to my isp IP. I am trying:

$TTL 3H
0.0.10.in-addr.arpa. IN SOA ns.thejarbar.org. email. (
   13112012
   28800
   3600
   604800
   38400
);

171.190.89.88.   IN      PTR     thejarbar.org.
171.190.89.88.       IN      NS      ns.thejarbar.org.

19   IN      PTR     yuccalaptop.thejarbar.org.
138   IN      PTR     gw.thejarbar.org.
www   IN      PTR     www.thejarbar.org.

But running named-checkzone on this file leaves an erroneous return that IN: has no NS records I would greatly appreciate assistance

© Server Fault or respective owner

Related posts about networking

Related posts about routing