Test web page where we can check if Adguard DNS is ON #25

Closed
opened 2026-03-04 00:03:58 -05:00 by deekerman · 7 comments
Owner

Originally created by @ameshkov on GitHub (Aug 10, 2016).

Originally assigned to: @nkartyshov on GitHub.

Test web page like this:
https://www.opendns.com/welcome/

I suggest adding such a test block to the DNS overview page:
https://adguard.com/en/adguard-dns/overview.html

Something like this:
https://monosnap.com/file/MFbYhCTOK0WrPIXlNxJD1mGM9xjS21

Originally created by @ameshkov on GitHub (Aug 10, 2016). Originally assigned to: @nkartyshov on GitHub. Test web page like this: https://www.opendns.com/welcome/ I suggest adding such a test block to the DNS overview page: https://adguard.com/en/adguard-dns/overview.html Something like this: https://monosnap.com/file/MFbYhCTOK0WrPIXlNxJD1mGM9xjS21
deekerman 2026-03-04 00:03:58 -05:00
Author
Owner

@nkartyshov commented on GitHub (Sep 2, 2016):

done

@nkartyshov commented on GitHub (Sep 2, 2016): done
Author
Owner

@ameshkov commented on GitHub (Sep 16, 2016):

@nkartyshov it does not work on the russian side:
https://adguard.com/ru/adguard-dns/overview.html

@ameshkov commented on GitHub (Sep 16, 2016): @nkartyshov it does not work on the russian side: https://adguard.com/ru/adguard-dns/overview.html
Author
Owner

@Marko-HR commented on GitHub (Sep 23, 2016):

Looks like status is not working. I'm not using Adguard DNS and it's showing me "You are using "Default" Adguard DNS configuration You are using "Family protection" Adguard DNS configuration You are not currently using Adguard DNS".

http://imgur.com/a/uUptE

@Marko-HR commented on GitHub (Sep 23, 2016): Looks like status is not working. I'm not using Adguard DNS and it's showing me "You are using "Default" Adguard DNS configuration You are using "Family protection" Adguard DNS configuration You are not currently using Adguard DNS". http://imgur.com/a/uUptE
Author
Owner

@ameshkov commented on GitHub (Sep 28, 2016):

@nkartyshov now it works on the ru side and does not work on en side.

Also I guess in @Marko321 case it could work that way because of dns cache.
To fix it you should use random subdomains instead.

Something like this:

$(function() {
    $.ajax({
        url: 'https://' + Math.floor(Math.random() * 100000) + '.dnscheck-default.adguard.com/',
        method: 'GET',
        timeout: 3000,
        success: setDnsMode
    });
    $.ajax({
        url: 'https://' + Math.floor(Math.random() * 100000) + '.dnscheck-parental.adguard.com/',
        method: 'GET',
        timeout: 3000,
        success: setDnsMode
    });
});

function setDnsMode(mode) {
    var dnsCheck = $('.dns-check');
    $(dnsCheck).find('.fa').removeClass('fa-times').addClass('fa-check');
    $(dnsCheck).find('.text').hide();
    if (mode == 'default') {
        $(dnsCheck).find('#default-mode').show();
    }
    if (mode == 'family') {
        $(dnsCheck).find('#family-mode').show();
    }
}
@ameshkov commented on GitHub (Sep 28, 2016): @nkartyshov now it works on the ru side and does not work on en side. Also I guess in @Marko321 case it could work that way because of dns cache. To fix it you should use random subdomains instead. Something like this: ``` $(function() { $.ajax({ url: 'https://' + Math.floor(Math.random() * 100000) + '.dnscheck-default.adguard.com/', method: 'GET', timeout: 3000, success: setDnsMode }); $.ajax({ url: 'https://' + Math.floor(Math.random() * 100000) + '.dnscheck-parental.adguard.com/', method: 'GET', timeout: 3000, success: setDnsMode }); }); function setDnsMode(mode) { var dnsCheck = $('.dns-check'); $(dnsCheck).find('.fa').removeClass('fa-times').addClass('fa-check'); $(dnsCheck).find('.text').hide(); if (mode == 'default') { $(dnsCheck).find('#default-mode').show(); } if (mode == 'family') { $(dnsCheck).find('#family-mode').show(); } } ```
Author
Owner

@nkartyshov commented on GitHub (Sep 29, 2016):

@Marko321 I fixed the problem. Please, check.

@nkartyshov commented on GitHub (Sep 29, 2016): @Marko321 I fixed the problem. Please, check.
Author
Owner

@Marko-HR commented on GitHub (Sep 30, 2016):

@nkartyshov Works perfect now. :)

@Marko-HR commented on GitHub (Sep 30, 2016): @nkartyshov Works perfect now. :)
Author
Owner

@nkartyshov commented on GitHub (Oct 3, 2016):

done

@nkartyshov commented on GitHub (Oct 3, 2016): done
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#25
No description provided.