Missing hosts file

Cruncher-American
Cruncher-American
Joined: 24 Mar 05
Posts: 70
Credit: 4,529,116,062
RAC: 2,958,312
Topic 230351

I seem to have lost the hosts file for einstein@home. This is on a win10 system (my B550-EWin10). This happened just this morning, and the only hosts files that I can find on my machine are dated 2015 and 2019, long before I  switched over from Seti. So I  am not sure what  ip addresses and sys names to use. Could someone please respond with the text of theirs so that I can copy yours to my system? Is that doable?

On the win10 system, the hosts file is in some form of binary, as opposed to on my win 7 system, where it is in clear text (with no uncomment entries in the file). What does this mean?

Thanks,

Jon

mikey
mikey
Joined: 22 Jan 05
Posts: 11,922
Credit: 1,831,149,946
RAC: 206,618

Cruncher-American wrote: I

Cruncher-American wrote:

I seem to have lost the hosts file for einstein@home. This is on a win10 system (my B550-EWin10). This happened just this morning, and the only hosts files that I can find on my machine are dated 2015 and 2019, long before I  switched over from Seti. So I  am not sure what  ip addresses and sys names to use. Could someone please respond with the text of theirs so that I can copy yours to my system? Is that doable?

On the win10 system, the hosts file is in some form of binary, as opposed to on my win 7 system, where it is in clear text (with no uncomment entries in the file). What does this mean?

Thanks,

Jon 

Where on your pc is it supposed to be? I find some "...hosts.exe" files but they are in the Windows directory not the Boinc directories

Scrooge McDuck
Scrooge McDuck
Joined: 2 May 07
Posts: 828
Credit: 16,085,375
RAC: 6,774

I don't know why you need

I don't know why you need some hosts file specific for einstein@home. Hosts files are used to e.g. manually configure local DNS names for local IP addresses or names for public IP adresses which have no DNS entry.

This is from my old Win 7 machine, from: C:\windows\system32\drivers\etc\hosts   It's empty.

 

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host
 
# localhost name resolution is handled within DNS itself.
#      127.0.0.1        localhost
#      ::1              localhost
Mike Hewson
Mike Hewson
Moderator
Joined: 1 Dec 05
Posts: 6,537
Credit: 285,926,419
RAC: 103,380

I have exactly the same file

I have exactly the same file ( dated 2019 ) on my Windows 10 machine, and from the same directory. I think the clue is in the comment :

# localhost name resolution is handled within DNS itself.

... so maybe this is some retro/superceded/fallback feature ie. a capability used in the early days of the internet, typically not relevant anymore. It's essentially domain_name<->IP_address resolution before there were DNS servers. A little research reveals :

"However, if you already know the IP address for a URL, you can add the details to the host file and your PC will use it without consulting a DNS server or the cache"

and

"Why Should You Edit the Hosts File?

The hosts file is edited for several reasons, but you typically want to do so for one of two uses.

First, the hosts file is handy if your DNS server is not working efficiently. If your DNS server is working slowly, you can insert the IP address and domain name in the hosts file to speed up the searching process (if you know all the details).

Conversely, you can use the hosts tile to block a PC from accessing a website. Since the hosts file is the first port of call for a PC, you can enter an invalid address for the targeted site to stop your PC from accessing it."

Cheers, Mike.

I have made this letter longer than usual because I lack the time to make it shorter ...

... and my other CPU is a Ryzen 5950X :-) Blaise Pascal

mikey
mikey
Joined: 22 Jan 05
Posts: 11,922
Credit: 1,831,149,946
RAC: 206,618

Mike Hewson wrote: I have

Mike Hewson wrote:

I have exactly the same file ( dated 2019 ) on my Windows 10 machine, and from the same directory. I think the clue is in the comment :

# localhost name resolution is handled within DNS itself.

... so maybe this is some retro/superceded/fallback feature ie. a capability used in the early days of the internet, typically not relevant anymore. It's essentially domain_name<->IP_address resolution before there were DNS servers. A little research reveals :

"However, if you already know the IP address for a URL, you can add the details to the host file and your PC will use it without consulting a DNS server or the cache"

and

"Why Should You Edit the Hosts File?

The hosts file is edited for several reasons, but you typically want to do so for one of two uses.

First, the hosts file is handy if your DNS server is not working efficiently. If your DNS server is working slowly, you can insert the IP address and domain name in the hosts file to speed up the searching process (if you know all the details).

Conversely, you can use the hosts tile to block a PC from accessing a website. Since the hosts file is the first port of call for a PC, you can enter an invalid address for the targeted site to stop your PC from accessing it."

Cheers, Mike.

Now that I know where to look I have one too and it's exactly the same as yours is and I have Wind 11 Home

I changed all my pc to use CloudFlare as my DNS provider but was using Google in the past, CloudFlare is supposed to be a bit faster and doesn't track as much but not being one of those guys that can test all that I don't really know. Here is a short list of some free DNS Servers:

PROVIDER PRIMARY DNS SECONDARY DNS
Google 8.8.8.8 8.8.4.4
Control D 76.76.2.0 76.76.10.0
Quad9 9.9.9.9 149.112.112.112
OpenDNS Home 208.67.222.222

208.67.220.220

 

CloudFlare           1.1.1.1                    1.0.0.1

Cruncher-American
Cruncher-American
Joined: 24 Mar 05
Posts: 70
Credit: 4,529,116,062
RAC: 2,958,312

WELL, IF i reboot my machine,

WELL, IF i reboot my machine, things seem ok for a few minutes and I recover all the data that was locked in to my machine. But then the same thing recurs, and I get (from BOINC  Event Log):

 

11/14/2023 5:23:43 PM |  | Starting BOINC client version 7.24.1 for windows_x86_64
11/14/2023 5:23:43 PM |  | log flags: file_xfer, sched_ops, task
11/14/2023 5:23:43 PM |  | Libraries: libcurl/8.2.1-DEV Schannel zlib/1.2.13
11/14/2023 5:23:43 PM |  | Data directory: C:\ProgramData\BOINC
11/14/2023 5:23:43 PM |  | Running under account Max
11/14/2023 5:23:44 PM |  | CUDA: NVIDIA GPU 0: NVIDIA GeForce RTX 2080 Ti (driver version 536.23, CUDA version 12.2, compute capability 7.5, 11264MB, 11264MB available, 13448 GFLOPS peak)
11/14/2023 5:23:44 PM |  | CUDA: NVIDIA GPU 1: NVIDIA GeForce RTX 2080 (driver version 536.23, CUDA version 12.2, compute capability 7.5, 8192MB, 8192MB available, 10510 GFLOPS peak)
11/14/2023 5:23:44 PM |  | OpenCL: NVIDIA GPU 0: NVIDIA GeForce RTX 2080 Ti (driver version 536.23, device version OpenCL 3.0 CUDA, 11264MB, 11264MB available, 13448 GFLOPS peak)
11/14/2023 5:23:44 PM |  | OpenCL: NVIDIA GPU 1: NVIDIA GeForce RTX 2080 (driver version 536.23, device version OpenCL 3.0 CUDA, 8192MB, 8192MB available, 10510 GFLOPS peak)
11/14/2023 5:23:44 PM |  | Windows processor group 0: 24 processors
11/14/2023 5:23:44 PM |  | Host name: B550-EWin10
11/14/2023 5:23:44 PM |  | Processor: 24 AuthenticAMD AMD Ryzen 9 3900XT 12-Core Processor [Family 23 Model 113 Stepping 0]
11/14/2023 5:23:44 PM |  | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni ssse3 fma cx16 sse4_1 sse4_2 movebe popcnt aes f16c rdrandsyscall nx lm avx avx2 svm sse4a osvw ibs skinit wdt tce topx page1gb rdtscp fsgsbase bmi1 smep bmi2
11/14/2023 5:23:44 PM |  | OS: Microsoft Windows 10: Professional x64 Edition, (10.00.19045.00)
11/14/2023 5:23:44 PM |  | Memory: 31.91 GB physical, 36.66 GB virtual
11/14/2023 5:23:44 PM |  | Disk: 464.76 GB total, 401.16 GB free
11/14/2023 5:23:44 PM |  | Local time is UTC -5 hours
11/14/2023 5:23:44 PM |  | No WSL found.
11/14/2023 5:23:44 PM | Einstein@Home | General prefs: from Einstein@Home (last modified ---)
11/14/2023 5:23:44 PM | Einstein@Home | Computer location: home
11/14/2023 5:23:44 PM |  | General prefs: using separate prefs for home
11/14/2023 5:23:44 PM |  | Reading preferences override file
11/14/2023 5:23:44 PM |  | Preferences:
11/14/2023 5:23:44 PM |  | -  When computer is in use
11/14/2023 5:23:44 PM |  | -     'In use' means mouse/keyboard input in last 3.00 minutes
11/14/2023 5:23:44 PM |  | -     max CPUs used: 24
11/14/2023 5:23:44 PM |  | -     Use at most 100% of the CPU time
11/14/2023 5:23:44 PM |  | -     suspend if non-BOINC CPU load exceeds 25%
11/14/2023 5:23:44 PM |  | -     max memory usage: 15.95 GB
11/14/2023 5:23:44 PM |  | -  When computer is not in use
11/14/2023 5:23:44 PM |  | -     max CPUs used: 24
11/14/2023 5:23:44 PM |  | -     Use at most 100% of the CPU time
11/14/2023 5:23:44 PM |  | -     suspend if non-BOINC CPU load exceeds 50%
11/14/2023 5:23:44 PM |  | -     max memory usage: 28.72 GB
11/14/2023 5:23:44 PM |  | -  Suspend if running on batteries
11/14/2023 5:23:44 PM |  | -  Store at least 0.25 days of work
11/14/2023 5:23:44 PM |  | -  Store up to an additional 0.25 days of work
11/14/2023 5:23:44 PM |  | -  max disk usage: 100.00 GB
11/14/2023 5:23:44 PM |  | -  (to change preferences, visit a project web site or select Preferences in the Manager)
11/14/2023 5:23:44 PM |  | Setting up project and slot directories
11/14/2023 5:23:44 PM |  | Checking active tasks
11/14/2023 5:23:44 PM | Einstein@Home | URL https://einstein.phys.uwm.edu/; Computer ID 13157010; resource share 100
11/14/2023 5:23:44 PM |  | Setting up GUI RPC socket
11/14/2023 5:23:44 PM |  | Checking presence of 277 project files
11/14/2023 5:23:44 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_147_1950000_1_0
11/14/2023 5:23:44 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_124_9000000_2_0
11/14/2023 5:23:44 PM | Einstein@Home | Started download of Ter5_1_dns_cfbf00000_segment_8_dms_200_25.binary
11/14/2023 5:23:45 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_147_1950000_1_0 (4116 bytes)
11/14/2023 5:23:45 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_124_9000000_2_0 (4075 bytes)
11/14/2023 5:23:45 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_147_300000_0_0
11/14/2023 5:23:45 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_7250000_0_0
11/14/2023 5:23:46 PM | Einstein@Home | Finished download of Ter5_1_dns_cfbf00000_segment_8_dms_200_25.binary (9458527 bytes)
11/14/2023 5:23:46 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_147_300000_0_0 (4173 bytes)
11/14/2023 5:23:46 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_7250000_0_0 (4084 bytes)
11/14/2023 5:23:46 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_8700000_1_0
11/14/2023 5:23:46 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_9850000_0_0
11/14/2023 5:23:47 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_8700000_1_0 (3965 bytes)
11/14/2023 5:23:47 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_9850000_0_0 (4162 bytes)
11/14/2023 5:23:47 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_130_2350000_2_0
11/14/2023 5:23:47 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_8400000_0_0
11/14/2023 5:23:48 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_130_2350000_2_0 (3896 bytes)
11/14/2023 5:23:48 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_8400000_0_0 (4063 bytes)
11/14/2023 5:23:48 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_6450000_0_0
11/14/2023 5:23:48 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_137_9400000_0_0
11/14/2023 5:23:49 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_146_6450000_0_0 (4068 bytes)
11/14/2023 5:23:49 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_137_9400000_0_0 (4164 bytes)
11/14/2023 5:23:49 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_137_7600000_1_0
11/14/2023 5:23:49 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_129_6250000_1_0
11/14/2023 5:23:50 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_137_7600000_1_0 (4125 bytes)
11/14/2023 5:23:50 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_129_6250000_1_0 (4073 bytes)
11/14/2023 5:23:54 PM | Einstein@Home | Sending scheduler request: To fetch work.
11/14/2023 5:23:54 PM | Einstein@Home | Reporting 12 completed tasks
11/14/2023 5:23:54 PM | Einstein@Home | Requesting new tasks for CPU and NVIDIA GPU
11/14/2023 5:23:56 PM | Einstein@Home | Scheduler request completed: got 1 new tasks
11/14/2023 5:23:56 PM | Einstein@Home | Project requested delay of 60 seconds
11/14/2023 5:23:56 PM | Einstein@Home | General prefs: from Einstein@Home (last modified ---)
11/14/2023 5:23:56 PM | Einstein@Home | Computer location: home
11/14/2023 5:23:56 PM |  | General prefs: using separate prefs for home
11/14/2023 5:23:56 PM |  | Reading preferences override file
11/14/2023 5:23:56 PM |  | Preferences:
11/14/2023 5:23:56 PM |  | -  When computer is in use
11/14/2023 5:23:56 PM |  | -     'In use' means mouse/keyboard input in last 3.00 minutes
11/14/2023 5:23:56 PM |  | -     max CPUs used: 24
11/14/2023 5:23:56 PM |  | -     Use at most 100% of the CPU time
11/14/2023 5:23:56 PM |  | -     suspend if non-BOINC CPU load exceeds 25%
11/14/2023 5:23:56 PM |  | -     max memory usage: 15.95 GB
11/14/2023 5:23:56 PM |  | -  When computer is not in use
11/14/2023 5:23:56 PM |  | -     max CPUs used: 24
11/14/2023 5:23:56 PM |  | -     Use at most 100% of the CPU time
11/14/2023 5:23:56 PM |  | -     suspend if non-BOINC CPU load exceeds 50%
11/14/2023 5:23:56 PM |  | -     max memory usage: 28.72 GB
11/14/2023 5:23:56 PM |  | -  Suspend if running on batteries
11/14/2023 5:23:56 PM |  | -  Store at least 0.25 days of work
11/14/2023 5:23:56 PM |  | -  Store up to an additional 0.25 days of work
11/14/2023 5:23:56 PM |  | -  max disk usage: 100.00 GB
11/14/2023 5:23:56 PM |  | -  (to change preferences, visit a project web site or select Preferences in the Manager)
11/14/2023 5:23:58 PM | Einstein@Home | Started download of Ter5_1_dns_cfbf00000_segment_8_dms_200_87.binary
11/14/2023 5:24:00 PM | Einstein@Home | Finished download of Ter5_1_dns_cfbf00000_segment_8_dms_200_87.binary (9459661 bytes)
11/14/2023 5:24:15 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_167_4550000_0_0
11/14/2023 5:24:17 PM | Einstein@Home | Finished upload of Ter5_1_dns_cfbf00000_segment_7_dms_200_40000_167_4550000_0_0 (4029 bytes)
11/14/2023 5:25:30 PM | Einstein@Home | Computation for task Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_194_5700000_1 finished
11/14/2023 5:25:30 PM | Einstein@Home | Starting task Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_137_7650000_0
11/14/2023 5:25:32 PM | Einstein@Home | Started upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_194_5700000_1_0
11/14/2023 5:26:07 PM | Einstein@Home | Temporarily failed upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_194_5700000_1_0: can't resolve hostname
11/14/2023 5:26:07 PM | Einstein@Home | Backing off 00:02:39 on upload of Ter5_1_dns_cfbf00000_segment_8_dms_200_40000_194_5700000_1_0
11/14/2023 5:26:08 PM |  | Project communication failed: attempting access to reference site
11/14/2023 5:26:09 PM |  | BOINC can't access Internet - check network connection or proxy configuration.

 

and that last is BOINC-only, as my browsers still work OK. Why is it just BOINC that decides it needs a HOSTS file?

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3,700
Credit: 34,354,236,994
RAC: 38,121,529

this is likely a DNS

this is likely a DNS problem.

are you running something like PiHole at your house? are you running some other DNS setup on your network? what DNS are you using?

_________________________________________________________________________

Cruncher-American
Cruncher-American
Joined: 24 Mar 05
Posts: 70
Credit: 4,529,116,062
RAC: 2,958,312

How could it be a DNS

How could it be a DNS problem? Wouldn't that happen for all internet accesses on that machine?  I looked in "View Hardware and Connection Properties" and it shows 192.168.1.1 (my router) If it matters, it is an Orbi RBR50, it is wifi access, and nothing else on any of my machines seems to have a problem with it?????

Ian&Steve C.
Ian&Steve C.
Joined: 19 Jan 20
Posts: 3,700
Credit: 34,354,236,994
RAC: 38,121,529

you have to go down the

you have to go down the chain.

what DNS is your router using? have you configured anything like port blocking on the router? are you using a proxy or anything in BOINC?

_________________________________________________________________________

mikey
mikey
Joined: 22 Jan 05
Posts: 11,922
Credit: 1,831,149,946
RAC: 206,618

