+91 88 00 563434 sales@webhostingpeople.net

Our Knowledge Base Articles

Company Blog

How to Use IPv6 Address in DirectAdmin

You are here:

As everyone knows that what’s an IP deal with?. It’s nothing however a logical numeric deal with that’s assigned to every single pc, printer, change, router, mobiles or every other system that’s a part of a TCP/IP-based community. An IP deal with is essentially the most important and essential element within the networking phenomena that binds the World Vast Internet (www) collectively. Direct Admin additionally helps IPv6 deal with from the model 1.37.Zero onwards. Let’s look into how we are able to use IPb6 deal with in Direct Admin.

To Add IPv6 Handle

This is step one. With a purpose to use IPv6, we now have to inform the Direct Admin that we have to use IPv6 deal with as a substitute of IPv4.

1) Login to the server by way of ssh as the basis consumer.

2) Open the DirectAdmin configuration file

vi /usr/native/directadmin/conf/directadmin.conf

3) Discover the ipv6 from the above configuration file. Then edit it as to 1 whether it is talked about as zero.


3) Save the configuration file.

4) Then the very subsequent step is to restart the service for a similar. Execute the under command.

service directadmin restart

You can even add this by from the entrance finish.

1) Login to the DirectAdmin panel utilizing username and password.

2) Including the IP deal with to DirectAdmin is finished the identical means as with we including the IPv4 deal with.

Choose Admin Instruments >> IP administration. You’ll be able to add the IPv6 deal with on the IP filed.

Please be famous that the netmask 255.255.255.Zero can solely apply to an IPv4 deal with and ought to be ignored whereas including an IPv6 deal with to the DirectAdmin.

By default, the netmask of the IPv6 deal with is /64. However it’s not but supported.

In order that at any time when we’re including the IPv6 deal with to the DirectAdmin, we have to use the complete or brief types of the deal with. As we’re giving in brief types of the deal with, the DirectAdmin will broaden it to the complete type of the IPv6 values. And please be aware that don’t give or use [] across the IP deal with right here.

It’s simply tremendous with 1:2::9

Now the DNS system is prepared for IPv6. We have now dns_a.conf file and dns_aaaa.conf file default information for newly created zones. Every of those template information will verify on the IP sort. When an IP is distributed to the template, the IP sort can also be included, so the template can select to disregard including any information if the IP sort doesn’t match its format, or (with customization) you’ll be able to add another worth should you’d like. For most individuals, leaving it alone can be greatest.

The way to Entry the DirectAdmin by way of IPv6 deal with.

1) Login to the server by way of ssh as the basis consumer.

2) Execute the next instructions.

/sbin/sysctl web.inet6.ip6.v6only=0

3) Set this within the /and so on/rc.conf:


4) Then confirm with the sockstat command.

Whether it is working appropriately, It is going to give an output as follows.

freebsd7-64# sockstat -l | grep direct | head -n1

no one   directadmi 50362 0  tcp46  *:2222                *:*

In any other case,

freebsd7-64# sockstat -l | grep direct | head -n1

no one   directadmi 50362 0  tcp6  *:2222                *:*

We have now to get tcp46 within the output. If it’s not, which means the IPv6 shouldn’t be enabled.

5) DirectAdmin ought to be restarted after this feature is ready.

For the apache service, it already helps IPv6. In order that no want of adjustments right here. However we now have to change the exim and dovecot. Exim doesn’t help IPv6. So we have to guarantee it’s compiled in.

6) Run the next command.

/usr/sbin/exim -bV | grep Help

Then you’ll get an output like as follows.

Help for: crypteq IPv6 Perl OpenSSL move_frozen_messages Content_Scanning Old_Demime DKIM DNSSEC Occasion OCSP PRDR

7) If you’re not seeing IPv6 within the output, then you definately’ll must recompile exim, both utilizing rpms, or from the supply.  The newest Makefiles ought to have the required HAVE_IPV6=YES to make sure it’s included.

8) For the dovecot, edit the configuration file to the IPv6 help format.

vi /and so on/dovecot.conf

9) Discover out the next line.


hear = *

#IPv4 and IPv6:

#hear = *, ::

10) Change them to appear like under.


#hear = *

#IPv4 and IPv6:

hear = *, ::

11) Then restart the dovecot.

service dovecot restart

12) For the older variations of dovecot

vi /and so on/dovecot.conf

Add the next line.

hear = “*, [::]”

In the event you want any additional assist, please do attain our help division.

Leave a Comment