diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index c575a46ec..357cc8ae7 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -207,6 +207,10 @@ sub addnode if ( !defined($ip) ) { $ip = "DENIED"; } + if ($hname eq '*NOIP*') { + $hname = $node . "-noip".$mac; + $hname =~ s/://g; + } if ($guess_next_server and $ip ne "DENIED") { $nxtsrv = xCAT::Utils->my_ip_facing($hname);