diff --git a/xCAT-server/lib/xcat/plugins/bind.pm b/xCAT-server/lib/xcat/plugins/bind.pm index 9f1705146..cd9df7d27 100755 --- a/xCAT-server/lib/xcat/plugins/bind.pm +++ b/xCAT-server/lib/xcat/plugins/bind.pm @@ -180,6 +180,12 @@ sub process_request } foreach (@{$nettab->getAllEntries()}) { + if ($_->{net} =~ /:/) { + my $rsp = {}; + $rsp->{data}->[0] = "Ignoring IPv6 network, not supported in bind.pm (site.dnshandler=ddns if you want to do IPv6 DNS records"; + xCAT::MsgeUtils->message("W",$rsp,$callback,1); + next; + } push @args, "-n"; push @args, $_->{net} . ":" . $_->{mask}; }