Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: IP Services
Previous Next

Configuring Name Service Support for IPv6

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 the System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP).

How to Add IPv6 Addresses to DNS

  1. Log in to the primary or secondary DNS server as Primary Administrator or as superuser.

    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 System Administration Guide: Basic Administration.

  2. Edit the appropriate DNS zone file by adding AAAA records for each IPv6-enabled node:
    host-name  IN   AAAA     host-address
  3. Edit the DNS reverse zone file and add PTR records:
    host-address 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.    
8.2.5.0.2.1.e.f.f.f.9.2.0.0.a.0.6.5.2.9.0.0.0.0.0.0.0.0.2.0.0.0 \
    IN        PTR        vallejo.Eng.apex.COM.

How to Display IPv6 Name Service Information

You can use the nslookup command to display IPv6 name service information.

  1. Under your user account, run the nslookup command.
    % /usr/sbin/nslookup

    The default server name and address appear, followed by the nslookup command's angle bracket prompt.

  2. View information about a particular host by typing the following commands at the angle bracket prompt:
    >set q=any
    >host-name
  3. Type the following command to view only AAAA records:
    >set q=AAAA
    hostname
  4. Quit the nslookup command by typing exit.
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

How to Verify That DNS IPv6 PTR Records Are Updated Correctly

In this procedure, you use the nslookup command to display PTR records for DNS IPv6.

  1. Under your user account, run the nslookup command.
    % /usr/sbin/nslookup

    The default server name and address display, followed by the nslookup command's angle bracket prompt.

  2. Type the following at the angle bracket prompt to see the PTR records:
    >set q=PTR
  3. Quit the command by typing exit.
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
> 8.2.5.0.2.1.e.f.f.f.0.2.0.0.a.0.6.5.2.9.0.0.0.0.0.0.0.0.2.0.0.0.ip6.int

8.2.5.0.2.1.e.f.f.f.0.2.0.0.a.0.6.5.2.9.0.0.0.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

How to Display IPv6 Information Through NIS

In this procedure, you use the ypmatch command to display IPv6 information through NIS:

  • Under your user account, type the following to display IPv6 addresses in NIS:
    % ypmatch hostname hosts .byname

    The information about the specified hostname displays.

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire