summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-07-29 14:56:45 -0700
committerelijah <elijah@riseup.net>2015-07-29 14:56:45 -0700
commitbf1365d5148710667c99132da4745d06a89f6026 (patch)
tree9ae2261a783951f99964f76cf7a1a8374cc9e435 /lib
parentdf06b2a628cb8134139dc4a95cc9f57ab9a50c81 (diff)
don't use CNAME for the zone file. it advisable to use CNAME only for foreign domains.
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/commands/compile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/compile.rb b/lib/leap_cli/commands/compile.rb
index c7ff58b..9cbe4b9 100644
--- a/lib/leap_cli/commands/compile.rb
+++ b/lib/leap_cli/commands/compile.rb
@@ -294,7 +294,7 @@ remove this directory if you don't use it.
if node.dns['aliases']
node.dns.aliases.each do |host_alias|
if host_alias != node.domain.full && host_alias != provider.domain
- put_line.call relative_hostname(host_alias), "IN CNAME #{relative_hostname(node.domain.full)}"
+ put_line.call relative_hostname(host_alias), "IN A #{node.ip_address}"
end
end
end