mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-24 06:17:49 +00:00
fix: removes restriction on root record
This commit is contained in:
2 files changed
+4
-6
No files matched your search
@@ -15,7 +15,7 @@ const toHostList = R.chain(data => {
|
||||
// URL redirection must contain explicit A record
|
||||
// Wildcard A record breaks when used with MX
|
||||
// Ref: https://github.com/is-a-dev/register/issues/2365
|
||||
if (data.record.URL && data.record.MX) {
|
||||
if (data.record.URL && data.record.MX || data.name === '@') {
|
||||
data.record.A = [ DOMAIN_HOST_IP ]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user