# File managed by puppet

domain-needed
bogus-priv
cache-size=15000
local=/internal/
expand-hosts
domain=internal
no-negcache
strict-order

# load additional host definitions from /etc/hosts.dns
addn-hosts=/etc/hosts.dns

# alias external IPs to local IPs
<%- @aliases.each do |pair| -%>
alias=<%= pair[0] %>,<%= pair[1] %>
<%- end -%>

# cname apps and other vhosts to node roles
<%- @unique_cnames.each do |pair| -%>
cname=<%= pair[0] %>,<%= pair[1] %>
<%- end -%>

# File managed by puppet

domain-needed
bogus-priv
cache-size=15000
local=/localdomain/
expand-hosts
domain=localdomain
no-negcache
strict-order

# load additional host definitions from /etc/hosts.dns
addn-hosts=/etc/hosts.dns

# alias external IPs to local IPs
<%- @aliases.each do |pair| -%>
alias=<%= pair[0] %>,<%= pair[1] %>
<%- end -%>

# cname apps and other vhosts to node roles
<%- @unique_cnames.each do |pair| -%>
cname=<%= pair[0] %>,<%= pair[1] %>
<%- end -%>

Fix DNS lookups for internal services
Fix DNS lookups for internal services

We are doing lots of external DNS lookups for graphite.localdomain. We
should stop doing that.