diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index b020cb006..628aa3a95 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -1506,7 +1506,7 @@ sub addnet6 } if ($::XCATSITEVALS{dnshandler} =~ /ddns/) { if ($ddnsdomain) { - push @netent, " ddns-domain-name \"".$ddnsdomain."\";\n"; + push @netent, " ddns-domainname \"".$ddnsdomain."\";\n"; push @netent, " zone $ddnsdomain. {\n"; } else { push @netent, " zone $domain. {\n"; @@ -1743,7 +1743,7 @@ sub addnet } if ($::XCATSITEVALS{dnshandler} =~ /ddns/) { if ($ddnsdomain) { - push @netent, " ddns-domain-name \"".$ddnsdomain."\";\n"; + push @netent, " ddns-domainname \"".$ddnsdomain."\";\n"; push @netent, " zone $ddnsdomain. {\n"; } else { push @netent, " zone $domain. {\n";