Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

how to add a ns records with AAAA ipv6

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
birender
Posts: 26
Joined: Fri Aug 19, 2016 6:58 am

Os: Debian 8x
Web: nginx + php-fpm
how to add a ns records with AAAA ipv6
  • Quote

Post by birender » Sat Mar 17, 2018 7:32 am

Hi when i try to add a NS with IPv6 AAAA it showing error Error: IN A ns4.domain.com does not exist is by default vestacp supports only IPv4 for dns records ...?

Now DNS server are hosted with IPv6 also please add this feature.

regards,

Birender
Top

birender
Posts: 26
Joined: Fri Aug 19, 2016 6:58 am

Os: Debian 8x
Web: nginx + php-fpm
Re: how to add a ns records with AAAA ipv6
  • Quote

Post by birender » Wed Mar 21, 2018 11:18 am

Hi still no reply ...? from any tech guru of Vestacp
Top

birender
Posts: 26
Joined: Fri Aug 19, 2016 6:58 am

Os: Debian 8x
Web: nginx + php-fpm
Re: how to add a ns records with AAAA ipv6
  • Quote

Post by birender » Wed Mar 21, 2018 12:09 pm

Hi any one from vestacp check this ...

this code is there in usr/locl/vesta/func/domain.sh

# Validate nameserver
is_dns_nameserver_valid() {
d=$1
t=$2
r=$3
if [ "$t" = 'NS' ]; then
remote=$(echo $r |grep ".$domain.$")
if [ ! -z "$remote" ]; then
zone=$USER_DATA/dns/$d.conf
a_record=$(echo $r |cut -f 1 -d '.')
n_record=$(grep "RECORD='$a_record'" $zone| grep "TYPE='A'")
if [ -z "$n_record" ]; then
check_result $E_NOTEXIST "IN A $a_record.$d does not exist"
fi
fi
fi
}

This is happending when i am adding ns with ipv6 AAAA record.

Error: IN A ns2-ipv6.example.com does not exist

why its only taking ipv6 A records only for NS nameservers it should also accept AAAA record for IPV6
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password