lib/mkit/app/model/pod.rb in mkit-0.7.2 vs lib/mkit/app/model/pod.rb in mkit-0.8.0
- old
+ new
@@ -30,10 +30,10 @@
end
def update_dns
self.dns_host ||= DnsHost.new(
service: self.service,
- name: "#{name}.#{self.service.name}",
+ name: "#{self.service.name}.internal",
ip: self.ip
)
self.dns_host.ip = self.ip
self.dns_host.save
end