File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ sub data {
55
55
{txt => " _globalsign-domain-verification=mVYWxIl-2ab_B1yPPFxEmDCLrBcl6ucouXJOU_P0_C" },
56
56
];
57
57
58
+ # null MX records by default, rfc7505
59
+ $data -> {" " }-> {mx } = [{mx => " ." , preference => 0},];
60
+
58
61
if ($self -> origin eq " pool.ntp.org" ) {
59
62
60
63
# google domain verification
@@ -126,6 +129,7 @@ sub populate_country_zones {
126
129
if ($ttl ) {
127
130
$data -> {$pgeodns_group }-> {ttl } = $ttl ;
128
131
}
132
+ $data -> {$pgeodns_group }-> {mx } = [{mx => " ." , preference => 0}];
129
133
130
134
$min_non_duplicate_size = int (@$entries / $zone_count )
131
135
if (@$entries / $zone_count > $min_non_duplicate_size );
@@ -143,6 +147,8 @@ sub populate_country_zones {
143
147
next ;
144
148
}
145
149
150
+ $data -> {$pgeodns_group }-> {mx } = [{mx => " ." , preference => 0}];
151
+
146
152
$data -> {$pgeodns_group }-> {a } = [];
147
153
if ($ttl ) {
148
154
$data -> {$pgeodns_group }-> {ttl } = $ttl ;
@@ -167,6 +173,8 @@ sub populate_country_zones {
167
173
my $e = shift @$entries ;
168
174
push @{$data -> {$pgeodns_group }-> {a }}, $e ;
169
175
}
176
+
177
+ $data -> {$pgeodns_group }-> {mx } = [{mx => " ." , preference => 0}];
170
178
}
171
179
}
172
180
}
You can’t perform that action at this time.
0 commit comments