Skip to main content

standardvirtualftp ignoring IPv6 records

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  I think there's a few different issues here, but let's start with that API call.  Can you let me know where you found that?  I know there is a Perl module that cPanel uses named "getzonetemplate" but this thread is the only results on Google for "cPanel API getzonetemplate" - we don't have that specific API call listed anywhere in our documentation.  That's why the error is "unknown app" in the cPanel logs.

    I'm still looking into the ipv6 template issue on my end.

    0
  • cPRex Jurassic Moderator

    I think I know what's happening with this, but I'm not going to get an official answer until Monday.  I'll revisit this then and I'll post back once I have more details.

    1
  • cPRex Jurassic Moderator

    Alright, let me tell you what I know, and then you can decide if that is what is expected as an end user and we can go from there!

    The first and most important thing, is that from my testing there is no way to get a new cPanel account to use IPv6.  This isn't an issue with the template, but it's just the way that cPanel is setup.  In order to get a cPanel account to use IPv6 you create the account and then use the "Assign IPv6 Address" interface in WHM to assign that to the account.  Once that happens, the records get added to the existing DNS zone.

    Once an individual cPanel account has IPv6 enabled, all addons and parked domains under the account will get them automatically from the data in the "standard" zone template, including records that were customized in the zone.  Here is a search of an addon domain that I created after enabling IPv6 on the parent account, and you'll see it includes my "custom" entry in the "standard" zone template:

    # grep AAAA /var/named/addontest2.com.db 
    addontest2.com.    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    ipv6    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    custom    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    webmail    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    cpanel    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    autoconfig    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    cpcalendars    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    whm    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    autodiscover    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    cpcontacts    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da
    webdisk    14400    IN    AAAA    2620:0:28a4:4040:f816:3eff:fe30:68da

    So that leaves me with two thoughts:

    1 - does that help your process or understanding at all
    and
    2 - do you think this should be changed in any way to make things easier?

    Let me know and we can go from there.

    1
  • milo695

    Aah, I understand now why some records failed to be added automatically from the template upon DNS zone creation, my SPF had mixed IPv4 and IPv6 and failed to be created, makes perfect sense.

    To answer you question Rex:
    1. Yes, completely
    2. Honestly I don't know, if no harm done I don't see why not apply it automatically for those servers that have IPv6 assigned. Still, there could be an obvious reason why this is not the case currently which I'm not aware of, so I'd say simply add an option to also use IPv6 upon DNS zone/account creation and add a setting to automate it for all future accounts.

    I didn't even no that there is the setting "Assign IPv6 Address" to be honest.
    Thanks for this Rex, like always!

    0
  • cPRex Jurassic Moderator

    You're very welcome!  At this time I don't think they want to make any global changes to the IPv6 behavior, so as long as you're good, I'm good :D

     

    0

Please sign in to leave a comment.