IPv6 reverse lookup configuration

Named.conf
//
// Sample named.conf BIND DNS server 'named' configuration file
// for the Red Hat BIND distribution.
//
// See the BIND Administrator's Reference Manual (ARM) for details, in:
//   file:///usr/share/doc/bind-*/arm/Bv9ARM.html
// Also see the BIND Configuration GUI : /usr/bin/system-config-bind and
// its manual.
//
options {
        directory "/var/named";
        forwarders { "IP address of external DNS"; };
        };
        zone "blr.stglabs.ibm.com" {
                type master;
                file "/var/named/my.ibmisl.zone.db";
        };
        zone "139.126.9.in-addr.arpa" {
        type master;
        file "/var/named/9.126.139.rev";
};
        zone "9.in-addr.arpa" {
        type master;
        file "/var/named/9.rev";
};
        zone "0.10.in-addr.arpa" {
        type master;
        file "/var/named/0.10.rev";
};
        zone "1.0.0.2.IP6.ARPA."        {
                type master;
                file "2001.rev";
};
 
2001.rev filr
 
$TTL    600
@               IN SOA  ldap.blr.stglabs.ibm.com.  root.blr.stglabs.ibm.com. (
                                        53              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum

                        IN      NS              ldap.blr.stglabs.ibm.com.
$ORIGIN 1.0.0.2.IP6.ARPA.
0.5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN      PTR             nimip6.blr.stglabs.ibm.com.
1.5.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN              PTR             ldapv6.blr.stglabs.ibm.com.
 
[root@LDAP-Server named]# host -t PTR  2001:0000:0000:0000:0000:0000:0000:0250
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.2.ip6.arpa domain name pointer nimip6.blr.stglabs.ibm.com.
[root@LDAP-Server named]# host -t PTR  2001:0000:0000:0000:0000:0000:0000:0151
1.5.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.2.ip6.arpa domain name pointer ldapv6.blr.stglabs.ibm.com.
 

Comments

Popular posts from this blog

How to delete SEA in VIOS

Webmin configuration for LDAP

Sample questions and answers for AWS Associate Solutions Architect Certification ---> AWS exam dumps