diff --git a/xCAT-server/lib/xcat/plugins/ddns.pm b/xCAT-server/lib/xcat/plugins/ddns.pm index 6f8ef970e..2155674fc 100755 --- a/xCAT-server/lib/xcat/plugins/ddns.pm +++ b/xCAT-server/lib/xcat/plugins/ddns.pm @@ -1370,6 +1370,7 @@ sub update_namedconf { flock($newnameconf, LOCK_EX); seek($newnameconf, 0, 0); truncate($newnameconf, 0); + print $newnameconf "\#generated by xCAT: /opt/xcat/sbin/makedns -n \n"; for my $l (@newnamed) { print $newnameconf $l; } flock($newnameconf, LOCK_UN); close($newnameconf);