Skip to content

Commit

Permalink
Merge pull request #618 from MissionCriticalCloud/fix/dns-local-resolv
Browse files Browse the repository at this point in the history
Add local domain to dnsmasq config to allow local dns resolving
  • Loading branch information
remibergsma authored Feb 7, 2018
2 parents a4eec2f + 8282d98 commit 162effb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def write_dnsmasq_global_config(self):

filename = 'dnsmasq_global.conf'
content = self.jinja_env.get_template('dnsmasq_global.conf').render(
domain_name=self.config.dbag_cmdline['config']['domain'],
interfaces=interfaces
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ except-interface=lo
except-interface={{ interface }}
{% endfor %}
bind-dynamic
local=/{{ domain_name }}/
domain={{ domain_name }}

0 comments on commit 162effb

Please sign in to comment.