Server not listening on server ipv6

neo-hippie

Verified User
Joined
May 27, 2014
Messages
74
Location
The Netherlands (Holland)
Hello i had some issues with ipv6.
when i did the test on internet.nl for email it said my server didn't support ipv6
yet on the server itself ifconfig showed all ipv6 addresses (except the server ip ::ca01) and i could ping6 google.com

the DNS MX AAAA etc where correct everything went to the correct server.
in Directadmin ad ip management the server ip (::ca01) is listed as status server with 0 users.

when i changed the DNS to point to ::1 the tests works and i can receive ipv6 email connections.

so how do i add the server ip to the network interface?
if i restart the network.service i get an error cannot open /usr/share/sendmail/dynamic (i'm using exim/dovecot)
so i presume it doesn't load network interfaces correct, yet directadmin is inserting all correct ipv6 addresses into ifconfig.
where does this happen, and do i need to add the server ip as well?
 
Please see my post :-)


Incase you cant get it working sent me a pm ;-)
 
the title pointed me in some direction.
looking in the locale DNS table the server AAAA records point to ::124
i'll change it and test it. could take a while as the other nameservers don't update within 24 hour.
 
okey went a little deeper, and found the script wich add the ips to the ifconfig/network interface.
after manualy adding the ip:
sudo ip addr add 2001::ca01/64 dev eth0 preferred_lft 0
it shows up in ifconfig. and i can ping6 the server.
the directory from where the ips are loaded shows a file with the server ip. so i don't understand why it isn't inserted/loaded.
 
after manualy adding the ip:
sudo ip addr add 2001::ca01/64 dev eth0 preferred_lft 0
it shows up in ifconfig. and i can ping6 the server.
Well I wouldn't use a manually command to add ipv6. Next to mistakes you can make, DA also add's the ipv6 in various other places.

so how do i add the server ip to the network interface?
When adding the ipv6 via the ip manager from admin, normally you can select a box to do that.
However, normally the vps/server provider should already have added ipv6.

If you're with Contabo, then you need to run a command to activate ipv6.
 
Well I wouldn't use a manually command to add ipv6. Next to mistakes you can make, DA also add's the ipv6 in various other places.


When adding the ipv6 via the ip manager from admin, normally you can select a box to do that.
However, normally the vps/server provider should already have added ipv6.

If you're with Contabo, then you need to run a command to activate ipv6.
i know, i don't like adding manual things. but when directadmin doesn't do it i need to.
it also doesn't add the default ipv6 route. so i made a script to do some of these task every time i reboot (or when i reboot.)

i would like to know why directadmin doesn't execute some of these tasks.
as i said ipv6 is working i got every assigned ipv6 address listed. but not the server ip and not the default route.
ooh and also in resolv.conf there are no nameservers other than localhost.
 
i would like to know why directadmin doesn't execute some of these tasks.
Did you enable ipv6 in directadmin.conf file? Because we never had issues with it.

Start here.

it also doesn't add the default ipv6 route.
DA doesn't need to do that, it's not DA's task. Setting up ip and route is for ipv6 just like ipv4 a task of the datacenter or company providing the server to you. It's part of basic networking.

I see your resolv.conf is also not as should be.

I would most certainly not start to use this server this way. More likely doing a fresh install.
What company provided you this server and which OS distro and version do you have on it?
 
i'm running my own virtual private server at a Leaseweb datacenter.
the server is active since 2011 and added ipv6 in 2014.
as i said before never had any need for ipv6, so apparently it didn't run properly.
or somewhere along the line during an update it was changed.
i'm running Ubuntu 22.04.2 LTS on it.
 
So in 2014 ipv6 is added, but probably not running correctly.
It's not DA's task to have it run correctly, that is basic networking.

Did you install the server newly recently?

Anyway, it's up to the datacenter that ip's are working correctly, so they should give you some support as to how to add it to our network interface and which routing options should be used.

Leaseweb should provide you with something like this to add your ipv6 to the network interface:
but no gateway or routing info is mentioned there.

I would suggest to contact Leaseweb support for the fact that your ipv6 does not have any gateway info, routing or other required information to get it to work like it should be.
 
Back
Top