how to configure ipv6 on directadmin

webbyo

Verified User
Joined
Oct 11, 2011
Messages
9
Hi,

I've searched for a solution but can't find it.

I have a clean vps debian lenny installed with directadmin with a ipv4 ip.

Now i want to add a ipv6 to work with a domain.
The domain dns is configured to aaaaa ipv6 address

I configured: /usr/local/directadmin/conf/directadmin.conf and I added:
Code:
[B]ipv6=1[/B]
SSL=0
addip=/usr/local/directadmin/scripts/addip
----shortened-----

restarted directadmin with command:
Code:
root@vps:~# service directadmin restart
Stopping DirectAdmin: [ OK ]
Starting DirectAdmin: [ OK ]

and checked if it configured:
Code:
root@vps:~# cd /usr/local/directadmin
root@vps:/usr/local/directadmin# ./directadmin c |grep ipv6
ipv6=1
root@vps:/usr/local/directadmin#

I added the ipv6 address in directadmin and assigned the ipadress to a client and domain.

But somehow it does not work.

Do i need to add the ip to /etc/network/interface ?
if so, how do i do this? I have one ipv4 configured to this vps and looks like:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
	address 141.138.***
	netmask 255.255.255.0
	network 141.138.***
	broadcast 141.138.***
	gateway 141.138.***
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 80.***.67 80.***.66
	dns-search vps.****.nl
 
When i go to that domain which is configured to ipv6 and no ipv4. then i get:


ifconfig says:
Code:
root@vps:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:01:4c:**:**
          inet addr:141.138.***.82  Bcast:141.138.***.255  Mask:255.255.255.0
          inet6 addr: 2a01:7c8:****:***::1/64 Scope:Global
          inet6 addr: fe80::****:ff:fe4c:****/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52125 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3140 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6848967 (6.5 MiB)  TX bytes:1140512 (1.0 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:21 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1704 (1.6 KiB)  TX bytes:1704 (1.6 KiB)

root@vps:~#

and when i check the dns settings for the domain on:
http://www.hscripts.com/tools/HDNT/dns-record.php

i get:
Code:
DNS Records Look Up tool
Domain	Type	Class	Result
*******.com.	AAAA	IN	2a01:7c8:****:***::1
 
Do I understand you right that you can not reach your web-site using ipv6? Did you consult with your hosting provider? Does he route ipv6 to and from your VPS correctly?
 
Back
Top