Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
bd738238
Commit
bd738238
authored
Jul 15, 2022
by
spider
Browse files
reg.ru list unicode domains NOT in IDN code
parent
1b59b0b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_regru.sh
View file @
bd738238
...
...
@@ -92,10 +92,10 @@ _get_root() {
domains_list
=
$(
echo
"
${
response
}
"
|
grep
dname |
sed
-r
"s/.*dname=
\"
([^
\"
]+)
\"
.*/
\\
1/g"
)
for
ITEM
in
${
domains_list
}
;
do
IDN_ITEM
=
"
$(
_idn
"
${
ITEM
}
"
)
"
IDN_ITEM
=
${
ITEM
}
case
"
${
domain
}
"
in
*${
IDN_ITEM
}*
)
_domain
=
${
IDN_
ITEM
}
_domain
=
"
$(
_idn
"
${
ITEM
}
"
)
"
_debug _domain
"
${
_domain
}
"
return
0
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment