How to add IPv6 to the server

Discussion in 'ISPConfig 3 Priority Support' started by etruel, Feb 2, 2017.

  1. etruel

    etruel Member HowtoForge Supporter

    Hi people,

    I want to validate IPv6 in the server and really I don't have idea how to do that.
    My main domain of the server is https://etruel.com
    I know that I need a PTR record
    I've tested with this http://ipv6-test.com/validate.php and gives me "no AAAA record"

    Some time ago I've solved an email issue by disabling ipv6 with this https://www.howtoforge.com/community/threads/ipv6-and-gmail-problems.64675/
    But I would like to add ipv6 to the server.

    Can you give me some tips to start with this? I repeat, I don't have idea, what do you recommend ?
    Thanks!
    Esteban
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have an IPv6 IP configured already on the server? You can check that e.g. with the:

    ifconfig

    command. If there is no IPv6 address yet, then the first step is that you obtain an IPv6 address form your provider for this server and configure it in the network configuration file of the Linux system.
     
  3. etruel

    etruel Member HowtoForge Supporter

    Hi Till,
    Yes, I can see that I have an IPv6. I've pasted its results below
    Code:
    eth0  Link encap:Ethernet  HWaddr 00:25:90:09:c2:60
      inet addr: 66.240.210.90  Bcast:66.240.210.127  Mask:255.255.255.192
      inet6 addr: 2607:ff10:c5:516:225:90ff:fe09:c260/64 Scope:Global
      inet6 addr: fe80::225:90ff:fe09:c260/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
    But if I make a ping to the server i get
    The response for 'etruel.com' using IPv4 is:
    PING etruel.com (66.240.210.90) 56(84) bytes of data.
    64 bytes from etruel.com (66.240.210.90): icmp_seq=1 ttl=51 time=147 ms
    ...
    ...
    --- etruel.com ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 147.379/148.060/149.139/0.603 ms

    The response for 'etruel.com' using IPv6 is:

    unknown host
     
  4. florian030

    florian030 Well-Known Member HowtoForge Supporter

    i can ping your ipv6-address but you have no aaaa-record for etruel.com. ipv6 is running on your server
     
  5. etruel

    etruel Member HowtoForge Supporter

    Hi @florian030
    OK, thanks, I'm learning.
    Can you point me in the right direction to do an aaaa record with reverse dns in ISPConfig ?
    I have many other domains that I also need to do. Is there any tutorial or post ? I can't found it before.

    regards
     
  6. florian030

    florian030 Well-Known Member HowtoForge Supporter

    it's quite similar to a-records. just add AAAA instead of A and user your ipv6 instead of the ipv4.
     
  7. etruel

    etruel Member HowtoForge Supporter

    wow, I'm very confused with DKIM dns records. I thought that should have a large string of data or something like that.
    sorry.
    I'll give it a try

    thankyou very much
     
  8. etruel

    etruel Member HowtoForge Supporter

    Hi again,
    I'm just wondering if I missed something, in ISPConfig the server config don't have the IPv6 Prefix.
    And I'm not sure from the lines below given by ifconfig, what part of the address should I use ?
    Sorry, please give me an answer for a newbie.
    Code:
    inet6 addr: 2607:ff10:c5:516:225:90ff:fe09:c260/64 Scope:Global
    inet6 addr: fe80::225:90ff:fe09:c260/64 Scope:Link
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The records required by DKIM get generated automatically by ISPConfig, just enable dkim in the email domain. But Florian as the DKIM maintainer in ISPConfig can probably explain it better than me if you have any questions about it.

    That's ok, you don't need that,it's an optiona feature esapecially useful for large multiserver systems.
     
  10. florian030

    florian030 Well-Known Member HowtoForge Supporter

    If you manage your dns-servers with ispconfig just create the dkim-key-pair for a maildomain. If there is already a dns-zone for this domain, the dns-record will be created. If you add the dns-zone later, you use the DKIM button in dns to create the record.
     
  11. etruel

    etruel Member HowtoForge Supporter

    thanks Till and Florian!
    The last what I need is the other question for AAAA record: Can you say me what part of the ipv6, quoted below, I need to use in it ?
    (I mean Global or Link scope and with or without /64)
     
  12. florian030

    florian030 Well-Known Member HowtoForge Supporter

    2607:ff10:c5:516:225:90ff:fe09:c260

    or any other ip from the subnet
     
  13. etruel

    etruel Member HowtoForge Supporter

    thanks !!
     

Share This Page