Results 1 to 11 of 11

Thread: Error adding ipv6 to domain

  1. #1
    Join Date
    Mar 2011
    Posts
    57

    Error adding ipv6 to domain

    Dear forum users, i read with the right attention here: https://help.directadmin.com/item.php?id=353 and here: https://help.directadmin.com/item.php?id=346
    Now in the last step:

    PHP Code:
    User Level -> Domain Setup -> domain.com

    at the bottom of the page
    you'll see "Add another IP to domain.com".  Select your new IP, and click "Add IP".
    If needed, remove the other IP from the domain'
    s IP list. 
    i've this error:

    PHP Code:
    Could not write domain's db file in /var/named
    Unable to save dns zone: named-checkzone returned:
    loading "domain.it" from "/var/named/domain.it.db.temp" class "IN"
    dns_rdata_fromtext: /var/named/domain.it.db.temp:36: near '
    2a00:7c80:0000:00b4:0:0:0:4': bad dotted quad
    zone domain.it/IN: loading from master file /var/named/domain.db.temp failed: bad dotted quad
    zone domain.it/IN: not loaded due to errors. 
    ipv6 are added in the naserver configurations too.

    Thanks

  2. #2
    Join Date
    Aug 2015
    Posts
    277
    Post the domain.com zone file here, so we can take a look.
    Kind regards, Fred

    Alentejo Webdesign
    Webdesign with Passion is what we do
    Web development, Hosting, Speed Optimizing & More......

  3. #3
    Join Date
    Mar 2011
    Posts
    57
    Here it is, Thanks:

    PHP Code:
    $TTL 14400
    @       IN      SOA     ns1.hostmartdns.eu.      hostmaster.domain.it. (
                                                    
    2018020801
                                                    14400
                                                    3600
                                                    1209600
                                                    86400 
    )

    domain.it.    14400    IN    NS    ns1.hostmartdns.eu.
    domain.it.    14400    IN    NS    ns2.hostmartdns.eu.


    ftp    14400    IN    A    217.23.13.224
    localhost    14400    IN    A    127.0.0.1
    mail    14400    IN    A    217.23.13.224
    pop    14400    IN    A    217.23.13.224
    smtp    14400    IN    A    217.23.13.224
    webmail    14400    IN    A    217.23.13.224
    domain
    .it.    14400    IN    A    217.23.13.224
    www    14400    IN    A    217.23.13.224


    domain
    .it.    14400    IN    MX    10 mail

    38bfd0126e8607775c796fbb3cc4daaf    14400    IN    CNAME    verify
    .bing.com.


    @    
    14400    IN    TXT    google-site-verification=lgaVPqjJo0IyVBrZEoLYkSTD6nkXHXayVvr37ECS7Ro
    _dmarc    14400    IN    TXT    
    "v=DMARC1; p=none; sp=none; rua=mailto:spam-reports@domain.it"
    _domainkey    14400    IN    TXT    "o=~"
    domain.it.    14400    IN    TXT    "v=spf1 a mx ip4:217.23.13.224 -all"
    x._domainkey    14400    IN    TXT    "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5DoA11hipv3XagILd8mu447+SH6aijhLoK2ygVKuGgcl4jz3GVp1w3ENBqUbzNNopRy0rRBlOp2m1tgt75ffMBz"
                        "ae2zmtFXoAvuItn6JAArXrIGBxnN2D6Ei8aGp5sCqoxsYGQneFp14Avx7NxHZbLy2yUluJKb8ipB1xy0MpCUJF1bJRUWOpXvDeQPzR4Vt1VVYofI1pm3iZjCoN3SgTCy/Y6mI19qKpC99yFuBJ775r"
                        "ArjwsLq2lXWqNrf2siL+S3c7JY+9dEMDjPSqSGDE8u7JyYybk5F2dZAuySjVc4WwygbVYjGIvNoA/IV9NLyoqu7/b31Ov8KLW5y+x3mrQIDAQAB" 


  4. #4
    Join Date
    Mar 2011
    Posts
    57
    Yesterday i had temporarily removed ipv6=1 from directadmin.conf, this morning I put it back but now i can't add ipv6 addresses anymore, directadmin show this message:


    PHP Code:
    Cannot Execute Your Request

    Details

    Invalid IP 
    (1.2.3.4) or IP range (1.2.3.4-5
    Before this the panel accepted addresses in long form like:

    2a00:7c80:0000:00b4:0:0:0:2 /64

  5. #5
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,940
    make sure to add an empty line at the very bottom of directadmin.conf and restart directadmin.

  6. #6
    Join Date
    Mar 2011
    Posts
    57
    Quote Originally Posted by zEitEr View Post
    make sure to add an empty line at the very bottom of directadmin.conf and restart directadmin.
    Checked, ipv6=1 it's the last option with no any more space

  7. #7
    Join Date
    Mar 2011
    Posts
    57
    Any case now in my directadmin can't assign any other ipv6 address, also i can't remove the ipv6 addresses previously assigned to 2 users.
    Last but not least under Reseller -> Nameservers ipv4 used for nameserver are disappear (but nameserver works)

  8. #8
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,940
    The directadmin.conf should end with an empty line or line-break... so you need to open directadmin.conf and add a line break or empty line after ipv6=1.

  9. #9
    Join Date
    Mar 2011
    Posts
    57
    Quote Originally Posted by zEitEr View Post
    The directadmin.conf should end with an empty line or line-break... so you need to open directadmin.conf and add a line break or empty line after ipv6=1.
    Many thanks, now i can add or remove ipv6 again

  10. #10
    Join Date
    Mar 2011
    Posts
    57
    The first error persist (tried on another domain):

    2018-02-10.png

    After this error, in any case the ipv6 result assigned to the user and i can add AAAA records manually.

    Let's Encrypt renew doesn't work anymore if there is any ipv6 address.

    In the same server i've addedd two more vanity nameserver with ipv6:

    http://dnscheck.pingdom.com/troubles...8210122&view=2

    They appear working correctly.

  11. #11
    Join Date
    Mar 2011
    Posts
    57
    Error adding IPV6 to domain solved, it was caused by custom dns_a.conf added in /usr/local/directadmin/data/templates/custom

    Problems with Let's Encrypt was solved updating script by custombuild

    PHP Code:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build letsencrypt 
    Last edited by RickDeckard; 02-14-2018 at 08:16 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •