New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS Client High Cpu Usage #710

Closed
norage opened this Issue Jul 8, 2018 · 9 comments

Comments

Projects
None yet
4 participants
@norage

norage commented Jul 8, 2018

Hello!

I've seen people with similar issues with connectivity when using this huge hosts file. I just switched over to winhelp2002 mvps file from this one and for some reason, DNS Client didn't react to it. I no longer have these 10-30s delays when connecting to the net or switching on/off VPN. Could it be due to the file size? Hosts.mvps is (today) 465KB while "StevenBlacks" is 2038KB (depending on which one you choose).

@welcome

This comment has been minimized.

Show comment
Hide comment
@welcome

welcome bot Jul 8, 2018

Hello! Thank you for opening your first issue in this repo. It’s people like you who make these host files better!

welcome bot commented Jul 8, 2018

Hello! Thank you for opening your first issue in this repo. It’s people like you who make these host files better!

@funilrys

This comment has been minimized.

Show comment
Hide comment
@funilrys

funilrys Jul 8, 2018

Contributor

Also #411 #695

Contributor

funilrys commented Jul 8, 2018

Also #411 #695

@funilrys

This comment has been minimized.

Show comment
Hide comment
@funilrys

funilrys Jul 8, 2018

Contributor

If we are talking about file size you can also see #459 (--compress ==> cf.)

Contributor

funilrys commented Jul 8, 2018

If we are talking about file size you can also see #459 (--compress ==> cf.)

@Laicure

This comment has been minimized.

Show comment
Hide comment
@Laicure

Laicure Jul 8, 2018

Contributor
  • If you want to stick with vanilla settings with no 3rd-party app installations, keep your hosts file, at least, below 1MB (or 34k domain lines and below).
  • If you want to go blocking more with only the hosts file with no 3rd-party app installations, disable your DNSCache, there is no other way! (or just compress though I haven't tried using a compressed hosts file)

First case: Tested on a Win10PC at work. I tried doing a 100k+ domains with DNSCache on, PC hanged for 5mins+ before being usable (can't connect properly to work's domain so it hanged so much).

Second case: DNSCache disabled, no problems with how many domains on the hosts file. No lags/delays, no regrets.
And no, I didn't to use any third-party apps in-parallel with the hosts file. I just don't want to, keeping vanilla as possible.

Contributor

Laicure commented Jul 8, 2018

  • If you want to stick with vanilla settings with no 3rd-party app installations, keep your hosts file, at least, below 1MB (or 34k domain lines and below).
  • If you want to go blocking more with only the hosts file with no 3rd-party app installations, disable your DNSCache, there is no other way! (or just compress though I haven't tried using a compressed hosts file)

First case: Tested on a Win10PC at work. I tried doing a 100k+ domains with DNSCache on, PC hanged for 5mins+ before being usable (can't connect properly to work's domain so it hanged so much).

Second case: DNSCache disabled, no problems with how many domains on the hosts file. No lags/delays, no regrets.
And no, I didn't to use any third-party apps in-parallel with the hosts file. I just don't want to, keeping vanilla as possible.

@Laicure

This comment has been minimized.

Show comment
Hide comment
@Laicure

Laicure Jul 8, 2018

Contributor

Yes, that win10 thing is really pissing me off so I just stopped updating the hosts file at work.

(using win8.1pro at home, hosts file works well)

Off topic:
oh those are cool!

But on my case, as an average power-user.
I only have my laptop, android phones, and my not-so-customizable router-modem at home, I am not able to setup those kinds (you know, no server thingy).

Though I am really interested setting up one ('cause it's damn tedious setting up all the hosts file on each device, rooted and non-rooted), thanks for the links, unbound looks easy to setup ;)

Contributor

Laicure commented Jul 8, 2018

Yes, that win10 thing is really pissing me off so I just stopped updating the hosts file at work.

(using win8.1pro at home, hosts file works well)

Off topic:
oh those are cool!

But on my case, as an average power-user.
I only have my laptop, android phones, and my not-so-customizable router-modem at home, I am not able to setup those kinds (you know, no server thingy).

Though I am really interested setting up one ('cause it's damn tedious setting up all the hosts file on each device, rooted and non-rooted), thanks for the links, unbound looks easy to setup ;)

@StevenBlack

This comment has been minimized.

Show comment
Hide comment
@StevenBlack

StevenBlack Jul 8, 2018

Owner

Thank you, everyone, for the excellent community response to this issue.

Some really cool people are watching this repo. I'm thankful for that!

I'd like to echo @CHEF-KOCH when he recommends Pi-Hole. Pi-Hole is a great project and a great reason for everybody to get into Raspberry Pi devices more generally.

Owner

StevenBlack commented Jul 8, 2018

Thank you, everyone, for the excellent community response to this issue.

Some really cool people are watching this repo. I'm thankful for that!

I'd like to echo @CHEF-KOCH when he recommends Pi-Hole. Pi-Hole is a great project and a great reason for everybody to get into Raspberry Pi devices more generally.

@StevenBlack

This comment has been minimized.

Show comment
Hide comment
@StevenBlack

StevenBlack Jul 8, 2018

Owner

Closing!

Owner

StevenBlack commented Jul 8, 2018

Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment