range
diff --git a/files/dhcpd.hosts b/files/dhcpd.hosts
index 835da14..359e5b1 100644
--- a/files/dhcpd.hosts
+++ b/files/dhcpd.hosts
@@ -5,7 +5,9 @@
 host {{ host_name }} {
   hardware ethernet {{ host.mac }};
   fixed-address {{ host.address }};
+  {%- if host.hostname is defined %}
   ddns-hostname "{{ host.hostname }}";
+  {%- endif %}
 }
 
 {%- endfor %}