Skip to content

Commit

Permalink
Merge pull request #46 from cwh42/master
Browse files Browse the repository at this point in the history
Fixed tld, .site -> .suse. bnc#922765
  • Loading branch information
cwh42 committed Jun 23, 2015
2 parents ff8c9d8 + 9ecaeb9 commit a5ae4e9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions package/yast2-dns-server.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 22 16:16:14 UTC 2015 - cwh@suse.com

- bnc#922765
- changed default TLD from .site to .suse
- 3.1.13

-------------------------------------------------------------------
Thu Jun 18 11:23:54 UTC 2015 - igonzalezsosa@suse.com

Expand Down
7 changes: 3 additions & 4 deletions package/yast2-dns-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-dns-server
Version: 3.1.12
Version: 3.1.13
Release: 0
Url: https://github.com/yast/yast-dns-server

Expand Down Expand Up @@ -55,9 +55,8 @@ Requires: sed
# FATE #303386: Network setup tools
Requires: yast2-sysconfig

# DnsServerApi moved to yast2.rpm (bnc#392606)
# DnsServerAPI::GetReverseIPforIPv6
Requires: yast2 >= 2.17.8
# for default TLD definition
Requires: yast2 >= 3.1.134

BuildArch: noarch

Expand Down
3 changes: 2 additions & 1 deletion src/modules/DnsZones.pm
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ sub GetDefaultSOA {

my $fqdn = $self->GetFQDN();
if ($fqdn eq "") {
$fqdn = "linux.site";
my $tld = $Hostname::DefaultDomain;
$fqdn = "linux.$tld";
}

$fqdn = "$fqdn.";
Expand Down

0 comments on commit a5ae4e9

Please sign in to comment.