  console.log("data:", data);
        if ("name" in data) return true;
        if (data["error"] == "Too many requests") return null;
        return false;
    }

    async function checkDomain() {

        $('.dns_checker').innerHTML = 'Please wait...';

        let i = 1;
        let registered = [];
        let rate_limited = false;
        let sats_domains = $('.dns').value.split("\n");
        let sats_domains_cleaned = [];

        for (let sats_domain in sats_domains) {

            let domain = sats