|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: IP Services Oracle Solaris 10 1/13 Information Library|
This section describes how to configure the DNS and NIS name services to support IPv6 services.
Note - LDAP supports IPv6 without requiring IPv6-specific configuration tasks.
For full details for administering DNS, NIS, and LDAP, refer to System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).
The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in Oracle Solaris Administration: Basic Administration.
hostname IN AAAA host-address
hostaddress IN PTR hostname
For detailed information on DNS administration, refer to System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).
Example 7-15 DNS Reverse Zone File
This example shows an IPv6 address in the reverse zone file.
$ORIGIN ip6.int. 184.108.40.206.2.1.e.f.f.f.220.127.116.11.a.0.6.5.2.18.104.22.168.0.0.0.0.0.2.0.0.0 \ IN PTR vallejo.Eng.apex.COM.
In Solaris 10 11/06 and earlier releases, two maps were added for NIS : ipnodes.byname and ipnodes.byaddr. These maps contained both IPv4 and IPv6 host name and address associations. Tools that are aware of IPv6 used the ipnodes NIS maps. The hosts.byname and hosts.byaddr maps contained only IPv4 host name and address associations. These maps are unchanged so that they can facilitate existing applications. Administration of the ipnodes maps is similar to the administration of the hosts.byname and hosts.byaddr maps. For Solaris 10 11/06, it is important that when you update the hosts maps with IPv4 addresses, the ipnode maps are also updated with the same information.
Note - Subsequent releases of Oracle Solaris 10 do not use the ipnodes maps. The IPv6 functionality of the ipnodes maps is now maintained in the hosts maps.
For instructions on administering NIS maps, refer to Chapter 5, Setting Up and Configuring NIS Service, in System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).
You can use the nslookup command to display IPv6 name service information.
The default server name and address appear, followed by the nslookup command's angle bracket prompt.
>set q=any >hostname
>set q=AAAA hostname
Example 7-16 Using nslookup to Display IPv6 Information
This example shows the results of nslookup in an IPv6 network environment.
% /usr/sbin/nslookup Default Server: dnsserve.local.com Address: 10.10.50.85 > set q=AAAA > host85 Server: dnsserve.local.com Address: 10.10.50.85 host85.local.com IPv6 address = 2::9256:a00:fe12:528 > exit
In this procedure, you use the nslookup command to display PTR records for DNS IPv6.
The default server name and address display, followed by the nslookup command's angle bracket prompt.
Example 7-17 Using nslookup to Display PTR Records
The following example shows the PTR record display from the nslookup command.
% /usr/sbin/nslookup Default Server: space1999.Eng.apex.COM Address: 192.168.15.78 > set q=PTR > 22.214.171.124.2.1.e.f.f.f.0.2.0.0.a.0.6.5.2.126.96.36.199.0.0.0.0.0.2.0.0.0.ip6.int 188.8.131.52.2.1.e.f.f.f.0.2.0.0.a.0.6.5.2.184.108.40.206.0.0.0.0.0.2.0.0.0.ip6.int name = vallejo.ipv6.Eng.apex.COM ip6.int nameserver = space1999.Eng.apex.COM > exit
In this procedure, you use the ypmatch command to display IPv6 information through NIS:
% ypmatch hostname hosts ipnodes.byname
The information about the specified hostname is displayed.
Note - Oracle Solaris releases after Solaris 10 11/06 no longer include the ipnodes maps. The IPv6 functionality of ipnodes is now maintained in the hosts maps.
Example 7-18 IPv6 Addresses Output by the ypmatch Command
For Solaris 10 11/06 and earlier releases, the following sample shows the results of a ypmatch operation on the ipnodes.byname database.
% ypmatch farhost hosts ipnodes.byname 2001:0db8:3c4d:15:a00:20ff:fe12:5286 farhost
This procedure can be used for Solaris 10 11/06 and earlier releases only. For subsequent releases, you can perform the same operation on the hosts database.
% getent ipnodes hostname
The information about the specified host-name is displayed.
Example 7-19 Displaying IPv6 Information in the ipnodes Database
The following sample shows the output of the getent command:
% getent ipnodes vallejo 2001:0db8:8512:2:56:a00:fe87:9aba myhost myhost fe80::56:a00:fe87:9aba myhost myhost