Cruncher-American wrote: How

Cruncher-American wrote:

How could it be a DNS problem? Wouldn't that happen for all internet accesses on that machine?  I looked in "View Hardware and Connection Properties" and it shows 192.168.1.1 (my router) If it matters, it is an Orbi RBR50, it is wifi access, and nothing else on any of my machines seems to have a problem with it????? 

My logs are similar to that except mine seems to use World community Grid unless I keep clicking update and it finally switches over to the Project I'm trying to connect to, my problem is the lousy connection from my internet provider, they fix it one day and everything is lightning fast and then the next day it's back to the slow speed it was the day before and my logs show essentially the same things your does. I finally get angry enough to call Tech Support at my internet provider they fix it and boom I'm back to lightning fast again. apparently someone keeps undoing whatever the 'fix' is and I suffer because of it. And YES I get the exact same "can't resolve host name" thing all the time inbetween 'fixes'. My pc constantly says 'connection try timed out' so somewhere there's a timer that tells my browser to stop trying because the connection isn't available, but if I click to retry a few times it works again. I use Cloudflare as my DNS provider instead of my internet providers site as theirs is REALLY REALLY slow.

Cruncher-American
Cruncher-American
Joined: 24 Mar 05
Posts: 70
Credit: 4,529,116,062
RAC: 2,958,312

1. I don't know what DNS

1. I don't know what DNS my provider (Astound/RCN) gives me. I will call tech support tomorrow to see what they say.

2. No port blocking by me.

3. No proxy either.

Maybe this is a win 10 problem, because all my 10 or so previous BOINC machines were win 7? If so, where should I look? 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.