Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Commit ca8a109

Browse files
authored
Merge pull request #7 from bersace/hostrecord
Add DNS record for host
2 parents 80b0716 + c505414 commit ca8a109

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: templates/dnsmasq.conf.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ bind-interfaces
88
# Domain name and ip range with lease time
99
domain={{ lxc_domain }},{{ lxc_ipnet }}
1010
local=/{{ lxc_domain }}/
11+
address=/.{{ ansible_hostname }}.{{ lxc_domain }}/{{ lxcbr0_ip }}
1112
dhcp-range={{ lxc_dhcp_range }}
1213
dhcp-leasefile={{ lxc_dhcp_leasefile }}
1314
# DHCP options

0 commit comments

Comments
 (0)